#include <EmcShDigi.h>
Public Member Functions | |
EmcShDigi (const EmcShDigi &aDigi) | |
EmcShDigi () | |
EmcShDigi (const EmcShDigi &aDigi) | |
EmcShDigi () | |
const double & | energy () const |
const double & | energy () const |
const double & | fraction () const |
const double & | fraction () const |
const unsigned int & | module () const |
const unsigned int & | module () const |
bool | operator!= (const EmcShDigi &otherDigi) const |
bool | operator!= (const EmcShDigi &otherDigi) const |
bool | operator< (const EmcShDigi &otherDigi) const |
bool | operator< (const EmcShDigi &otherDigi) const |
bool | operator<= (const EmcShDigi &otherDigi) const |
bool | operator<= (const EmcShDigi &otherDigi) const |
EmcShDigi & | operator= (const EmcShDigi &aDigi) |
EmcShDigi & | operator= (const EmcShDigi &aDigi) |
bool | operator== (const EmcShDigi &otherDigi) const |
bool | operator== (const EmcShDigi &otherDigi) const |
bool | operator> (const EmcShDigi &otherDigi) const |
bool | operator> (const EmcShDigi &otherDigi) const |
bool | operator>= (const EmcShDigi &otherDigi) const |
bool | operator>= (const EmcShDigi &otherDigi) const |
const double & | phi () const |
const double & | phi () const |
const unsigned int & | phiIndex () const |
const unsigned int & | phiIndex () const |
void | setEnergy (double energy) |
void | setEnergy (double energy) |
void | setFraction (double fraction) |
void | setFraction (double fraction) |
void | setModule (unsigned int module) |
void | setModule (unsigned int module) |
void | setPhi (double phi) |
void | setPhi (double phi) |
void | setPhiIndex (unsigned int phiIndex) |
void | setPhiIndex (unsigned int phiIndex) |
void | setTheta (double theta) |
void | setTheta (double theta) |
void | setThetaIndex (unsigned int thetaIndex) |
void | setThetaIndex (unsigned int thetaIndex) |
void | setTime (double time) |
void | setTime (double time) |
void | setWhere (HepPoint3D where) |
void | setWhere (HepPoint3D where) |
void | setX (double x) |
void | setX (double x) |
void | setY (double y) |
void | setY (double y) |
void | setZ (double z) |
void | setZ (double z) |
const double & | theta () const |
const double & | theta () const |
const unsigned int & | thetaIndex () const |
const unsigned int & | thetaIndex () const |
const double & | time () const |
const double & | time () const |
const HepPoint3D & | where () const |
const HepPoint3D & | where () const |
const double & | x () const |
const double & | x () const |
const double & | y () const |
const double & | y () const |
const double & | z () const |
const double & | z () const |
~EmcShDigi () | |
~EmcShDigi () | |
Private Attributes | |
double | m_energy |
double | m_fraction |
unsigned int | m_module |
double | m_phi |
unsigned int | m_phiIndex |
double | m_theta |
unsigned int | m_thetaIndex |
double | m_time |
HepPoint3D | m_where |
double | m_x |
double | m_y |
double | m_z |
|
00008 : 00009 m_energy(0.0), 00010 m_theta(999.), 00011 m_phi(999.), 00012 m_module(999), 00013 m_thetaIndex(9999), 00014 m_phiIndex(9999), 00015 m_time(0.0), 00016 m_fraction(0.), 00017 m_where(0,0,0), 00018 m_x(0), 00019 m_y(0), 00020 m_z(0) 00021 { 00022 00023 }
|
|
00029 { 00030 }
|
|
00034 { 00035 m_energy=aDigi.energy(); 00036 m_theta=aDigi.theta(); 00037 m_phi=aDigi.phi(); 00038 m_module=aDigi.module(); 00039 m_thetaIndex=aDigi.thetaIndex(); 00040 m_phiIndex=aDigi.phiIndex(); 00041 m_time=aDigi.time(); 00042 m_fraction=aDigi.fraction(); 00043 m_where = aDigi.where(); 00044 m_x=aDigi.x(); 00045 m_y=aDigi.y(); 00046 m_z=aDigi.z(); 00047 }
|
|
|
|
|
|
|
|
00031 {return m_energy;}
|
|
00031 {return m_energy;}
|
|
00038 {return m_fraction;}
|
|
00038 {return m_fraction;}
|
|
00034 {return m_module;}
|
|
00034 {return m_module;}
|
|
|
|
00074 { 00075 return !(*this == otherDigi); 00076 }
|
|
|
|
00127 { 00128 bool Less=false; 00129 00130 if ( this->energy() < otherDigi.energy()) 00131 { 00132 Less=true; 00133 } 00134 00135 return Less; 00136 }
|
|
|
|
00102 { 00103 bool Lequal=false; 00104 00105 if ( this->energy() <= otherDigi.energy()) 00106 { 00107 Lequal=true; 00108 } 00109 return Lequal; 00110 }
|
|
|
|
00050 { 00051 if(this!=&aDigi) 00052 { 00053 m_energy=aDigi.energy(); 00054 m_theta=aDigi.theta(); 00055 m_phi=aDigi.phi(); 00056 m_module=aDigi.module(); 00057 m_thetaIndex=aDigi.thetaIndex(); 00058 m_phiIndex=aDigi.phiIndex(); 00059 m_time=aDigi.time(); 00060 m_fraction=aDigi.fraction(); 00061 m_where = aDigi.where(); 00062 m_x=aDigi.x(); 00063 m_y=aDigi.y(); 00064 m_z=aDigi.z(); 00065 } 00066 00067 return *this; 00068 }
|
|
|
|
00072 { 00073 bool equal=false; 00074 00075 if ( this->energy() == otherDigi.energy() 00076 && this->theta() == otherDigi.theta() 00077 && this->phi() == otherDigi.phi() 00078 && this->time() == otherDigi.time() 00079 && this->fraction() == otherDigi.fraction() ) 00080 { 00081 equal=true; 00082 } 00083 00084 return equal; 00085 }
|
|
|
|
00114 { 00115 bool Large=false; 00116 00117 if ( this->energy() > otherDigi.energy()) 00118 { 00119 Large=true; 00120 } 00121 00122 return Large; 00123 }
|
|
|
|
00089 { 00090 bool Gequal=false; 00091 00092 if ( this->energy() >= otherDigi.energy()) 00093 { 00094 Gequal=true; 00095 } 00096 00097 return Gequal; 00098 }
|
|
00033 {return m_phi;}
|
|
00033 {return m_phi;}
|
|
00036 {return m_phiIndex;}
|
|
00036 {return m_phiIndex;}
|
|
00044 {m_energy = energy;}
|
|
00044 {m_energy = energy;}
|
|
00051 {m_fraction = fraction;}
|
|
00051 {m_fraction = fraction;}
|
|
00047 {m_module = module;}
|
|
00047 {m_module = module;}
|
|
00046 {m_phi = phi;}
|
|
00046 {m_phi = phi;}
|
|
00049 {m_phiIndex = phiIndex;}
|
|
00049 {m_phiIndex = phiIndex;}
|
|
00045 {m_theta = theta;}
|
|
00045 {m_theta = theta;}
|
|
00048 {m_thetaIndex = thetaIndex;}
|
|
00048 {m_thetaIndex = thetaIndex;}
|
|
00050 {m_time = time;}
|
|
00050 {m_time = time;}
|
|
00052 {m_where = where;}
|
|
00052 {m_where = where;}
|
|
00053 {m_x = x;}
|
|
00053 {m_x = x;}
|
|
00054 {m_y = y;}
|
|
00054 {m_y = y;}
|
|
00055 {m_z = z;}
|
|
00055 {m_z = z;}
|
|
00032 {return m_theta;}
|
|
00032 {return m_theta;}
|
|
00035 {return m_thetaIndex;}
|
|
00035 {return m_thetaIndex;}
|
|
00037 {return m_time;}
|
|
00037 {return m_time;}
|
|
00039 {return m_where;}
|
|
00039 {return m_where;}
|
|
00040 {return m_x;}
|
|
00040 {return m_x;}
|
|
00041 {return m_y;}
|
|
00041 {return m_y;}
|
|
00042 {return m_z;}
|
|
00042 {return m_z;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|