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

#include <HBHERecHit.h>

Inheritance diagram for HBHERecHit:
CaloRecHit

Public Types

typedef HcalDetId key_type
 

Public Member Functions

 HBHERecHit ()
 
 HBHERecHit (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

Date:
2013/03/27 17:57:44
Revision:
1.6
Author
J. Mans - Minnesota

Definition at line 14 of file HBHERecHit.h.

Member Typedef Documentation

Definition at line 16 of file HBHERecHit.h.

Constructor & Destructor Documentation

HBHERecHit::HBHERecHit ( )

Definition at line 4 of file HBHERecHit.cc.

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

get the id

Definition at line 7 of file HBHERecHit.cc.

7  :
8  CaloRecHit(id,energy,timeRising),
10 {
11 }
float energy() const
Definition: CaloRecHit.h:19
float timeFalling_
Definition: HBHERecHit.h:31
float timeFalling() const
Definition: HBHERecHit.h:24

Member Function Documentation

HcalDetId HBHERecHit::id ( void  ) const
inline
float HBHERecHit::timeFalling ( ) const
inline

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

Definition at line 24 of file HBHERecHit.h.

References timeFalling_.

Referenced by operator<<().

24 { return timeFalling_; }
float timeFalling_
Definition: HBHERecHit.h:31

Member Data Documentation

float HBHERecHit::timeFalling_
private

Definition at line 31 of file HBHERecHit.h.

Referenced by timeFalling().