File indexing completed on 2025-07-24 02:01:22
0001 #ifndef DataFormats_Scouting_Run3ScoutingEBRecHit_h
0002 #define DataFormats_Scouting_Run3ScoutingEBRecHit_h
0003
0004 #include <vector>
0005 #include <stdint.h>
0006
0007
0008
0009
0010
0011
0012
0013 class Run3ScoutingEBRecHit {
0014 public:
0015 Run3ScoutingEBRecHit(float energy, float time, unsigned int detId, uint32_t flags)
0016 : energy_{energy}, time_{time}, detId_{detId}, flags_{flags} {}
0017
0018 Run3ScoutingEBRecHit() : energy_{0}, time_{0}, detId_{0}, flags_{0} {}
0019
0020 float energy() const { return energy_; }
0021 float time() const { return time_; }
0022 unsigned int detId() const { return detId_; }
0023 uint32_t flags() const { return flags_; }
0024
0025 private:
0026 float energy_;
0027 float time_;
0028 unsigned int detId_;
0029 uint32_t flags_;
0030
0031 };
0032
0033 using Run3ScoutingEBRecHitCollection = std::vector<Run3ScoutingEBRecHit>;
0034
0035 #endif