#include "DataFormats/L1GlobalCaloTrigger/interface/L1GctInternEtSum.h"
#include <stdint.h>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &s, const L1GctInternEtSum &c) |
Pretty-print operator for L1GctInternEtSum. |
std::ostream& operator<< | ( | std::ostream & | s, |
const L1GctInternEtSum & | c | ||
) |
Pretty-print operator for L1GctInternEtSum.
Definition at line 181 of file L1GctInternEtSum.cc.
References L1GctInternEtSum::bx(), L1GctInternEtSum::capBlock(), L1GctInternEtSum::capIndex(), L1GctInternEtSum::empty(), L1GctInternEtSum::et(), L1GctInternEtSum::jet_miss_et, L1GctInternEtSum::jet_tot_et, L1GctInternEtSum::jet_tot_ht, L1GctInternEtSum::miss_etx_or_ety, L1GctInternEtSum::oflow(), alignCSCRings::s, L1GctInternEtSum::total_et_or_ht, and L1GctInternEtSum::type().
{ s << "L1GctInternEtSum : "; if (c.type()==L1GctInternEtSum::jet_miss_et){ s << " type=jet_miss_et"; } else if (c.type()==L1GctInternEtSum::jet_tot_et){ s << " type=jet_tot_et"; } else if (c.type()==L1GctInternEtSum::jet_tot_ht){ s << " type=jet_tot_ht"; } else if (c.type()==L1GctInternEtSum::total_et_or_ht){ s << " type=total_et_or_ht"; } else if (c.type()==L1GctInternEtSum::miss_etx_or_ety){ s << " type=miss_etx_or_ety"; } if (c.empty()) { s << " empty!"; } else { s << " mag=" << c.et(); if (c.oflow()) { s << " overflow set"; } } s << " cap block=" << std::hex << c.capBlock(); s << " index=" << std::dec << c.capIndex(); s << " BX=" << c.bx(); return s; }