CMS 3D CMS Logo

HORecHit.h
Go to the documentation of this file.
1 #ifndef DATAFORMATS_HCALRECHIT_HORECHIT_H
2 #define DATAFORMATS_HCALRECHIT_HORECHIT_H 1
3 
6 
11 class HORecHit : public CaloRecHit {
12 public:
14 
15  constexpr HORecHit() : CaloRecHit() {}
16 
17  constexpr HORecHit(const HcalDetId& id, float energy, float time) : CaloRecHit(id, energy, time) {}
19  constexpr HcalDetId id() const { return HcalDetId(detid()); }
20 };
21 
22 std::ostream& operator<<(std::ostream& s, const HORecHit& hit);
23 
24 #endif
CaloRecHit::energy
constexpr float energy() const
Definition: CaloRecHit.h:29
HORecHit
Definition: HORecHit.h:11
CaloRecHit
Definition: CaloRecHit.h:23
CaloRecHit::detid
constexpr const DetId & detid() const
Definition: CaloRecHit.h:33
HORecHit::key_type
HcalDetId key_type
Definition: HORecHit.h:13
CaloRecHit.h
HORecHit::HORecHit
constexpr HORecHit(const HcalDetId &id, float energy, float time)
Definition: HORecHit.h:17
alignCSCRings.s
s
Definition: alignCSCRings.py:92
CaloRecHit::time
constexpr float time() const
Definition: CaloRecHit.h:31
HcalDetId.h
HcalDetId
Definition: HcalDetId.h:12
operator<<
std::ostream & operator<<(std::ostream &s, const HORecHit &hit)
Definition: HORecHit.cc:3
HORecHit::id
constexpr HcalDetId id() const
get the id
Definition: HORecHit.h:19
HORecHit::HORecHit
constexpr HORecHit()
Definition: HORecHit.h:15
hit
Definition: SiStripHitEffFromCalibTree.cc:88