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 11 of file HFRecHit.h.

Member Typedef Documentation

Definition at line 13 of file HFRecHit.h.

Constructor & Destructor Documentation

HFRecHit::HFRecHit ( )
inline

Definition at line 15 of file HFRecHit.h.

15 : CaloRecHit(), timeFalling_(0.f), auxHF_(0) {}
constexpr CaloRecHit()
Definition: CaloRecHit.h:25
double f[11][100]
uint32_t auxHF_
Definition: HFRecHit.h:33
float timeFalling_
Definition: HFRecHit.h:32
HFRecHit::HFRecHit ( const HcalDetId id,
float  en,
float  timeRising,
float  timeFalling = 0 
)
inline

get the id

Definition at line 19 of file HFRecHit.h.

20  : CaloRecHit(id, en, timeRising), timeFalling_(timeFalling), auxHF_(0) {}
constexpr CaloRecHit()
Definition: CaloRecHit.h:25
float timeFalling() const
Definition: HFRecHit.h:24
uint32_t auxHF_
Definition: HFRecHit.h:33
float timeFalling_
Definition: HFRecHit.h:32

Member Function Documentation

uint32_t HFRecHit::getAuxHF ( ) const
inline

Definition at line 29 of file HFRecHit.h.

References auxHF_.

Referenced by HFFlexibleTimeCheck::reconstruct().

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

Definition at line 28 of file HFRecHit.h.

References auxHF_.

Referenced by HFRecHitAuxSetter::setAux().

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

Definition at line 25 of file HFRecHit.h.

References timeFalling(), and timeFalling_.

float timeFalling() const
Definition: HFRecHit.h:24
float timeFalling_
Definition: HFRecHit.h:32
float HFRecHit::timeFalling ( ) const
inline

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

Definition at line 24 of file HFRecHit.h.

References timeFalling_.

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

24 { return timeFalling_; }
float timeFalling_
Definition: HFRecHit.h:32

Member Data Documentation

uint32_t HFRecHit::auxHF_
private

Definition at line 33 of file HFRecHit.h.

Referenced by getAuxHF(), and setAuxHF().

float HFRecHit::timeFalling_
private

Definition at line 32 of file HFRecHit.h.

Referenced by setTimeFalling(), and timeFalling().