573 |
// |
// |
574 |
s4->Clear(); |
s4->Clear(); |
575 |
l0S4->GetEntry(re); |
l0S4->GetEntry(re); |
576 |
if (l0s4e->unpackError == 1) continue; |
if (l0s4e->unpackError == 0){ |
577 |
s4->S4adc = l0s4e->S4_DATA; |
s4->S4adc = l0s4e->S4_DATA; |
578 |
// |
// |
579 |
if ((l0s4e->S4_DATA) > 31 ){ |
if ((l0s4e->S4_DATA) > 31 ){ |
580 |
s4->S4calibrated = ParamFit0*((l0s4e->S4_DATA)-32)+ParamFit1; |
s4->S4calibrated = ParamFit0*((l0s4e->S4_DATA)-32)+ParamFit1; |
581 |
}else{ |
}else{ |
582 |
s4->S4calibrated = 0; |
s4->S4calibrated = 0; |
583 |
} |
} |
584 |
|
}; |
585 |
// |
// |
586 |
S4tr->Fill(); |
S4tr->Fill(); |
587 |
// |
// |