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) {}

◆ 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) {}

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.

17 { return amplitude_; }

References amplitude_.

Referenced by HcalQLPlotAnalAlgos::processDigi().

◆ id()

HcalCalibDetId HcalCalibRecHit::id ( ) const
inline

get the id

Definition at line 21 of file HcalCalibRecHit.h.

21 { return id_; }

References id_.

◆ time()

float HcalCalibRecHit::time ( ) const
inline

get the hit time (if available)

Definition at line 19 of file HcalCalibRecHit.h.

19 { return time_; }

References time_.

Referenced by HcalQLPlotAnalAlgos::processDigi().

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

HcalCalibRecHit::time
float time() const
get the hit time (if available)
Definition: HcalCalibRecHit.h:19
HcalCalibRecHit::amplitude_
float amplitude_
Definition: HcalCalibRecHit.h:25
HcalCalibRecHit::time_
float time_
Definition: HcalCalibRecHit.h:25
HcalCalibRecHit::id_
HcalCalibDetId id_
Definition: HcalCalibRecHit.h:24