CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
double depth() const
cluster depth in z
Definition: CastorCluster.h:72
virtual ~CastorCluster()
destructor
double emEnergy() const
cluster em energy
Definition: CastorCluster.h:60
CastorTowerRefVector usedTowers_
references to CastorTower constituents
double width_
cluster width
CastorCluster()
default constructor. Sets energy and position to zero
Definition: CastorCluster.h:27
double sigmaz() const
cluster sigma z
Definition: CastorCluster.h:78
double sigmaz_
cluster sigma z
double fhot() const
cluster hotcell/tot ratio
Definition: CastorCluster.h:75
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:228
double energy_
cluster energy
double width() const
cluster width in phi
Definition: CastorCluster.h:69
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:223
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:66
double emEnergy_
cluster em energy
double energy() const
cluster energy
Definition: CastorCluster.h:54
ROOT::Math::XYZPoint position() const
cluster centroid position
Definition: CastorCluster.h:57
double hadEnergy_
cluster had energy
double hadEnergy() const
cluster had energy
Definition: CastorCluster.h:63
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
double fhot_
cluster hotcell/tot ratio