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 {
8 public:
9 
10  GflashHit();
11  GflashHit(double time, double energy, Gflash3Vector& pos);
12  ~GflashHit();
13 
14  inline double getTime() const { return theTime; }
15  inline double getEnergy() const { return theEnergy; }
16  inline const Gflash3Vector& getPosition() const { return thePosition; }
17 
18  inline void setTime(const double time) { theTime = time; }
19  inline void setEnergy(const double energy) { theEnergy = energy; }
20  inline void setPosition(const Gflash3Vector& pos) { thePosition = pos; }
21 
22 private:
23  double theTime;
24  double theEnergy;
26 };
27 
28 #endif
void setEnergy(const double energy)
Definition: GflashHit.h:19
~GflashHit()
Definition: GflashHit.cc:17
GflashHit()
Definition: GflashHit.cc:3
void setPosition(const Gflash3Vector &pos)
Definition: GflashHit.h:20
double getTime() const
Definition: GflashHit.h:14
void setTime(const double time)
Definition: GflashHit.h:18
Gflash3Vector thePosition
Definition: GflashHit.h:25
double theEnergy
Definition: GflashHit.h:24
CLHEP::Hep3Vector Gflash3Vector
Definition: Gflash3Vector.h:6
double theTime
Definition: GflashHit.h:23
double getEnergy() const
Definition: GflashHit.h:15
const Gflash3Vector & getPosition() const
Definition: GflashHit.h:16