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.

◆ ZDCRecHit() [2/2]

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

Definition at line 5 of file ZDCRecHit.cc.

Member Function Documentation

◆ id()

HcalZDCDetId ZDCRecHit::id ( ) const
inline

get the id

Definition at line 18 of file ZDCRecHit.h.

18 { return HcalZDCDetId(detid()); }

References CaloRecHit::detid().

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

◆ lowGainEnergy()

float ZDCRecHit::lowGainEnergy ( ) const
inline

Definition at line 20 of file ZDCRecHit.h.

20 { return lowGainEnergy_; };

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

Member Data Documentation

◆ lowGainEnergy_

float ZDCRecHit::lowGainEnergy_
private

Definition at line 20 of file ZDCRecHit.h.

CaloRecHit::energy
constexpr float energy() const
Definition: CaloRecHit.h:29
CaloRecHit::detid
constexpr const DetId & detid() const
Definition: CaloRecHit.h:33
HcalZDCDetId
Definition: HcalZDCDetId.h:16
ZDCRecHit::lowGainEnergy_
float lowGainEnergy_
Definition: ZDCRecHit.h:20
CaloRecHit::CaloRecHit
constexpr CaloRecHit()
Definition: CaloRecHit.h:25
CaloRecHit::time
constexpr float time() const
Definition: CaloRecHit.h:31
ZDCRecHit::lowGainEnergy
float lowGainEnergy() const
Definition: ZDCRecHit.h:20