test
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:58
virtual ~CastorCluster()
destructor
double emEnergy() const
cluster em energy
Definition: CastorCluster.h:46
CastorTowerRefVector usedTowers_
references to CastorTower constituents
double width_
cluster width
CastorCluster()
default constructor. Sets energy and position to zero
Definition: CastorCluster.h:28
double sigmaz() const
cluster sigma z
Definition: CastorCluster.h:64
double sigmaz_
cluster sigma z
double fhot() const
cluster hotcell/tot ratio
Definition: CastorCluster.h:61
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:253
double energy_
cluster energy
double width() const
cluster width in phi
Definition: CastorCluster.h:55
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:248
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:52
double emEnergy_
cluster em energy
double energy() const
cluster energy
Definition: CastorCluster.h:40
ROOT::Math::XYZPoint position() const
cluster centroid position
Definition: CastorCluster.h:43
double hadEnergy_
cluster had energy
double hadEnergy() const
cluster had energy
Definition: CastorCluster.h:49
static int position[264][3]
Definition: ReadPGInfo.cc:509
Transform3DPJ::Point XYZPoint
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
Definition: RefVector.h:69
double fhot_
cluster hotcell/tot ratio