Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

EmcShDigi Class Reference

#include <EmcShDigi.h>

List of all members.

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
EmcShDigioperator= (const EmcShDigi &aDigi)
EmcShDigioperator= (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 HepPoint3Dwhere () const
const HepPoint3Dwhere () 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


Constructor & Destructor Documentation

EmcShDigi::EmcShDigi  ) 
 

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 }

EmcShDigi::~EmcShDigi  ) 
 

00029 {
00030 }

EmcShDigi::EmcShDigi const EmcShDigi aDigi  ) 
 

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 }

EmcShDigi::EmcShDigi  ) 
 

EmcShDigi::~EmcShDigi  ) 
 

EmcShDigi::EmcShDigi const EmcShDigi aDigi  ) 
 


Member Function Documentation

const double& EmcShDigi::energy  )  const [inline]
 

00031 {return m_energy;}

const double& EmcShDigi::energy  )  const [inline]
 

00031 {return m_energy;}

const double& EmcShDigi::fraction  )  const [inline]
 

00038 {return m_fraction;}

const double& EmcShDigi::fraction  )  const [inline]
 

00038 {return m_fraction;}

const unsigned int& EmcShDigi::module  )  const [inline]
 

00034 {return m_module;}

const unsigned int& EmcShDigi::module  )  const [inline]
 

00034 {return m_module;}

bool EmcShDigi::operator!= const EmcShDigi otherDigi  )  const
 

bool EmcShDigi::operator!= const EmcShDigi otherDigi  )  const [inline]
 

00074                                                                   {
00075   return !(*this == otherDigi);
00076 }

bool EmcShDigi::operator< const EmcShDigi otherDigi  )  const
 

bool EmcShDigi::operator< const EmcShDigi otherDigi  )  const
 

00127 {
00128   bool Less=false;
00129 
00130   if ( this->energy() < otherDigi.energy()) 
00131     {
00132       Less=true;
00133     }
00134 
00135   return Less;
00136 }

bool EmcShDigi::operator<= const EmcShDigi otherDigi  )  const
 

bool EmcShDigi::operator<= const EmcShDigi otherDigi  )  const
 

00102 {
00103   bool Lequal=false;
00104 
00105   if ( this->energy() <= otherDigi.energy()) 
00106     {
00107       Lequal=true;
00108     }
00109   return Lequal;
00110 }

EmcShDigi& EmcShDigi::operator= const EmcShDigi aDigi  ) 
 

EmcShDigi & EmcShDigi::operator= const EmcShDigi aDigi  ) 
 

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 }

bool EmcShDigi::operator== const EmcShDigi otherDigi  )  const
 

bool EmcShDigi::operator== const EmcShDigi otherDigi  )  const
 

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 }

bool EmcShDigi::operator> const EmcShDigi otherDigi  )  const
 

bool EmcShDigi::operator> const EmcShDigi otherDigi  )  const
 

00114 {
00115   bool Large=false;
00116 
00117   if ( this->energy() > otherDigi.energy()) 
00118     {
00119       Large=true;
00120     }
00121 
00122   return Large;
00123 }

bool EmcShDigi::operator>= const EmcShDigi otherDigi  )  const
 

bool EmcShDigi::operator>= const EmcShDigi otherDigi  )  const
 

00089 {
00090   bool Gequal=false;
00091 
00092   if ( this->energy() >= otherDigi.energy()) 
00093     {
00094       Gequal=true;
00095     }
00096   
00097   return Gequal;
00098 }

const double& EmcShDigi::phi  )  const [inline]
 

00033 {return m_phi;}

const double& EmcShDigi::phi  )  const [inline]
 

00033 {return m_phi;}

const unsigned int& EmcShDigi::phiIndex  )  const [inline]
 

00036 {return m_phiIndex;}

const unsigned int& EmcShDigi::phiIndex  )  const [inline]
 

00036 {return m_phiIndex;}

void EmcShDigi::setEnergy double  energy  )  [inline]
 

00044 {m_energy = energy;}

void EmcShDigi::setEnergy double  energy  )  [inline]
 

00044 {m_energy = energy;}

void EmcShDigi::setFraction double  fraction  )  [inline]
 

00051 {m_fraction = fraction;}

void EmcShDigi::setFraction double  fraction  )  [inline]
 

