CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes
L1GctJetFinderBase::hfTowerSumsType Struct Reference

#include <L1GctJetFinderBase.h>

Public Types

enum  numberOfBits { kHfEtSumBits = 8, kHfCountBits = 5 }
 

Public Member Functions

 hfTowerSumsType ()
 
 hfTowerSumsType (unsigned e0, unsigned e1, unsigned n0, unsigned n1)
 
 hfTowerSumsType (L1GctJetCount< kHfEtSumBits > e0, L1GctJetCount< kHfEtSumBits > e1, L1GctJetCount< kHfCountBits > n0, L1GctJetCount< kHfCountBits > n1)
 
hfTowerSumsType operator+ (const hfTowerSumsType &rhs) const
 
void reset ()
 

Public Attributes

L1GctJetCount< kHfEtSumBitsetSum0
 
L1GctJetCount< kHfEtSumBitsetSum1
 
L1GctJetCount< kHfCountBitsnOverThreshold0
 
L1GctJetCount< kHfCountBitsnOverThreshold1
 

Detailed Description

Definition at line 77 of file L1GctJetFinderBase.h.

Member Enumeration Documentation

Enumerator
kHfEtSumBits 
kHfCountBits 

Definition at line 79 of file L1GctJetFinderBase.h.

Constructor & Destructor Documentation

L1GctJetFinderBase::hfTowerSumsType::hfTowerSumsType ( )
inline

Definition at line 90 of file L1GctJetFinderBase.h.

90 : etSum0(0), etSum1(0), nOverThreshold0(0), nOverThreshold1(0) {}
L1GctJetCount< kHfEtSumBits > etSum0
L1GctJetCount< kHfCountBits > nOverThreshold1
L1GctJetCount< kHfEtSumBits > etSum1
L1GctJetCount< kHfCountBits > nOverThreshold0
L1GctJetFinderBase::hfTowerSumsType::hfTowerSumsType ( unsigned  e0,
unsigned  e1,
unsigned  n0,
unsigned  n1 
)
inline

Definition at line 91 of file L1GctJetFinderBase.h.

91  :
int n0
Definition: AMPTWrapper.h:34
L1GctJetCount< kHfEtSumBits > etSum0
L1GctJetCount< kHfCountBits > nOverThreshold1
L1GctJetCount< kHfEtSumBits > etSum1
L1GctJetCount< kHfCountBits > nOverThreshold0
L1GctJetFinderBase::hfTowerSumsType::hfTowerSumsType ( L1GctJetCount< kHfEtSumBits e0,
L1GctJetCount< kHfEtSumBits e1,
L1GctJetCount< kHfCountBits n0,
L1GctJetCount< kHfCountBits n1 
)
inline

Definition at line 93 of file L1GctJetFinderBase.h.

96  : etSum0(e0), etSum1(e1), nOverThreshold0(n0), nOverThreshold1(n1) {}
L1GctJetCount< kHfEtSumBits > etSum0
L1GctJetCount< kHfCountBits > nOverThreshold1
L1GctJetCount< kHfEtSumBits > etSum1
L1GctJetCount< kHfCountBits > nOverThreshold0

Member Function Documentation

hfTowerSumsType L1GctJetFinderBase::hfTowerSumsType::operator+ ( const hfTowerSumsType rhs) const
inline

Definition at line 100 of file L1GctJetFinderBase.h.

References etSum0, etSum1, nOverThreshold0, nOverThreshold1, and groupFilesInBlocks::temp.

100  {
101  hfTowerSumsType temp( (this->etSum0+rhs.etSum0),
102  (this->etSum1+rhs.etSum1),
103  (this->nOverThreshold0+rhs.nOverThreshold0),
104  (this->nOverThreshold1+rhs.nOverThreshold1) );
105  return temp;
106  }
L1GctJetCount< kHfEtSumBits > etSum0
void L1GctJetFinderBase::hfTowerSumsType::reset ( void  )
inline

Member Data Documentation

L1GctJetCount< kHfEtSumBits > L1GctJetFinderBase::hfTowerSumsType::etSum0

Definition at line 84 of file L1GctJetFinderBase.h.

Referenced by operator+(), operator<<(), L1GctGlobalHfSumAlgos::process(), and reset().

L1GctJetCount< kHfEtSumBits > L1GctJetFinderBase::hfTowerSumsType::etSum1

Definition at line 85 of file L1GctJetFinderBase.h.

Referenced by operator+(), operator<<(), L1GctGlobalHfSumAlgos::process(), and reset().

L1GctJetCount< kHfCountBits > L1GctJetFinderBase::hfTowerSumsType::nOverThreshold0

Definition at line 86 of file L1GctJetFinderBase.h.

Referenced by operator+(), operator<<(), L1GctGlobalHfSumAlgos::process(), and reset().

L1GctJetCount< kHfCountBits > L1GctJetFinderBase::hfTowerSumsType::nOverThreshold1

Definition at line 87 of file L1GctJetFinderBase.h.

Referenced by operator+(), operator<<(), L1GctGlobalHfSumAlgos::process(), and reset().