File indexing completed on 2024-04-06 12:30:34
0001 #ifndef GflashHit_H
0002 #define GflashHit_H
0003
0004 #include "SimGeneral/GFlash/interface/Gflash3Vector.h"
0005
0006 class GflashHit {
0007 public:
0008 GflashHit();
0009 GflashHit(double time, double energy, Gflash3Vector &pos);
0010 ~GflashHit();
0011
0012 inline double getTime() const { return theTime; }
0013 inline double getEnergy() const { return theEnergy; }
0014 inline const Gflash3Vector &getPosition() const { return thePosition; }
0015
0016 inline void setTime(const double time) { theTime = time; }
0017 inline void setEnergy(const double energy) { theEnergy = energy; }
0018 inline void setPosition(const Gflash3Vector &pos) { thePosition = pos; }
0019
0020 private:
0021 double theTime;
0022 double theEnergy;
0023 Gflash3Vector thePosition;
0024 };
0025
0026 #endif