CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
HORecHit Class Reference

#include <HORecHit.h>

Inheritance diagram for HORecHit:
CaloRecHit

Public Types

typedef HcalDetId key_type
 

Public Member Functions

constexpr HORecHit ()
 
constexpr HORecHit (const HcalDetId &id, float energy, float time)
 
constexpr HcalDetId id () const
 get the id More...
 
- 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
 

Detailed Description

Author
J. Mans - Minnesota

Definition at line 11 of file HORecHit.h.

Member Typedef Documentation

◆ key_type

Definition at line 13 of file HORecHit.h.

Constructor & Destructor Documentation

◆ HORecHit() [1/2]

constexpr HORecHit::HORecHit ( )
inlineconstexpr

Definition at line 15 of file HORecHit.h.

15 : CaloRecHit() {}

◆ HORecHit() [2/2]

constexpr HORecHit::HORecHit ( const HcalDetId id,
float  energy,
float  time 
)
inlineconstexpr

Definition at line 17 of file HORecHit.h.

17 : CaloRecHit(id, energy, time) {}

Member Function Documentation

◆ id()

constexpr HcalDetId HORecHit::id ( ) const
inlineconstexpr

get the id

Definition at line 19 of file HORecHit.h.

19 { return HcalDetId(detid()); }

References CaloRecHit::detid().

Referenced by AlCaHOCalibProducer::fillHOStore().

CaloRecHit::energy
constexpr float energy() const
Definition: CaloRecHit.h:29
CaloRecHit::detid
constexpr const DetId & detid() const
Definition: CaloRecHit.h:33
CaloRecHit::CaloRecHit
constexpr CaloRecHit()
Definition: CaloRecHit.h:25
CaloRecHit::time
constexpr float time() const
Definition: CaloRecHit.h:31
HcalDetId
Definition: HcalDetId.h:12