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 eraw () const
 
 HBHERecHit ()
 
 HBHERecHit (const HcalDetId &id, float amplitude, float timeRising, float timeFalling=0)
 
HcalDetId id () const
 get the id More...
 
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

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) {
5 }
float rawEnergy_
Definition: HBHERecHit.h:33
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 {
12 }
float energy() const
Definition: CaloRecHit.h:17
float timeFalling_
Definition: HBHERecHit.h:32
float timeFalling() const
get the hit falling time
Definition: HBHERecHit.h:21
float rawEnergy_
Definition: HBHERecHit.h:33

Member Function Documentation

uint32_t HBHERecHit::auxHBHE ( ) const
inline

Definition at line 29 of file HBHERecHit.h.

References auxHBHE_.

29 {return auxHBHE_;}
uint32_t auxHBHE_
Definition: HBHERecHit.h:34
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:33
HcalDetId HBHERecHit::id ( void  ) const
inline
void HBHERecHit::setAuxHBHE ( const uint32_t  aux)
inline

Definition at line 28 of file HBHERecHit.h.

References CaloRecHit::aux(), and auxHBHE_.

28 { auxHBHE_ = aux;}
uint32_t aux() const
Definition: CaloRecHit.h:26
uint32_t auxHBHE_
Definition: HBHERecHit.h:34
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:33
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:32

Member Data Documentation

uint32_t HBHERecHit::auxHBHE_
private

Definition at line 34 of file HBHERecHit.h.

Referenced by auxHBHE(), and setAuxHBHE().

float HBHERecHit::rawEnergy_
private

Definition at line 33 of file HBHERecHit.h.

Referenced by eraw(), and setRawEnergy().

float HBHERecHit::timeFalling_
private

Definition at line 32 of file HBHERecHit.h.

Referenced by timeFalling().