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
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...
 
 ZDCRecHit ()
 
 ZDCRecHit (const HcalZDCDetId &id, float energy, float time)
 
- 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 setFlagField (uint32_t value, int base, int width=1)
 
void setFlags (uint32_t flags)
 
float time () const
 
virtual ~CaloRecHit ()
 

Detailed Description

Date:
2005/10/04 20:33:53
Revision:
1.4
Author
J. Mans - Minnesota

Definition at line 14 of file ZDCRecHit.h.

Member Typedef Documentation

Definition at line 16 of file ZDCRecHit.h.

Constructor & Destructor Documentation

ZDCRecHit::ZDCRecHit ( )

Definition at line 4 of file ZDCRecHit.cc.

4  : CaloRecHit() {
5 }
ZDCRecHit::ZDCRecHit ( const HcalZDCDetId id,
float  energy,
float  time 
)

Definition at line 7 of file ZDCRecHit.cc.

7  :
9 }
float time() const
Definition: CaloRecHit.h:20
float energy() const
Definition: CaloRecHit.h:19

Member Function Documentation

HcalZDCDetId ZDCRecHit::id ( void  ) const
inline

get the id

Definition at line 21 of file ZDCRecHit.h.

References CaloRecHit::detid().

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

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