CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

HFRecHit Class Reference

#include <HFRecHit.h>

Inheritance diagram for HFRecHit:
CaloRecHit

List of all members.

Public Types

typedef HcalDetId key_type

Public Member Functions

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


Member Typedef Documentation

Definition at line 16 of file HFRecHit.h.


Constructor & Destructor Documentation

HFRecHit::HFRecHit ( )

Definition at line 4 of file HFRecHit.cc.

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

get the id

Definition at line 7 of file HFRecHit.cc.

                                                                                         :
  CaloRecHit(id,energy,timeRising),
  timeFalling_(timeFalling)
{
}

Member Function Documentation

HcalDetId HFRecHit::id ( void  ) const [inline]
float HFRecHit::timeFalling ( ) const [inline]

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

Definition at line 24 of file HFRecHit.h.

References timeFalling_.

Referenced by operator<<().

{ return timeFalling_; }

Member Data Documentation

float HFRecHit::timeFalling_ [private]

Definition at line 29 of file HFRecHit.h.

Referenced by timeFalling().