| 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 |
}; |
}; |
| 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 |
// |
// |