File indexing completed on 2024-04-06 12:04:19
0001 #ifndef DATAFORMATS_HCALRECHIT_ZDCRECHIT_H
0002 #define DATAFORMATS_HCALRECHIT_ZDCRECHIT_H 1
0003
0004 #include "DataFormats/HcalDetId/interface/HcalZDCDetId.h"
0005 #include "DataFormats/CaloRecHit/interface/CaloRecHit.h"
0006
0007
0008
0009
0010
0011 class ZDCRecHit : public CaloRecHit {
0012 public:
0013 typedef HcalZDCDetId key_type;
0014
0015 ZDCRecHit();
0016 ZDCRecHit(const HcalZDCDetId& id, float energy, float time, float lowGainEnergy);
0017
0018 HcalZDCDetId id() const { return HcalZDCDetId(detid()); }
0019
0020 float lowGainEnergy() const { return lowGainEnergy_; };
0021
0022 private:
0023 float lowGainEnergy_;
0024 };
0025
0026 std::ostream& operator<<(std::ostream& s, const ZDCRecHit& hit);
0027
0028 #endif