#include "DataFormats/L1GlobalCaloTrigger/interface/L1GctInternHFData.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &s, const L1GctInternHFData &cand) |
std::ostream& operator<< | ( | std::ostream & | s, |
const L1GctInternHFData & | cand | ||
) |
Definition at line 109 of file L1GctInternHFData.cc.
References L1GctInternHFData::bx(), L1GctInternHFData::capBlock(), L1GctInternHFData::capIndex(), L1GctInternHFData::conc_hf_bit_counts, L1GctInternHFData::conc_hf_ring_et_sums, L1GctInternHFData::count(), L1GctInternHFData::empty(), L1GctInternHFData::et(), alignCSCRings::s, L1GctInternHFData::type(), L1GctInternHFData::wheel_hf_bit_counts, and L1GctInternHFData::wheel_hf_ring_et_sums.
{ s << "L1GctInternHFData :"; if (cand.empty()) { s << " empty"; } else { if (cand.type()==L1GctInternHFData::conc_hf_ring_et_sums){ s << " type=conc_hf_ring_et_sums"; s << " ring1 eta+=" << cand.et(0); s << " ring1 eta-=" << cand.et(1); s << " ring2 eta+=" << cand.et(2); s << " ring2 eta-=" << cand.et(3); } else if (cand.type()==L1GctInternHFData::conc_hf_bit_counts){ s << " type=conc_hf_bit_counts"; s << " ring1 eta+=" << cand.count(0); s << " ring1 eta-=" << cand.count(1); s << " ring2 eta+=" << cand.count(2); s << " ring2 eta-=" << cand.count(3); } else if (cand.type()==L1GctInternHFData::wheel_hf_ring_et_sums){ s << " type=conc_hf_ring_et_sums"; s << " Et sum=" << cand.et(0); } else if (cand.type()==L1GctInternHFData::wheel_hf_bit_counts){ s << " type=wheel_hf_bit_counts"; s << " Bit count=" << cand.et(0); } } s << std::endl; s << std::hex << " cap block=" << cand.capBlock() << std::dec << " index=" << cand.capIndex() << " BX=" << cand.bx(); return s; }