CMS 3D CMS Logo

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

#include <ZDCRecHit.h>

Inheritance diagram for ZDCRecHit:
CaloRecHit

Public Types

typedef HcalZDCDetId key_type
 

Public Member Functions

HcalZDCDetId id () const
 get the id More...
 
float lowGainEnergy () const
 
 ZDCRecHit ()
 
 ZDCRecHit (const HcalZDCDetId &id, float energy, float time, float lowGainEnergy)
 
- 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

float lowGainEnergy_
 

Detailed Description

Author
J. Mans - Minnesota

Definition at line 11 of file ZDCRecHit.h.

Member Typedef Documentation

◆ key_type

Definition at line 13 of file ZDCRecHit.h.

Constructor & Destructor Documentation

◆ ZDCRecHit() [1/2]

ZDCRecHit::ZDCRecHit ( )

Definition at line 3 of file ZDCRecHit.cc.

float lowGainEnergy_
Definition: ZDCRecHit.h:20
constexpr CaloRecHit()
Definition: CaloRecHit.h:25

◆ ZDCRecHit() [2/2]

ZDCRecHit::ZDCRecHit ( const HcalZDCDetId id,
float  energy,
float  time,
float  lowGainEnergy 
)

Definition at line 5 of file ZDCRecHit.cc.

float lowGainEnergy_
Definition: ZDCRecHit.h:20
constexpr CaloRecHit()
Definition: CaloRecHit.h:25
constexpr float energy() const
Definition: CaloRecHit.h:29
float lowGainEnergy() const
Definition: ZDCRecHit.h:20
constexpr float time() const
Definition: CaloRecHit.h:31

Member Function Documentation

◆ id()

HcalZDCDetId ZDCRecHit::id ( ) const
inline

get the id

Definition at line 18 of file ZDCRecHit.h.

References CaloRecHit::detid().

Referenced by reco::CentralityProducer::produce().

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

◆ lowGainEnergy()

float ZDCRecHit::lowGainEnergy ( ) const
inline

Definition at line 20 of file ZDCRecHit.h.

Referenced by reco::CentralityProducer::produce().

20 { return lowGainEnergy_; };
float lowGainEnergy_
Definition: ZDCRecHit.h:20

Member Data Documentation

◆ lowGainEnergy_

float ZDCRecHit::lowGainEnergy_
private

Definition at line 20 of file ZDCRecHit.h.