Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

PhotonInfo.h

00001 
00009 #ifndef PHOTON_INFO_H
00010 #define PHOTON_INFO_H
00011 
00012 class PhotonInfo
00013 {
00014 public:
00015     void setTime(double time)       { m_time=time; }
00016     void setEnergy(double energy)   { m_energy=energy; }
00017     void setTheta(float theta)      { m_theta=theta; }
00018     void setPhi(float phi)          { m_phi=phi; }
00019     void setSignal(bool signal)     { m_signal=signal; }
00020     
00021     inline double time() const     { return m_time; }
00022     inline double energy() const   { return m_energy; }
00023     inline float theta() const     { return m_theta; }
00024     inline float phi() const       { return m_phi; }
00025     inline bool signal() const     { return m_signal; }
00026     
00027 private:
00028     double m_time;
00029     double m_energy;
00030     float  m_theta;
00031     float  m_phi;
00032     bool   m_signal;
00033 };
00034 
00035 #endif

Generated on Mon Jan 27 11:43:33 2003 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001