CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CastorCluster.cc
Go to the documentation of this file.
2 
3 reco::CastorCluster::CastorCluster(const double energy, const ROOT::Math::XYZPoint& position, const double emEnergy, const double hadEnergy,
4  const double fem, const double width, const double depth, const double fhot, const double sigmaz,
5  const reco::CastorTowerRefVector& usedTowers) {
7  energy_ = energy;
10  fem_ = fem;
11  width_ = width;
12  depth_ = depth;
13  fhot_ = fhot;
14  sigmaz_ = sigmaz;
15  for(reco::CastorTowerRefVector::const_iterator towerit = usedTowers.begin(); towerit != usedTowers.end();++towerit) {
16  usedTowers_.push_back( (*towerit) );
17  }
18 }
19 
21 
22 }
double depth() const
cluster depth in z
Definition: CastorCluster.h:59
virtual ~CastorCluster()
destructor
double emEnergy() const
cluster em energy
Definition: CastorCluster.h:47
CastorTowerRefVector usedTowers_
references to CastorTower constituents
double width_
cluster width
CastorCluster()
default constructor. Sets energy and position to zero
Definition: CastorCluster.h:29
double sigmaz() const
cluster sigma z
Definition: CastorCluster.h:65
double sigmaz_
cluster sigma z
double fhot() const
cluster hotcell/tot ratio
Definition: CastorCluster.h:62
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:249
double energy_
cluster energy
double width() const
cluster width in phi
Definition: CastorCluster.h:56
static int position[TOTALCHAMBERS][3]
Definition: ReadPGInfo.cc:509
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:244
double depth_
cluster depth
double fem_
cluster em/tot Ratio
ROOT::Math::XYZPoint position_
cluster centroid position
double fem() const
cluster em/tot ratio
Definition: CastorCluster.h:53
double emEnergy_
cluster em energy
double energy() const
cluster energy
Definition: CastorCluster.h:41
ROOT::Math::XYZPoint position() const
cluster centroid position
Definition: CastorCluster.h:44
double hadEnergy_
cluster had energy
double hadEnergy() const
cluster had energy
Definition: CastorCluster.h:50
Transform3DPJ::Point XYZPoint
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
Definition: RefVector.h:64
double fhot_
cluster hotcell/tot ratio