CMS 3D CMS Logo

ZDCRecHit.cc
Go to the documentation of this file.
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 }
hit::id
unsigned int id
Definition: SiStripHitEffFromCalibTree.cc:92
ZDCRecHit.h
operator<<
std::ostream & operator<<(std::ostream &s, const ZDCRecHit &hit)
Definition: ZDCRecHit.cc:8
protons_cff.time
time
Definition: protons_cff.py:35
ZDCRecHit::ZDCRecHit
ZDCRecHit()
Definition: ZDCRecHit.cc:3
CaloRecHit
Definition: CaloRecHit.h:23
HcalZDCDetId
Definition: HcalZDCDetId.h:16
alignCSCRings.s
s
Definition: alignCSCRings.py:92
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29
ZDCRecHit
Definition: ZDCRecHit.h:11
hit
Definition: SiStripHitEffFromCalibTree.cc:88