/[PAMELA software]/quicklook/tracker/flight/macros/FTrkQLook_EXPERT.cxx
ViewVC logotype

Diff of /quicklook/tracker/flight/macros/FTrkQLook_EXPERT.cxx

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

revision 1.12 by pam-fi, Fri Aug 11 10:24:09 2006 UTC revision 1.13 by pam-fi, Fri Aug 11 15:20:56 2006 UTC
# Line 145  void FTrkQLook_EXPERT(TString file,Int_t Line 145  void FTrkQLook_EXPERT(TString file,Int_t
145    // information about the RunHeader    // information about the RunHeader
146    ULong64_t HOBT[neventH];    ULong64_t HOBT[neventH];
147    Int_t trk_cal_us[neventH];    Int_t trk_cal_us[neventH];
148      Int_t countnboot=1;
149    for (Int_t vi=0; vi<neventH;vi++){    for (Int_t vi=0; vi<neventH;vi++){
150      HOBT[vi]=0;      HOBT[vi]=0;
151      trk_cal_us[vi]=0;      trk_cal_us[vi]=0;
# Line 154  void FTrkQLook_EXPERT(TString file,Int_t Line 155  void FTrkQLook_EXPERT(TString file,Int_t
155      pH = eH->GetPscuHeader();      pH = eH->GetPscuHeader();
156      HOBT[ev]= pH->GetOrbitalTime();      HOBT[ev]= pH->GetOrbitalTime();
157      trk_cal_us[ev]=reh->TRK_CALIB_USED;      trk_cal_us[ev]=reh->TRK_CALIB_USED;
158        if((HOBT[ev]<HOBT[ev-1]) && ev>0)
159          countnboot+=1;
160    }    }
161      countnboot+=2*(Int_t)nevent/MAXSTORAGE;
162      //   printf("\ncountnboot=%d\n",countnboot);
163      
164    
165    //    //
166    // other variables definitions    // other variables definitions
# Line 174  void FTrkQLook_EXPERT(TString file,Int_t Line 180  void FTrkQLook_EXPERT(TString file,Int_t
180    Int_t tempt[tsize][5];    Int_t tempt[tsize][5];
181    ULong64_t xt[tsize];    ULong64_t xt[tsize];
182    
183    Int_t countnboot=1;    Int_t cntpgtemp=1,cntpgdat=0,cntpgmag=0;
   Int_t cntpgtemp=0,cntpgdat=0,cntpgmag=0;  
184    //    //
185    // information about the temperatures    // information about the temperatures
186    for (Int_t ev=0; ev<tnevent; ev++){    for (Int_t ev=0; ev<tnevent; ev++){
# Line 185  void FTrkQLook_EXPERT(TString file,Int_t Line 190  void FTrkQLook_EXPERT(TString file,Int_t
190        record = (pamela::TsbTRecord*)event->Records->At(j);        record = (pamela::TsbTRecord*)event->Records->At(j);
191        xt[siztmp]=record->RECORD_OBT;        xt[siztmp]=record->RECORD_OBT;
192        if((xt[siztmp]<xt[siztmp-1]) && siztmp>0)        if((xt[siztmp]<xt[siztmp-1]) && siztmp>0)
193          countnboot+=1;          cntpgtemp+=1;
194                
195        for (Int_t z = 0; z < 5; z++){        for (Int_t z = 0; z < 5; z++){
196          tempt[siztmp][z] = record->TEMPERATURES[z+1];              tempt[siztmp][z] = record->TEMPERATURES[z+1];    
# Line 193  void FTrkQLook_EXPERT(TString file,Int_t Line 198  void FTrkQLook_EXPERT(TString file,Int_t
198        siztmp++;        siztmp++;
199      }      }
200    }    }
   cntpgtemp=countnboot;  
   countnboot+=2+(Int_t)nevent/MAXSTORAGE;  
   //   printf("\ncountnboot=%d\n",countnboot);  
201    
202    //    //
203    // information about the entries for the magnetic field    // information about the entries for the magnetic field

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.23