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 en, float timeRising, float timeFalling=0)
 get the id More...
 
HcalDetId id () const
 
void setAuxHF (const uint32_t u)
 
void setTimeFalling (float timeFalling)
 
float timeFalling () const
 
- Public Member Functions inherited from CaloRecHit
constexpr uint32_t aux () const
 
constexpr CaloRecHit ()
 
constexpr CaloRecHit (const DetId &id, float energy, float time, uint32_t flags=0, uint32_t aux=0)
 
constexpr const DetIddetid () const
 
constexpr float energy () const
 
constexpr uint32_t flagField (int base, int width=1) const
 
constexpr uint32_t flags () const
 
constexpr void setAux (uint32_t value)
 
constexpr void setEnergy (float energy)
 
constexpr void setFlagField (uint32_t value, int base, int width=1)
 
constexpr void setFlags (uint32_t flags)
 
constexpr void setTime (float time)
 
constexpr 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 ( )
inline

Definition at line 16 of file HFRecHit.h.

17  : CaloRecHit(), timeFalling_(0.f), auxHF_(0)
18  {}
constexpr CaloRecHit()
Definition: CaloRecHit.h:26
double f[11][100]
uint32_t auxHF_
Definition: HFRecHit.h:39
float timeFalling_
Definition: HFRecHit.h:38
HFRecHit::HFRecHit ( const HcalDetId id,
float  en,
float  timeRising,
float  timeFalling = 0 
)
inline

get the id

Definition at line 22 of file HFRecHit.h.

24  : CaloRecHit(id,en,timeRising), timeFalling_(timeFalling), auxHF_(0)
25  {}
constexpr CaloRecHit()
Definition: CaloRecHit.h:26
float timeFalling() const
Definition: HFRecHit.h:29
uint32_t auxHF_
Definition: HFRecHit.h:39
float timeFalling_
Definition: HFRecHit.h:38

Member Function Documentation

uint32_t HFRecHit::getAuxHF ( ) const
inline

Definition at line 34 of file HFRecHit.h.

References auxHF_.

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

Definition at line 33 of file HFRecHit.h.

References auxHF_.

Referenced by HFRecHitAuxSetter::setAux().

33 {auxHF_ = u;}
uint32_t auxHF_
Definition: HFRecHit.h:39
void HFRecHit::setTimeFalling ( float  timeFalling)
inline

Definition at line 30 of file HFRecHit.h.

References timeFalling(), and timeFalling_.

float timeFalling() const
Definition: HFRecHit.h:29
float timeFalling_
Definition: HFRecHit.h:38
float HFRecHit::timeFalling ( ) const
inline

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

Definition at line 29 of file HFRecHit.h.

References timeFalling_.

Referenced by operator<<(), and setTimeFalling().

29 { return timeFalling_; }
float timeFalling_
Definition: HFRecHit.h:38

Member Data Documentation

uint32_t HFRecHit::auxHF_
private

Definition at line 39 of file HFRecHit.h.

Referenced by getAuxHF(), and setAuxHF().

float HFRecHit::timeFalling_
private

Definition at line 38 of file HFRecHit.h.

Referenced by setTimeFalling(), and timeFalling().