CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10/src/SimGeneral/GFlash/interface/GflashHit.h

Go to the documentation of this file.
00001 #ifndef GflashHit_H
00002 #define GflashHit_H
00003 
00004 #include "SimGeneral/GFlash/interface/Gflash3Vector.h"
00005 
00006 class GflashHit
00007 {
00008 public:
00009   
00010   GflashHit();
00011   GflashHit(double time, double energy, Gflash3Vector& pos);
00012   ~GflashHit();
00013   
00014   inline double getTime() const { return theTime; }
00015   inline double getEnergy() const { return theEnergy; }
00016   inline const Gflash3Vector& getPosition() const { return thePosition; }
00017 
00018   inline void setTime(const double time) { theTime = time; }
00019   inline void setEnergy(const double energy) { theEnergy = energy; }
00020   inline void setPosition(const Gflash3Vector& pos) { thePosition = pos; }
00021     
00022 private:
00023   double theTime;
00024   double theEnergy;
00025   Gflash3Vector thePosition;
00026 };
00027 
00028 #endif