/[PAMELA software]/PamelaLevel2/src/PamLevel2.cpp
ViewVC logotype

Diff of /PamelaLevel2/src/PamLevel2.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.43 by pam-fi, Fri Aug 17 16:57:12 2007 UTC revision 1.44 by mocchiut, Mon Sep 3 09:16:48 2007 UTC
# Line 889  void PamLevel2::SortTracks(){ Line 889  void PamLevel2::SortTracks(){
889            // --- modified to count tdc signals (more efficient?)            // --- modified to count tdc signals (more efficient?)
890            // --- and to implement check on tdcflag            // --- and to implement check on tdcflag
891            for (Int_t ih=0; ih < op->npmttdc; ih++){            for (Int_t ih=0; ih < op->npmttdc; ih++){
892              Int_t pl = tof_obj->GetPlaneIndex( (op->pmttdc).At(ih) );              //      Int_t pl = tof_obj->GetPlaneIndex( (op->pmttdc).At(ih) );
893  //          if( (op->tdcflag).At(ih)==0 && (pl == 1 || pl == 2 || pl == 5) )nphit_p++;  //          if( (op->tdcflag).At(ih)==0 && (pl == 1 || pl == 2 || pl == 5) )nphit_p++;
894              if( (op->tdcflag).At(ih)==0 )nphit_p++;              if( (op->tdcflag).At(ih)==0 )nphit_p++;
895            };            };
896                                    
897            for (Int_t ih=0; ih < oi->npmttdc; ih++){            for (Int_t ih=0; ih < oi->npmttdc; ih++){
898              Int_t pl = tof_obj->GetPlaneIndex( (oi->pmttdc).At(ih) );              //      Int_t pl = tof_obj->GetPlaneIndex( (oi->pmttdc).At(ih) );
899  //          if( (oi->tdcflag).At(ih)==0 && (pl == 1 || pl == 2 || pl == 5) )nphit_i++;    //          if( (oi->tdcflag).At(ih)==0 && (pl == 1 || pl == 2 || pl == 5) )nphit_i++;  
900              if( (oi->tdcflag).At(ih)==0 )nphit_i++;                  if( (oi->tdcflag).At(ih)==0 )nphit_i++;    
901            };            };
# Line 1980  Bool_t PamLevel2::UpdateRunInfo(TChain * Line 1980  Bool_t PamLevel2::UpdateRunInfo(TChain *
1980             !(abstime >= GetRunInfo()->RUNHEADER_TIME &&             !(abstime >= GetRunInfo()->RUNHEADER_TIME &&
1981               abstime <= GetRunInfo()->RUNTRAILER_TIME)               abstime <= GetRunInfo()->RUNTRAILER_TIME)
1982            ) {            ) {
1983            printf(" Something very wrong here: cannot find RUN containing absolute time %u \n",abstime);          printf(" Something very wrong here: cannot find RUN containing absolute time %llu \n",abstime);
1984            return false;            return false;
1985        }        }
1986        //        //

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

  ViewVC Help
Powered by ViewVC 1.1.23