CMS 3D CMS Logo

GflashHit.h
Go to the documentation of this file.
1 #ifndef GflashHit_H
2 #define GflashHit_H
3 
5 
6 class GflashHit {
7 public:
8  GflashHit();
9  GflashHit(double time, double energy, Gflash3Vector &pos);
10  ~GflashHit();
11 
12  inline double getTime() const { return theTime; }
13  inline double getEnergy() const { return theEnergy; }
14  inline const Gflash3Vector &getPosition() const { return thePosition; }
15 
16  inline void setTime(const double time) { theTime = time; }
17  inline void setEnergy(const double energy) { theEnergy = energy; }
18  inline void setPosition(const Gflash3Vector &pos) { thePosition = pos; }
19 
20 private:
21  double theTime;
22  double theEnergy;
24 };
25 
26 #endif
void setEnergy(const double energy)
Definition: GflashHit.h:17
~GflashHit()
Definition: GflashHit.cc:11
GflashHit()
Definition: GflashHit.cc:3
void setPosition(const Gflash3Vector &pos)
Definition: GflashHit.h:18
void setTime(const double time)
Definition: GflashHit.h:16
const Gflash3Vector & getPosition() const
Definition: GflashHit.h:14
Gflash3Vector thePosition
Definition: GflashHit.h:23
double theEnergy
Definition: GflashHit.h:22
double getTime() const
Definition: GflashHit.h:12
double getEnergy() const
Definition: GflashHit.h:13
CLHEP::Hep3Vector Gflash3Vector
Definition: Gflash3Vector.h:6
double theTime
Definition: GflashHit.h:21