CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
HFRecHit Class Reference

#include <HFRecHit.h>

Inheritance diagram for HFRecHit:
CaloRecHit

Public Types

typedef HcalDetId key_type
 

Public Member Functions

uint32_t getAuxHF () const
 
 HFRecHit ()
 
 HFRecHit (const HcalDetId &id, float amplitude, float timeRising, float timeFalling=0)
 get the id More...
 
HcalDetId id () const
 
void setAuxHF (const uint32_t u)
 
float timeFalling () const
 
- 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)
 
void setTime (float time)
 
float time () const
 

Private Attributes

uint32_t auxHF_
 
float timeFalling_
 

Detailed Description

Author
J. Mans - Minnesota

Definition at line 12 of file HFRecHit.h.

Member Typedef Documentation

Definition at line 14 of file HFRecHit.h.

Constructor & Destructor Documentation

HFRecHit::HFRecHit ( )

Definition at line 4 of file HFRecHit.cc.

4  :
5  CaloRecHit(),
6  timeFalling_(0.f),
7  auxHF_(0)
8 {
9 }
double f[11][100]
uint32_t auxHF_
Definition: HFRecHit.h:31
float timeFalling_
Definition: HFRecHit.h:30
HFRecHit::HFRecHit ( const HcalDetId id,
float  amplitude,
float  timeRising,
float  timeFalling = 0 
)

get the id

Definition at line 11 of file HFRecHit.cc.

11  :
12  CaloRecHit(id,energy,timeRising),
14  auxHF_(0)
15 {
16 }
float timeFalling() const
Definition: HFRecHit.h:22
float energy() const
Definition: CaloRecHit.h:17
uint32_t auxHF_
Definition: HFRecHit.h:31
float timeFalling_
Definition: HFRecHit.h:30

Member Function Documentation

uint32_t HFRecHit::getAuxHF ( ) const
inline

Definition at line 26 of file HFRecHit.h.

References auxHF_.

26 {return auxHF_;}
uint32_t auxHF_
Definition: HFRecHit.h:31
HcalDetId HFRecHit::id ( ) const
inline
void HFRecHit::setAuxHF ( const uint32_t  u)
inline

Definition at line 25 of file HFRecHit.h.

References auxHF_.

Referenced by HFRecHitAuxSetter::setAux().

25 {auxHF_ = u;}
uint32_t auxHF_
Definition: HFRecHit.h:31
float HFRecHit::timeFalling ( ) const
inline

get the amplitude (generally fC, but can vary) get the hit time

Definition at line 22 of file HFRecHit.h.

References timeFalling_.

Referenced by operator<<().

22 { return timeFalling_; }
float timeFalling_
Definition: HFRecHit.h:30

Member Data Documentation

uint32_t HFRecHit::auxHF_
private

Definition at line 31 of file HFRecHit.h.

Referenced by getAuxHF(), and setAuxHF().

float HFRecHit::timeFalling_
private

Definition at line 30 of file HFRecHit.h.

Referenced by timeFalling().