1 #ifndef L1GCTJETCOUNTS_H 2 #define L1GCTJETCOUNTS_H 52 bool empty()
const {
return false; }
61 unsigned count(
unsigned i)
const;
64 unsigned count00()
const {
return (MAX_TRUE_COUNTS<1 ? 0 :
count(0)); }
65 unsigned count01()
const {
return (MAX_TRUE_COUNTS<2 ? 0 :
count(1)); }
66 unsigned count02()
const {
return (MAX_TRUE_COUNTS<3 ? 0 :
count(2)); }
67 unsigned count03()
const {
return (MAX_TRUE_COUNTS<4 ? 0 :
count(3)); }
68 unsigned count04()
const {
return (MAX_TRUE_COUNTS<5 ? 0 :
count(4)); }
69 unsigned count05()
const {
return (MAX_TRUE_COUNTS<6 ? 0 :
count(5)); }
70 unsigned count06()
const {
return (MAX_TRUE_COUNTS<7 ? 0 :
count(6)); }
71 unsigned count07()
const {
return (MAX_TRUE_COUNTS<8 ? 0 :
count(7)); }
72 unsigned count08()
const {
return (MAX_TRUE_COUNTS<9 ? 0 :
count(8)); }
73 unsigned count09()
const {
return (MAX_TRUE_COUNTS<10 ? 0 :
count(9)); }
74 unsigned count10()
const {
return (MAX_TRUE_COUNTS<11 ? 0 :
count(10)); }
75 unsigned count11()
const {
return (MAX_TRUE_COUNTS<12 ? 0 :
count(11)); }
virtual ~L1GctJetCounts()
destructor
bool empty() const
empty method
static const unsigned MAX_TRUE_COUNTS
int operator==(const L1GctJetCounts &c) const
equality operator
int operator!=(const L1GctJetCounts &c) const
inequality operator
uint32_t raw1() const
get raw word 1
uint32_t raw0() const
get raw word 0
unsigned count(unsigned i) const
get count by index
std::string name() const
name method
static const unsigned MAX_TOTAL_COUNTS
unsigned count00() const
get individual counts (for use with FWLite)
std::ostream & operator<<(std::ostream &s, const L1GctJetCounts &c)
L1GctJetCounts()
default constructor
int16_t bx() const
get bunch-crossing index