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 | Private Attributes
HBHERecHit Class Reference

#include <HBHERecHit.h>

Inheritance diagram for HBHERecHit:
CaloRecHit

Public Types

typedef HcalDetId key_type
 

Public Member Functions

uint32_t auxHBHE () const
 
float eaux () const
 
float eraw () const
 
 HBHERecHit ()
 
 HBHERecHit (const HcalDetId &id, float amplitude, float timeRising, float timeFalling=0)
 
HcalDetId id () const
 get the id More...
 
void setAuxEnergy (const float en)
 
void setAuxHBHE (const uint32_t aux)
 
void setRawEnergy (const float en)
 
float timeFalling () const
 get the hit falling time More...
 
- Public Member Functions inherited from CaloRecHit
uint32_t aux () const
 
 CaloRecHit ()
 
 CaloRecHit (const DetId &id, float energy, float time, uint32_t flags=0, uint32_t aux=0)
 
const DetIddetid () const
 
float energy () const
 
uint32_t flagField (int base, int width=1) const
 
uint32_t flags () const
 
void setAux (uint32_t value)
 
void setEnergy (float energy)
 
void setFlagField (uint32_t value, int base, int width=1)
 
void setFlags (uint32_t flags)
 
float time () const
 

Private Attributes

float auxEnergy_
 
uint32_t auxHBHE_
 
float rawEnergy_
 
float timeFalling_
 

Detailed Description

Author
J. Mans - Minnesota

Definition at line 12 of file HBHERecHit.h.

Member Typedef Documentation

Definition at line 14 of file HBHERecHit.h.

Constructor & Destructor Documentation

HBHERecHit::HBHERecHit ( )

Definition at line 4 of file HBHERecHit.cc.

4  : CaloRecHit(), rawEnergy_(-1.0e21), auxEnergy_(-1.0e21) {
5 }
float auxEnergy_
Definition: HBHERecHit.h:37
float rawEnergy_
Definition: HBHERecHit.h:36
HBHERecHit::HBHERecHit ( const HcalDetId id,
float  amplitude,
float  timeRising,
float  timeFalling = 0 
)

Definition at line 7 of file HBHERecHit.cc.

7  :
8  CaloRecHit(id,energy,timeRising),
10  rawEnergy_(-1.0e21),
11  auxEnergy_(-1.0e21)
12 {
13 }
float auxEnergy_
Definition: HBHERecHit.h:37
float energy() const
Definition: CaloRecHit.h:17
float timeFalling_
Definition: HBHERecHit.h:35
float timeFalling() const
get the hit falling time
Definition: HBHERecHit.h:21
float rawEnergy_
Definition: HBHERecHit.h:36

Member Function Documentation

uint32_t HBHERecHit::auxHBHE ( ) const
inline

Definition at line 32 of file HBHERecHit.h.

References auxHBHE_.

32 {return auxHBHE_;}
uint32_t auxHBHE_
Definition: HBHERecHit.h:38
float HBHERecHit::eaux ( ) const
inline

Definition at line 29 of file HBHERecHit.h.

References auxEnergy_.

Referenced by operator<<().

29 {return auxEnergy_;}
float auxEnergy_
Definition: HBHERecHit.h:37
float HBHERecHit::eraw ( ) const
inline

Definition at line 26 of file HBHERecHit.h.

References rawEnergy_.

Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and operator<<().

26 {return rawEnergy_;}
float rawEnergy_
Definition: HBHERecHit.h:36
HcalDetId HBHERecHit::id ( ) const
inline
void HBHERecHit::setAuxEnergy ( const float  en)
inline

Definition at line 28 of file HBHERecHit.h.

References auxEnergy_.

28 {auxEnergy_ = en;}
float auxEnergy_
Definition: HBHERecHit.h:37
void HBHERecHit::setAuxHBHE ( const uint32_t  aux)
inline

Definition at line 31 of file HBHERecHit.h.

References CaloRecHit::aux(), and auxHBHE_.

31 { auxHBHE_ = aux;}
uint32_t aux() const
Definition: CaloRecHit.h:26
uint32_t auxHBHE_
Definition: HBHERecHit.h:38
void HBHERecHit::setRawEnergy ( const float  en)
inline

Definition at line 25 of file HBHERecHit.h.

References rawEnergy_.

25 {rawEnergy_ = en;}
float rawEnergy_
Definition: HBHERecHit.h:36
float HBHERecHit::timeFalling ( ) const
inline

get the hit falling time

Definition at line 21 of file HBHERecHit.h.

References timeFalling_.

Referenced by operator<<().

21 { return timeFalling_; }
float timeFalling_
Definition: HBHERecHit.h:35

Member Data Documentation

float HBHERecHit::auxEnergy_
private

Definition at line 37 of file HBHERecHit.h.

Referenced by eaux(), and setAuxEnergy().

uint32_t HBHERecHit::auxHBHE_
private

Definition at line 38 of file HBHERecHit.h.

Referenced by auxHBHE(), and setAuxHBHE().

float HBHERecHit::rawEnergy_
private

Definition at line 36 of file HBHERecHit.h.

Referenced by eraw(), and setRawEnergy().

float HBHERecHit::timeFalling_
private

Definition at line 35 of file HBHERecHit.h.

Referenced by timeFalling().