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
HORecHit Class Reference

#include <HORecHit.h>

Inheritance diagram for HORecHit:
CaloRecHit

Public Types

typedef HcalDetId key_type
 

Public Member Functions

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

Detailed Description

Author
J. Mans - Minnesota

Definition at line 12 of file HORecHit.h.

Member Typedef Documentation

Definition at line 14 of file HORecHit.h.

Constructor & Destructor Documentation

HORecHit::HORecHit ( )

Definition at line 4 of file HORecHit.cc.

4  : CaloRecHit() {
5 }
HORecHit::HORecHit ( const HcalDetId id,
float  energy,
float  time 
)

Definition at line 7 of file HORecHit.cc.

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

Member Function Documentation

HcalDetId HORecHit::id ( ) const
inline

get the id

Definition at line 19 of file HORecHit.h.

References CaloRecHit::detid().

Referenced by RecHitTask::_process(), AlCaHOCalibProducer::fillHOStore(), and operator<<().

19 { return HcalDetId(detid()); }
const DetId & detid() const
Definition: CaloRecHit.h:20