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

EmcShower Class Reference

#include <EmcShower.h>

List of all members.

Public Member Functions

void addDigi (EmcShDigi d)
void addDigi (EmcShDigi d)
const std::list< EmcShDigidigiList () const
const std::list< EmcShDigidigiList () const
 EmcShower (const EmcShower &aShower)
 EmcShower ()
 EmcShower (const EmcShower &aShower)
 EmcShower ()
const double & energy () const
const double & energy () const
const EmcShDigi maxima () const
const EmcShDigi maxima () const
const unsigned int & module () const
const unsigned int & module () const
const long int & numberOfDigis () const
const long int & numberOfDigis () const
bool operator!= (const EmcShower &otherShower) const
bool operator!= (const EmcShower &otherShower) const
bool operator< (const EmcShower &otherShower) const
bool operator< (const EmcShower &otherShower) const
bool operator<= (const EmcShower &otherShower) const
bool operator<= (const EmcShower &otherShower) const
EmcShoweroperator= (const EmcShower &aShower)
EmcShoweroperator= (const EmcShower &aShower)
bool operator== (const EmcShower &otherShower) const
bool operator== (const EmcShower &otherShower) const
bool operator> (const EmcShower &otherShower) const
bool operator> (const EmcShower &otherShower) const
bool operator>= (const EmcShower &otherShower) const
bool operator>= (const EmcShower &otherShower) const
const double & phi () const
const double & phi () const
const unsigned int & phiIndex () const
const unsigned int & phiIndex () const
void setDigiList (std::list< EmcShDigi > digiList)
void setDigiList (std::list< EmcShDigi > digiList)
void setEnergy (double energy)
void setEnergy (double energy)
void setMaxima (EmcShDigi maxima)
void setMaxima (EmcShDigi maxima)
void setModule (unsigned int module)
void setModule (unsigned int module)
void setNumberOfDigis (long int numberOfDigis)
void setNumberOfDigis (long int numberOfDigis)
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 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 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
 ~EmcShower ()
 ~EmcShower ()

Private Attributes

std::list< EmcShDigim_digiList
std::list< EmcShDigim_digiList
double m_energy
EmcShDigi m_maxima
unsigned int m_module
long int m_numberOfDigis
double m_phi
unsigned int m_phiIndex
double m_theta
unsigned int m_thetaIndex
HepPoint3D m_where
double m_x
double m_y
double m_z


Constructor & Destructor Documentation

EmcShower::EmcShower  ) 
 

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_numberOfDigis(0),
00016   m_where(0,0,0),
00017   m_x(0.),
00018   m_y(0.),
00019   m_z(0.)
00020 {
00021   m_maxima=EmcShDigi::EmcShDigi();
00022 }

EmcShower::~EmcShower  ) 
 

00028 {
00029 }

EmcShower::EmcShower const EmcShower aShower  ) 
 

00033 {
00034   m_energy=aShower.energy();
00035   m_theta=aShower.theta();
00036   m_phi=aShower.phi();
00037   m_module=aShower.module();
00038   m_thetaIndex=aShower.thetaIndex();
00039   m_phiIndex=aShower.phiIndex();
00040   m_numberOfDigis=aShower.numberOfDigis();
00041   m_digiList=aShower.digiList();
00042   m_maxima=aShower.maxima();
00043   m_where = aShower.where();
00044   m_x=aShower.x();
00045   m_y=aShower.y();
00046   m_z=aShower.z();
00047 }

EmcShower::EmcShower  ) 
 

EmcShower::~EmcShower  ) 
 

EmcShower::EmcShower const EmcShower aShower  ) 
 


Member Function Documentation

void EmcShower::addDigi EmcShDigi  d  ) 
 

void EmcShower::addDigi EmcShDigi  d  ) 
 

00143 { 
00144   m_digiList.push_back(theDigi); 
00145 
00146 }

const std::list<EmcShDigi> EmcShower::digiList  )  const [inline]
 

00045 {return  m_digiList;} 

const std::list<EmcShDigi> EmcShower::digiList  )  const [inline]
 

00045 {return  m_digiList;} 

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

00038 {return m_energy;}

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

00038 {return m_energy;}

const EmcShDigi EmcShower::maxima  )  const [inline]
 

00046 { return m_maxima;}

const EmcShDigi EmcShower::maxima  )  const [inline]
 

00046 { return m_maxima;}

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

00041 {return m_module;}

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

00041 {return m_module;}

const long int& EmcShower::numberOfDigis  )  const [inline]
 

00044 {return m_numberOfDigis;}

const long int& EmcShower::numberOfDigis  )  const [inline]
 

00044 {return m_numberOfDigis;}

bool EmcShower::operator!= const EmcShower otherShower  )  const
 

bool EmcShower::operator!= const EmcShower otherShower  )  const [inline]
 

00087                                                                     {
00088   return !(*this == otherShower);
00089 }

bool EmcShower::operator< const EmcShower otherShower  )  const
 

bool EmcShower::operator< const EmcShower otherShower  )  const
 

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

bool EmcShower::operator<= const EmcShower otherShower  )  const
 

bool EmcShower::operator<= const EmcShower otherShower  )  const
 

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

EmcShower& EmcShower::operator= const EmcShower aShower  ) 
 

