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

#include <HFRecHit.h>

Inheritance diagram for HFRecHit:
CaloRecHit

Public Types

typedef HcalDetId key_type
 

Public Member Functions

 HFRecHit ()
 
 HFRecHit (const HcalDetId &id, float amplitude, float timeRising, float timeFalling=0)
 get the id More...
 
HcalDetId id () const
 
float timeFalling () const
 
- 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 timeFalling_
 

Detailed Description

Author
J. Mans - Minnesota

Definition at line 12 of file HFRecHit.h.

Member Typedef Documentation

Definition at line 14 of file HFRecHit.h.

Constructor & Destructor Documentation

HFRecHit::HFRecHit ( )

Definition at line 4 of file HFRecHit.cc.

4  : CaloRecHit() {
5 }
HFRecHit::HFRecHit ( const HcalDetId id,
float  amplitude,
float  timeRising,
float  timeFalling = 0 
)

get the id

Definition at line 7 of file HFRecHit.cc.

7  :
8  CaloRecHit(id,energy,timeRising),
10 {
11 }
float timeFalling() const
Definition: HFRecHit.h:22
float energy() const
Definition: CaloRecHit.h:17
float timeFalling_
Definition: HFRecHit.h:27

Member Function Documentation

HcalDetId HFRecHit::id ( ) const
inline
float HFRecHit::timeFalling ( ) const
inline

get the amplitude (generally fC, but can vary) get the hit time

Definition at line 22 of file HFRecHit.h.

References timeFalling_.

Referenced by operator<<().

22 { return timeFalling_; }
float timeFalling_
Definition: HFRecHit.h:27

Member Data Documentation

float HFRecHit::timeFalling_
private

Definition at line 27 of file HFRecHit.h.

Referenced by timeFalling().