16 uint32_t rawChi2 = 0x7F & (
flags() >> 4);
17 return (
float)rawChi2 / (
float)((1 << 7) - 1) * 64.
f;
21 uint32_t rawChi2Prob = 0x7F & (
flags() >> 24);
22 return (
float)rawChi2Prob / (
float)((1 << 7) - 1) * 64.
f;
26 uint32_t rawEnergy = (0x1FFF &
flags() >> 11);
28 uint16_t significand = ~(0xE << 9) & rawEnergy;
37 uint32_t rawChi2 = lround(
chi2 / 64.
f * ((1 << 7) - 1));
47 uint32_t rawEnergy =
exponent << 10 | significand;
49 setFlags((~(0x1FFF << 11) &
flags()) | ((rawEnergy & 0x1FFF) << 11));
58 uint32_t rawChi2 = lround(
chi2 / 64.
f * ((1 << 7) - 1));
60 setFlags((~(0x7F << 24) &
flags()) | ((rawChi2 & 0x7F) << 24));
65 if (sOverNoise > 32.
f)
98 for (std::vector<int>::const_iterator flagPtr = flagsvec.begin(); flagPtr != flagsvec.end();
112 return s <<
HcalDetId(
hit.detid()) <<
": " <<
hit.energy() <<
" GeV, " <<
hit.time() <<
" ns";
120 return s <<
"HGCRecHit undefined subdetector";