EmcShower & EmcShower::operator= const EmcShower aShower  ) 
 

00050 {
00051    if(this!=&aShower)
00052      {
00053        m_energy=aShower.energy();
00054        m_theta=aShower.theta();
00055        m_phi=aShower.phi();
00056        m_module=aShower.module();
00057        m_thetaIndex=aShower.thetaIndex();
00058        m_phiIndex=aShower.phiIndex();
00059        m_numberOfDigis=aShower.numberOfDigis();
00060        m_digiList=aShower.digiList();
00061        m_maxima=aShower.maxima();
00062        m_where = aShower.where();
00063        m_x=aShower.x();
00064        m_y=aShower.y();
00065        m_z=aShower.z();
00066      }
00067 
00068    return *this;
00069 }

bool EmcShower::operator== const EmcShower otherShower  )  const
 

bool EmcShower::operator== const EmcShower otherShower  )  const
 

00073 {
00074   bool equal=false;
00075 
00076   if ( this->theta() == otherShower.theta() 
00077        && this->phi() == otherShower.phi() 
00078        && this->energy() == otherShower.energy() ) 
00079     {
00080       equal=true;
00081     }
00082 
00083   return equal;
00084 }

bool EmcShower::operator> const EmcShower otherShower  )  const
 

bool EmcShower::operator> const EmcShower otherShower  )  const
 

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

bool EmcShower::operator>= const EmcShower otherShower  )  const
 

bool EmcShower::operator>= const EmcShower otherShower  )  const
 

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

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

00040 {return m_phi;}

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

00040 {return m_phi;}

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

00043 {return m_phiIndex;}

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

00043 {return m_phiIndex;}

void EmcShower::setDigiList std::list< EmcShDigi digiList  )  [inline]
 

00062 {m_digiList = digiList;}

void EmcShower::setDigiList std::list< EmcShDigi digiList  )  [inline]
 

00062 {m_digiList = digiList;}

void EmcShower::setEnergy double  energy  )  [inline]
 

00055 {m_energy = energy;}

void EmcShower::setEnergy double  energy  )  [inline]
 

00055 {m_energy = energy;}

void EmcShower::setMaxima EmcShDigi  maxima  )  [inline]
 

00063 {m_maxima = maxima;}

void EmcShower::setMaxima EmcShDigi  maxima  )  [inline]
 

00063 {m_maxima = maxima;}

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

00058 {m_module = module;}

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

00058 {m_module = module;}

void EmcShower::setNumberOfDigis long int  numberOfDigis  )  [inline]
 

00061 {m_numberOfDigis = numberOfDigis;}

void EmcShower::setNumberOfDigis long int  numberOfDigis  )  [inline]
 

00061 {m_numberOfDigis = numberOfDigis;}

void EmcShower::setPhi double  phi  )  [inline]
 

00057 {m_phi = phi;}

void EmcShower::setPhi double  phi  )  [inline]
 

00057 {m_phi = phi;}

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

00060 {m_phiIndex = phiIndex;}

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

00060 {m_phiIndex = phiIndex;}

void EmcShower::setTheta double  theta  )  [inline]
 

00056 {m_theta = theta;}

void EmcShower::setTheta double  theta  )  [inline]
 

00056 {m_theta = theta;}

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

00059 {m_thetaIndex = thetaIndex;}

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

00059 {m_thetaIndex = thetaIndex;}

void EmcShower::setWhere HepPoint3D  where  )  [inline]
 

00064 {m_where = where;}

void EmcShower::setWhere HepPoint3D  where  )  [inline]
 

00064 {m_where = where;}

void EmcShower::setX double  x  )  [inline]
 

00065 {m_x = x;}

void EmcShower::setX double  x  )  [inline]
 

00065 {m_x = x;}

void EmcShower::setY double  y  )  [inline]
 

00066 {m_y = y;}

void EmcShower::setY double  y  )  [inline]
 

00066 {m_y = y;}

void EmcShower::setZ double  z  )  [inline]
 

00067 {m_z = z;}

void EmcShower::setZ double  z  )  [inline]
 

00067 {m_z = z;}

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

00039 {return m_theta;}

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

00039 {return m_theta;}

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

00042 {return m_thetaIndex;}

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

00042 {return m_thetaIndex;}

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

00047 {return m_where;}

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

00047 {return m_where;}

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

00048 {return m_x;}

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

00048 {return m_x;}

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

00049 {return m_y;}

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

00049 {return m_y;}

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

00050 {return m_z;}

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

00050 {return m_z;}


Member Data Documentation

std::list<EmcShDigi> EmcShower::m_digiList [private]
 

std::list<EmcShDigi> EmcShower::m_digiList [private]
 

double EmcShower::m_energy [private]
 

EmcShDigi EmcShower::m_maxima [private]
 

unsigned int EmcShower::m_module [private]
 

long int EmcShower::m_numberOfDigis [private]
 

double EmcShower::m_phi [private]
 

unsigned int EmcShower::m_phiIndex [private]
 

double EmcShower::m_theta [private]
 

unsigned int EmcShower::m_thetaIndex [private]
 

HepPoint3D EmcShower::m_where [private]
 

double EmcShower::m_x [private]
 

double EmcShower::m_y [private]
 

double EmcShower::m_z [private]
 


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