#include <L1HFRings.h>
Public Types | |
enum | HFRingLabels { kRing1PosEta, kRing1NegEta, kRing2PosEta, kRing2NegEta, kNumRings } |
Public Member Functions | |
int | bx () const |
const L1GctHFBitCounts * | gctHFBitCounts () const |
const edm::Ref < L1GctHFBitCountsCollection > & | gctHFBitCountsRef () const |
const L1GctHFRingEtSums * | gctHFEtSums () const |
const edm::Ref < L1GctHFRingEtSumsCollection > & | gctHFEtSumsRef () const |
int | hfBitCount (HFRingLabels i) const |
double | hfEtSum (HFRingLabels i) const |
L1HFRings (const double *hfEtSums, const int *hfBitCounts, const edm::Ref< L1GctHFRingEtSumsCollection > &aHFEtSumsRef=edm::Ref< L1GctHFRingEtSumsCollection >(), const edm::Ref< L1GctHFBitCountsCollection > &aHFBitCountsRef=edm::Ref< L1GctHFBitCountsCollection >(), int bx=0) | |
L1HFRings () | |
virtual | ~L1HFRings () |
Private Attributes | |
edm::Ref < L1GctHFBitCountsCollection > | m_bitCountsRef |
int | m_bx |
edm::Ref < L1GctHFRingEtSumsCollection > | m_etSumsRef |
int | m_ringBitCounts [kNumRings] |
double | m_ringEtSums [kNumRings] |
Definition at line 32 of file L1HFRings.h.
Definition at line 36 of file L1HFRings.h.
L1HFRings::L1HFRings | ( | ) |
Definition at line 32 of file L1HFRings.cc.
{ }
L1HFRings::L1HFRings | ( | const double * | hfEtSums, |
const int * | hfBitCounts, | ||
const edm::Ref< L1GctHFRingEtSumsCollection > & | aHFEtSumsRef = edm::Ref< L1GctHFRingEtSumsCollection >() , |
||
const edm::Ref< L1GctHFBitCountsCollection > & | aHFBitCountsRef = edm::Ref< L1GctHFBitCountsCollection >() , |
||
int | bx = 0 |
||
) |
Definition at line 36 of file L1HFRings.cc.
References i, kNumRings, m_ringBitCounts, and m_ringEtSums.
: m_etSumsRef( aHFEtSumsRef ), m_bitCountsRef( aHFBitCountsRef ), m_bx( bx ) { for( int i = 0 ; i < kNumRings ; ++i ) { m_ringEtSums[ i ] = hfEtSums[ i ] ; m_ringBitCounts[ i ] = hfBitCounts[ i ] ; } }
L1HFRings::~L1HFRings | ( | ) | [virtual] |
Definition at line 58 of file L1HFRings.cc.
{ }
int l1extra::L1HFRings::bx | ( | ) | const [inline] |
const L1GctHFBitCounts* l1extra::L1HFRings::gctHFBitCounts | ( | ) | const [inline] |
Definition at line 65 of file L1HFRings.h.
References edm::Ref< C, T, F >::get(), and m_bitCountsRef.
{ return m_bitCountsRef.get() ; }
const edm::Ref< L1GctHFBitCountsCollection >& l1extra::L1HFRings::gctHFBitCountsRef | ( | ) | const [inline] |
const L1GctHFRingEtSums* l1extra::L1HFRings::gctHFEtSums | ( | ) | const [inline] |
Definition at line 63 of file L1HFRings.h.
References edm::Ref< C, T, F >::get(), and m_etSumsRef.
{ return m_etSumsRef.get() ; }
const edm::Ref< L1GctHFRingEtSumsCollection >& l1extra::L1HFRings::gctHFEtSumsRef | ( | ) | const [inline] |
int l1extra::L1HFRings::hfBitCount | ( | HFRingLabels | i | ) | const [inline] |
Definition at line 55 of file L1HFRings.h.
References i, and m_ringBitCounts.
{ return m_ringBitCounts [ i ] ; }
double l1extra::L1HFRings::hfEtSum | ( | HFRingLabels | i | ) | const [inline] |
Definition at line 53 of file L1HFRings.h.
References i, and m_ringEtSums.
{ return m_ringEtSums[ i ] ; }
Definition at line 84 of file L1HFRings.h.
Referenced by gctHFBitCounts(), and gctHFBitCountsRef().
int l1extra::L1HFRings::m_bx [private] |
Definition at line 86 of file L1HFRings.h.
Referenced by bx().
Definition at line 83 of file L1HFRings.h.
Referenced by gctHFEtSums(), and gctHFEtSumsRef().
int l1extra::L1HFRings::m_ringBitCounts[kNumRings] [private] |
Definition at line 81 of file L1HFRings.h.
Referenced by hfBitCount(), and L1HFRings().
double l1extra::L1HFRings::m_ringEtSums[kNumRings] [private] |
Definition at line 80 of file L1HFRings.h.
Referenced by hfEtSum(), and L1HFRings().