CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CastorRecHit.h
Go to the documentation of this file.
1 #ifndef DATAFORMATS_HCALRECHIT_CASTORRECHIT_H
2 #define DATAFORMATS_HCALRECHIT_CASTORRECHIT_H 1
3 
6 
7 class CastorRecHit : public CaloRecHit {
8 public:
10 
11  CastorRecHit();
12  CastorRecHit(const HcalCastorDetId& id, float energy, float time);
14  HcalCastorDetId id() const { return HcalCastorDetId(detid()); }
15 };
16 
17 std::ostream& operator<<(std::ostream& s, const CastorRecHit& hit);
18 
19 #endif
constexpr float energy() const
Definition: CaloRecHit.h:29
constexpr const DetId & detid() const
Definition: CaloRecHit.h:33
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
HcalCastorDetId id() const
get the id
Definition: CastorRecHit.h:14
constexpr float time() const
Definition: CaloRecHit.h:31
HcalCastorDetId key_type
Definition: CastorRecHit.h:9