1 #ifndef L1GCTJETCOUNTS_H 2 #define L1GCTJETCOUNTS_H 49 bool empty()
const {
return false; }
58 unsigned count(
unsigned i)
const;
61 unsigned count00()
const {
return (MAX_TRUE_COUNTS < 1 ? 0 :
count(0)); }
62 unsigned count01()
const {
return (MAX_TRUE_COUNTS < 2 ? 0 :
count(1)); }
63 unsigned count02()
const {
return (MAX_TRUE_COUNTS < 3 ? 0 :
count(2)); }
64 unsigned count03()
const {
return (MAX_TRUE_COUNTS < 4 ? 0 :
count(3)); }
65 unsigned count04()
const {
return (MAX_TRUE_COUNTS < 5 ? 0 :
count(4)); }
66 unsigned count05()
const {
return (MAX_TRUE_COUNTS < 6 ? 0 :
count(5)); }
67 unsigned count06()
const {
return (MAX_TRUE_COUNTS < 7 ? 0 :
count(6)); }
68 unsigned count07()
const {
return (MAX_TRUE_COUNTS < 8 ? 0 :
count(7)); }
69 unsigned count08()
const {
return (MAX_TRUE_COUNTS < 9 ? 0 :
count(8)); }
70 unsigned count09()
const {
return (MAX_TRUE_COUNTS < 10 ? 0 :
count(9)); }
71 unsigned count10()
const {
return (MAX_TRUE_COUNTS < 11 ? 0 :
count(10)); }
72 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