CMS 3D CMS Logo

CastorTower.cc
Go to the documentation of this file.
2 
5  const double emEnergy,
6  const double hadEnergy,
7  const double fem,
8  const double depth,
9  const double fhot,
10  const CastorRecHitRefs& usedRecHits)
11  : LeafCandidate(0,
13  energy * sin(position.theta()), position.eta(), position.phi(), 0)),
14  Point(0, 0, 0)) {
16  energy_ = energy;
19  fem_ = fem;
20  depth_ = depth;
21  fhot_ = fhot;
22  for (CastorRecHitRefs::const_iterator rechitit = usedRecHits.begin(); rechitit != usedRecHits.end(); ++rechitit) {
23  usedRecHits_.push_back((*rechitit));
24  }
25 }
26 
double emEnergy_
tower em energy
Definition: CastorTower.h:118
double depth_
tower depth
Definition: CastorTower.h:127
double energy_
tower energy
Definition: CastorTower.h:112
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
double depth() const
tower depth in z
Definition: CastorTower.h:69
CastorRecHitRefs usedRecHits_
references to CastorRecHit constituents
Definition: CastorTower.h:133
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
Definition: LorentzVector.h:25
ROOT::Math::XYZPoint position() const
tower centroid position
Definition: CastorTower.h:57
double emEnergy() const
tower em energy
Definition: CastorTower.h:60
double hadEnergy() const
tower had energy
Definition: CastorTower.h:63
double fem_
tower em/tot Ratio
Definition: CastorTower.h:124
double fhot_
tower hotcell/tot ratio
Definition: CastorTower.h:130
ROOT::Math::XYZPoint position_
tower centroid position
Definition: CastorTower.h:115
double fhot() const
tower hotcell/tot ratio
Definition: CastorTower.h:72
double fem() const
tower em/tot ratio
Definition: CastorTower.h:66
~CastorTower() override
destructor
Definition: CastorTower.cc:27
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:228
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
double hadEnergy_
tower had energy
Definition: CastorTower.h:121
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
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
Geom::Theta< T > theta() const
double energy() const final
energy