12 double risingTime = -999.;
13 double fallingTime = -999.;
17 for(
int i = 3;
i <
n; ++
i)
19 unsigned tdc = digi.
tdc(
i);
28 unsigned rising = tdc%100;
29 unsigned falling = tdc/100;
32 if(risingTime < -998. && rising != 62 && rising != 63) {
33 risingTime = rising*25./nbins + (
i-signalBX)*25.;
35 if(fallingTime < -998. && falling != 62 && falling != 63) {
36 fallingTime = falling*25./nbins + (
i-signalBX)*25.;
uint16_t tdc(int iSample=0) const
void reconstruct(const HcalUpgradeDataFrame &digi, HBHERecHit &recHit) const