CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions
CastorRecHit Class Reference

#include <CastorRecHit.h>

Inheritance diagram for CastorRecHit:
CaloRecHit

Public Types

typedef HcalCastorDetId key_type
 

Public Member Functions

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

Detailed Description

Definition at line 7 of file CastorRecHit.h.

Member Typedef Documentation

Definition at line 9 of file CastorRecHit.h.

Constructor & Destructor Documentation

CastorRecHit::CastorRecHit ( )

Definition at line 3 of file CastorRecHit.cc.

3 : CaloRecHit() {}
constexpr CaloRecHit()
Definition: CaloRecHit.h:25
CastorRecHit::CastorRecHit ( const HcalCastorDetId id,
float  energy,
float  time 
)

Definition at line 5 of file CastorRecHit.cc.

5 : CaloRecHit(id, energy, time) {}
constexpr float energy() const
Definition: CaloRecHit.h:29
constexpr CaloRecHit()
Definition: CaloRecHit.h:25
constexpr float time() const
Definition: CaloRecHit.h:31

Member Function Documentation

HcalCastorDetId CastorRecHit::id ( ) const
inline

get the id

Definition at line 14 of file CastorRecHit.h.

References CaloRecHit::detid().

Referenced by operator<<(), CastorCellProducer::produce(), and RecHitCorrector::produce().

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