CMS 3D CMS Logo

CastorCluster.cc
Go to the documentation of this file.
2 
5  const double emEnergy,
6  const double hadEnergy,
7  const double fem,
8  const double width,
9  const double depth,
10  const double fhot,
11  const double sigmaz,
12  const reco::CastorTowerRefVector& usedTowers) {
14  energy_ = energy;
17  fem_ = fem;
18  width_ = width;
19  depth_ = depth;
20  fhot_ = fhot;
21  sigmaz_ = sigmaz;
22  for (reco::CastorTowerRefVector::const_iterator towerit = usedTowers.begin(); towerit != usedTowers.end();
23  ++towerit) {
24  usedTowers_.push_back((*towerit));
25  }
26 }
27 
virtual ~CastorCluster()
destructor
double hadEnergy() const
cluster had energy
Definition: CastorCluster.h:63
CastorTowerRefVector usedTowers_
references to CastorTower constituents
double width_
cluster width
double energy() const
cluster energy
Definition: CastorCluster.h:54
double fhot() const
cluster hotcell/tot ratio
Definition: CastorCluster.h:75
CastorCluster()
default constructor. Sets energy and position to zero
Definition: CastorCluster.h:27
double emEnergy() const
cluster em energy
Definition: CastorCluster.h:60
double sigmaz_
cluster sigma z
double energy_
cluster energy
double depth_
cluster depth
double fem_
cluster em/tot Ratio
ROOT::Math::XYZPoint position_
cluster centroid position
double depth() const
cluster depth in z
Definition: CastorCluster.h:72
double emEnergy_
cluster em energy
double sigmaz() const
cluster sigma z
Definition: CastorCluster.h:78
double fem() const
cluster em/tot ratio
Definition: CastorCluster.h:66
double hadEnergy_
cluster had energy
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:228
ROOT::Math::XYZPoint position() const
cluster centroid position
Definition: CastorCluster.h:57
double width() const
cluster width in phi
Definition: CastorCluster.h:69
static int position[264][3]
Definition: ReadPGInfo.cc:289
Transform3DPJ::Point XYZPoint
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
Definition: RefVector.h:67
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:223
double fhot_
cluster hotcell/tot ratio