Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
DataFormats
HcalRecHit
src
HcalCalibRecHit.cc
Go to the documentation of this file.
1
#include "
DataFormats/HcalRecHit/interface/HcalCalibRecHit.h
"
2
3
HcalCalibRecHit::HcalCalibRecHit
() : id_(), amplitude_(0), time_(0) {}
4
5
HcalCalibRecHit::HcalCalibRecHit
(
const
HcalCalibDetId
&
id
,
float
ampl,
float
time)
6
: id_(id), amplitude_(ampl), time_(time) {}
7
8
std::ostream&
operator<<
(std::ostream&
s
,
const
HcalCalibRecHit
&
hit
) {
9
return
s << hit.
id
() <<
": "
<< hit.
amplitude
() <<
" , "
<< hit.
time
() <<
" ns"
;
10
}
HcalCalibRecHit::amplitude
float amplitude() const
get the amplitude (generally fC, but can vary)
Definition:
HcalCalibRecHit.h:17
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:167
HcalCalibRecHit::HcalCalibRecHit
HcalCalibRecHit()
Definition:
HcalCalibRecHit.cc:3
HcalCalibRecHit
Definition:
HcalCalibRecHit.h:10
HcalCalibDetId
Definition:
HcalCalibDetId.h:45
HcalCalibRecHit.h
alignCSCRings.s
list s
Definition:
alignCSCRings.py:92
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
HcalCalibRecHit::time
float time() const
get the hit time (if available)
Definition:
HcalCalibRecHit.h:19
HcalCalibRecHit::id
HcalCalibDetId id() const
get the id
Definition:
HcalCalibRecHit.h:21
Generated for CMSSW Reference Manual by
1.8.5