src
DataFormats
HcalRecHit
src
ZDCRecHit.cc
Go to the documentation of this file.
1
#include "
DataFormats/HcalRecHit/interface/ZDCRecHit.h
"
2
3
ZDCRecHit::ZDCRecHit
()
4
:
CaloRecHit
(), lowGainEnergy_(), energySOIp1_(-99), ratioSOIp1_(-99), TDCtime_(-99), chargeWeightedTime_(-99) {}
5
6
ZDCRecHit::ZDCRecHit
(
const
HcalZDCDetId
&
id
,
float
energy
,
float
time
,
float
lowGainEnergy)
7
:
CaloRecHit
(
id
,
energy
,
time
),
8
lowGainEnergy_(lowGainEnergy),
9
energySOIp1_(-99),
10
ratioSOIp1_(-99),
11
TDCtime_(-99),
12
chargeWeightedTime_(-99) {}
13
14
std::ostream&
operator<<
(std::ostream&
s
,
const
ZDCRecHit
&
hit
) {
15
return
s
<<
hit
.
id
() <<
": "
<<
hit
.energy() <<
" GeV, "
<<
hit
.time() <<
" ns"
;
16
}
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
l1ctLayer2EG_cff.id
id
Definition:
l1ctLayer2EG_cff.py:86
ZDCRecHit::ZDCRecHit
ZDCRecHit()
Definition:
ZDCRecHit.cc:3
hcalRecHitTable_cff.time
time
Definition:
hcalRecHitTable_cff.py:14
hcalRecHitTable_cff.energy
energy
Definition:
hcalRecHitTable_cff.py:13
CaloRecHit
Definition:
CaloRecHit.h:23
HcalZDCDetId
Definition:
HcalZDCDetId.h:24
ZDCRecHit.h
hit::id
unsigned int id
Definition:
SiStripHitEffFromCalibTree.cc:91
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
ZDCRecHit
Definition:
ZDCRecHit.h:11
operator<<
std::ostream & operator<<(std::ostream &s, const ZDCRecHit &hit)
Definition:
ZDCRecHit.cc:14
Generated for CMSSW Reference Manual by
1.8.14