Main Page
Namespaces
Classes
Package Documentation
DataFormats
HcalRecHit
src
ZDCRecHit.cc
Go to the documentation of this file.
1
#include "
DataFormats/HcalRecHit/interface/ZDCRecHit.h
"
2
3
ZDCRecHit::ZDCRecHit
() :
CaloRecHit
(), lowGainEnergy_() {}
4
5
ZDCRecHit::ZDCRecHit
(
const
HcalZDCDetId
&
id
,
float
energy
,
float
time
,
float
lowGainEnergy
)
6
:
CaloRecHit
(id, energy, time),
lowGainEnergy_
(lowGainEnergy) {}
7
8
std::ostream&
operator<<
(std::ostream&
s
,
const
ZDCRecHit
&
hit
) {
9
return
s << hit.
id
() <<
": "
<< hit.
energy
() <<
" GeV, "
<< hit.
time
() <<
" ns"
;
10
}
CaloRecHit::energy
constexpr float energy() const
Definition:
CaloRecHit.h:29
ZDCRecHit::lowGainEnergy_
float lowGainEnergy_
Definition:
ZDCRecHit.h:20
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
ZDCRecHit::ZDCRecHit
ZDCRecHit()
Definition:
ZDCRecHit.cc:3
CaloRecHit
Definition:
CaloRecHit.h:23
HcalZDCDetId
Definition:
HcalZDCDetId.h:16
CaloRecHit::time
constexpr float time() const
Definition:
CaloRecHit.h:31
ZDCRecHit::lowGainEnergy
float lowGainEnergy() const
Definition:
ZDCRecHit.h:20
ZDCRecHit.h
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
ZDCRecHit::id
HcalZDCDetId id() const
get the id
Definition:
ZDCRecHit.h:18
ZDCRecHit
Definition:
ZDCRecHit.h:11
operator<<
std::ostream & operator<<(std::ostream &s, const ZDCRecHit &hit)
Definition:
ZDCRecHit.cc:8
Generated for CMSSW Reference Manual by
1.8.11