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

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

◆ key_type

Definition at line 13 of file HFRecHit.h.

Constructor & Destructor Documentation

◆ HFRecHit() [1/2]

constexpr 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() [2/2]

constexpr 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
constexpr float timeFalling() const
Definition: HFRecHit.h:24
uint32_t auxHF_
Definition: HFRecHit.h:33
float timeFalling_
Definition: HFRecHit.h:32

Member Function Documentation

◆ getAuxHF()

constexpr 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

◆ id()

constexpr HcalDetId HFRecHit::id ( ) const
inline

Definition at line 26 of file HFRecHit.h.

References CaloRecHit::detid().

Referenced by reco::CentralityProducer::produce(), HFPhase1Reconstructor::produce(), HFFlexibleTimeCheck::reconstruct(), and HFStripFilter::runFilter().

26 { return HcalDetId(detid()); }
constexpr const DetId & detid() const
Definition: CaloRecHit.h:33

◆ setAuxHF()

constexpr 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

◆ setTimeFalling()

constexpr void HFRecHit::setTimeFalling ( float  timeFalling)
inline

Definition at line 25 of file HFRecHit.h.

References timeFalling(), and timeFalling_.

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

◆ timeFalling()

constexpr 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 setTimeFalling().

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

Member Data Documentation

◆ auxHF_

uint32_t HFRecHit::auxHF_
private

Definition at line 33 of file HFRecHit.h.

Referenced by getAuxHF(), and setAuxHF().

◆ timeFalling_

float HFRecHit::timeFalling_
private

Definition at line 32 of file HFRecHit.h.

Referenced by setTimeFalling(), and timeFalling().