| 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; |
| 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 |
| 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++){ |
| 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]; |
| 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 |