CMS 3D CMS Logo

ZDCRecHit.h
Go to the documentation of this file.
1 #ifndef DATAFORMATS_HCALRECHIT_ZDCRECHIT_H
2 #define DATAFORMATS_HCALRECHIT_ZDCRECHIT_H 1
3 
6 
11 class ZDCRecHit : public CaloRecHit {
12 public:
14 
15  ZDCRecHit();
16  ZDCRecHit(const HcalZDCDetId& id, float energy, float time, float lowGainEnergy);
18  HcalZDCDetId id() const { return HcalZDCDetId(detid()); }
19  // follow EcalRecHit method of adding variable flagBits_ to CaloRecHit
20  float lowGainEnergy() const { return lowGainEnergy_; };
21 
22 private:
23  float lowGainEnergy_;
24 };
25 
26 std::ostream& operator<<(std::ostream& s, const ZDCRecHit& hit);
27 
28 #endif
operator<<
std::ostream & operator<<(std::ostream &s, const ZDCRecHit &hit)
Definition: ZDCRecHit.cc:8
CaloRecHit::energy
constexpr float energy() const
Definition: CaloRecHit.h:29
ZDCRecHit::ZDCRecHit
ZDCRecHit()
Definition: ZDCRecHit.cc:3
CaloRecHit
Definition: CaloRecHit.h:23
HcalZDCDetId.h
CaloRecHit::detid
constexpr const DetId & detid() const
Definition: CaloRecHit.h:33
CaloRecHit.h
HcalZDCDetId
Definition: HcalZDCDetId.h:16
alignCSCRings.s
s
Definition: alignCSCRings.py:92
ZDCRecHit::lowGainEnergy_
float lowGainEnergy_
Definition: ZDCRecHit.h:20
ZDCRecHit::key_type
HcalZDCDetId key_type
Definition: ZDCRecHit.h:13
CaloRecHit::time
constexpr float time() const
Definition: CaloRecHit.h:31
ZDCRecHit::id
HcalZDCDetId id() const
get the id
Definition: ZDCRecHit.h:18
ZDCRecHit
Definition: ZDCRecHit.h:11
ZDCRecHit::lowGainEnergy
float lowGainEnergy() const
Definition: ZDCRecHit.h:20
hit
Definition: SiStripHitEffFromCalibTree.cc:88