| 623 |
// |
// |
| 624 |
// paranoid check |
// paranoid check |
| 625 |
// |
// |
| 626 |
if ( (atime > runinfo->RUNTRAILER_TIME) || (atime < runinfo->RUNHEADER_TIME) ) { |
if ( (atime > (runinfo->RUNTRAILER_TIME+1)) || (atime < (runinfo->RUNHEADER_TIME-1)) ) { |
| 627 |
if (verbose) printf(" OrbitalInfo - WARNING: event at time outside the run time window, skipping it\n"); |
if (verbose) printf(" OrbitalInfo - WARNING: event at time outside the run time window, skipping it\n"); |
| 628 |
jumped++; |
jumped++; |
| 629 |
// debug = true; |
// debug = true; |
| 1061 |
if ( debug ) printf(" mmm... mode %u standalone %i ntrk %i \n",orbitalinfo->mode,standalone,tof->ntrk()); |
if ( debug ) printf(" mmm... mode %u standalone %i ntrk %i \n",orbitalinfo->mode,standalone,tof->ntrk()); |
| 1062 |
}; |
}; |
| 1063 |
// |
// |
| 1064 |
|
} else { |
| 1065 |
|
if ( !standalone && tof->ntrk() > 0 ){ |
| 1066 |
|
// |
| 1067 |
|
Int_t nn = 0; |
| 1068 |
|
for(Int_t nt=0; nt < tof->ntrk(); nt++){ |
| 1069 |
|
// |
| 1070 |
|
ToFTrkVar *ptt = tof->GetToFTrkVar(nt); |
| 1071 |
|
if ( ptt->trkseqno != -1 ){ |
| 1072 |
|
// |
| 1073 |
|
t_orb->trkseqno = ptt->trkseqno; |
| 1074 |
|
// |
| 1075 |
|
t_orb->Eij = 0; |
| 1076 |
|
// |
| 1077 |
|
t_orb->Sij = 0; |
| 1078 |
|
// |
| 1079 |
|
t_orb->pitch = -1000.; |
| 1080 |
|
// |
| 1081 |
|
t_orb->cutoff = -1000.; |
| 1082 |
|
// |
| 1083 |
|
new(tor[nn]) OrbitalInfoTrkVar(*t_orb); |
| 1084 |
|
nn++; |
| 1085 |
|
// |
| 1086 |
|
t_orb->Clear(); |
| 1087 |
|
// |
| 1088 |
|
}; |
| 1089 |
|
// |
| 1090 |
|
}; |
| 1091 |
|
}; |
| 1092 |
}; |
}; |
| 1093 |
// |
// |
| 1094 |
// Fill the class |
// Fill the class |