00051 {m_fraction = fraction;}

void EmcShDigi::setModule unsigned int  module  )  [inline]
 

00047 {m_module = module;}

void EmcShDigi::setModule unsigned int  module  )  [inline]
 

00047 {m_module = module;}

void EmcShDigi::setPhi double  phi  )  [inline]
 

00046 {m_phi = phi;}

void EmcShDigi::setPhi double  phi  )  [inline]
 

00046 {m_phi = phi;}

void EmcShDigi::setPhiIndex unsigned int  phiIndex  )  [inline]
 

00049 {m_phiIndex = phiIndex;}

void EmcShDigi::setPhiIndex unsigned int  phiIndex  )  [inline]
 

00049 {m_phiIndex = phiIndex;}

void EmcShDigi::setTheta double  theta  )  [inline]
 

00045 {m_theta = theta;}

void EmcShDigi::setTheta double  theta  )  [inline]
 

00045 {m_theta = theta;}

void EmcShDigi::setThetaIndex unsigned int  thetaIndex  )  [inline]
 

00048 {m_thetaIndex = thetaIndex;}

void EmcShDigi::setThetaIndex unsigned int  thetaIndex  )  [inline]
 

00048 {m_thetaIndex = thetaIndex;}

void EmcShDigi::setTime double  time  )  [inline]
 

00050 {m_time = time;}

void EmcShDigi::setTime double  time  )  [inline]
 

00050 {m_time = time;}

void EmcShDigi::setWhere HepPoint3D  where  )  [inline]
 

00052 {m_where = where;}

void EmcShDigi::setWhere HepPoint3D  where  )  [inline]
 

00052 {m_where = where;}

void EmcShDigi::setX double  x  )  [inline]
 

00053 {m_x = x;}

void EmcShDigi::setX double  x  )  [inline]
 

00053 {m_x = x;}

void EmcShDigi::setY double  y  )  [inline]
 

00054 {m_y = y;}

void EmcShDigi::setY double  y  )  [inline]
 

00054 {m_y = y;}

void EmcShDigi::setZ double  z  )  [inline]
 

00055 {m_z = z;}

void EmcShDigi::setZ double  z  )  [inline]
 

00055 {m_z = z;}

const double& EmcShDigi::theta  )  const [inline]
 

00032 {return m_theta;}

const double& EmcShDigi::theta  )  const [inline]
 

00032 {return m_theta;}

const unsigned int& EmcShDigi::thetaIndex  )  const [inline]
 

00035 {return m_thetaIndex;}

const unsigned int& EmcShDigi::thetaIndex  )  const [inline]
 

00035 {return m_thetaIndex;}

const double& EmcShDigi::time void   )  const [inline]
 

00037 {return m_time;}

const double& EmcShDigi::time  )  const [inline]
 

00037 {return m_time;}

const HepPoint3D& EmcShDigi::where  )  const [inline]
 

00039 {return m_where;}

const HepPoint3D& EmcShDigi::where  )  const [inline]
 

00039 {return m_where;}

const double& EmcShDigi::x  )  const [inline]
 

00040 {return m_x;}

const double& EmcShDigi::x  )  const [inline]
 

00040 {return m_x;}

const double& EmcShDigi::y  )  const [inline]
 

00041 {return m_y;}

const double& EmcShDigi::y  )  const [inline]
 

00041 {return m_y;}

const double& EmcShDigi::z  )  const [inline]
 

00042 {return m_z;}

const double& EmcShDigi::z  )  const [inline]
 

00042 {return m_z;}


Member Data Documentation

double EmcShDigi::m_energy [private]
 

double EmcShDigi::m_fraction [private]
 

unsigned int EmcShDigi::m_module [private]
 

double EmcShDigi::m_phi [private]
 

unsigned int EmcShDigi::m_phiIndex [private]
 

double EmcShDigi::m_theta [private]
 

unsigned int EmcShDigi::m_thetaIndex [private]
 

double EmcShDigi::m_time [private]
 

HepPoint3D EmcShDigi::m_where [private]
 

double EmcShDigi::m_x [private]
 

double EmcShDigi::m_y [private]
 

double EmcShDigi::m_z [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:02:15 2011 for BOSS6.5.5 by  doxygen 1.3.9.1