CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
uint32_t aux () const
 
 CaloRecHit ()
 
 CaloRecHit (const DetId &id, float energy, float time, uint32_t flags=0, uint32_t aux=0)
 
const DetIddetid () const
 
float energy () const
 
uint32_t flagField (int base, int width=1) const
 
uint32_t flags () const
 
void setAux (uint32_t value)
 
void setEnergy (float energy)
 
void setFlagField (uint32_t value, int base, int width=1)
 
void setFlags (uint32_t flags)
 
float time () const
 

Private Attributes

float lowGainEnergy_
 

Detailed Description

Author
J. Mans - Minnesota

Definition at line 12 of file ZDCRecHit.h.

Member Typedef Documentation

Definition at line 14 of file ZDCRecHit.h.

Constructor & Destructor Documentation

ZDCRecHit::ZDCRecHit ( )

Definition at line 4 of file ZDCRecHit.cc.

5 }
float lowGainEnergy_
Definition: ZDCRecHit.h:21
ZDCRecHit::ZDCRecHit ( const HcalZDCDetId id,
float  energy,
float  time,
float  lowGainEnergy 
)

Definition at line 7 of file ZDCRecHit.cc.

7  :
10  {
11 }
float lowGainEnergy_
Definition: ZDCRecHit.h:21
float time() const
Definition: CaloRecHit.h:19
float energy() const
Definition: CaloRecHit.h:17
float lowGainEnergy() const
Definition: ZDCRecHit.h:21

Member Function Documentation

HcalZDCDetId ZDCRecHit::id ( void  ) const
inline

get the id

Definition at line 19 of file ZDCRecHit.h.

References CaloRecHit::detid().

Referenced by reco::CentralityProducer::filter(), and operator<<().

19 { return HcalZDCDetId(detid()); }
const DetId & detid() const
Definition: CaloRecHit.h:20
float ZDCRecHit::lowGainEnergy ( ) const
inline

Definition at line 21 of file ZDCRecHit.h.

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

Member Data Documentation

float ZDCRecHit::lowGainEnergy_
private

Definition at line 21 of file ZDCRecHit.h.