CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
HcalCalibRecHit Class Reference

#include <HcalCalibRecHit.h>

Public Types

typedef HcalCalibDetId key_type
 

Public Member Functions

float amplitude () const
 get the amplitude (generally fC, but can vary) More...
 
 HcalCalibRecHit ()
 
 HcalCalibRecHit (const HcalCalibDetId &id, float amplitude, float time)
 
HcalCalibDetId id () const
 get the id More...
 
float time () const
 get the hit time (if available) More...
 

Private Attributes

float amplitude_
 
HcalCalibDetId id_
 
float time_
 

Detailed Description

Author
J. Mans - Minnesota

Definition at line 10 of file HcalCalibRecHit.h.

Member Typedef Documentation

◆ key_type

Definition at line 12 of file HcalCalibRecHit.h.

Constructor & Destructor Documentation

◆ HcalCalibRecHit() [1/2]

HcalCalibRecHit::HcalCalibRecHit ( )

Definition at line 3 of file HcalCalibRecHit.cc.

3 : id_(), amplitude_(0), time_(0) {}
HcalCalibDetId id_

◆ HcalCalibRecHit() [2/2]

HcalCalibRecHit::HcalCalibRecHit ( const HcalCalibDetId id,
float  amplitude,
float  time 
)

Definition at line 5 of file HcalCalibRecHit.cc.

6  : id_(id), amplitude_(ampl), time_(time) {}
HcalCalibDetId id_
float time() const
get the hit time (if available)

Member Function Documentation

◆ amplitude()

float HcalCalibRecHit::amplitude ( ) const
inline

get the amplitude (generally fC, but can vary)

Definition at line 17 of file HcalCalibRecHit.h.

References amplitude_.

Referenced by HcalQLPlotAnalAlgos::processDigi().

17 { return amplitude_; }

◆ id()

HcalCalibDetId HcalCalibRecHit::id ( ) const
inline

get the id

Definition at line 21 of file HcalCalibRecHit.h.

References id_.

21 { return id_; }
HcalCalibDetId id_

◆ time()

float HcalCalibRecHit::time ( ) const
inline

get the hit time (if available)

Definition at line 19 of file HcalCalibRecHit.h.

References time_.

Referenced by HcalQLPlotAnalAlgos::processDigi().

19 { return time_; }

Member Data Documentation

◆ amplitude_

float HcalCalibRecHit::amplitude_
private

Definition at line 25 of file HcalCalibRecHit.h.

Referenced by amplitude().

◆ id_

HcalCalibDetId HcalCalibRecHit::id_
private

Definition at line 24 of file HcalCalibRecHit.h.

Referenced by id().

◆ time_

float HcalCalibRecHit::time_
private

Definition at line 25 of file HcalCalibRecHit.h.

Referenced by time().