23 const std::vector<l1t::CaloEmCand> & EMCands,
26 int sumBits[4] = {0,0,0,0};
28 for(std::vector<CaloRegion>::const_iterator
region = regions.begin();
region != regions.end();
region++) {
32 sumBits[1] +=
region->hwQual();
35 sumBits[3] +=
region->hwQual();
38 sumBits[2] +=
region->hwQual();
41 sumBits[0] +=
region->hwQual();
48 for(
int i = 0;
i < 4;
i++)
59 std::cout <<
"HF Bit Counts (HFMinimumBias)" << std::endl;
60 std::cout << bitset<12>(spare->
hwPt()).
to_string() << std::endl;
void SetRing(unsigned index, int value)
std::string to_string(const T &t)
Stage1Layer2HFMinimumBias(CaloParamsHelper *params)
virtual void processEvent(const std::vector< l1t::CaloRegion > ®ions, const std::vector< l1t::CaloEmCand > &EMCands, l1t::CaloSpare *spare)
virtual ~Stage1Layer2HFMinimumBias()