CMS 3D CMS Logo

CastorTower.cc
Go to the documentation of this file.
2 
3 
4 reco::CastorTower::CastorTower(const double energy, const ROOT::Math::XYZPoint& position, const double emEnergy, const double hadEnergy,
5  const double fem, const double depth, const double fhot,
6  const CastorRecHitRefs& usedRecHits) :
7  LeafCandidate(0,LorentzVector(math::PtEtaPhiMLorentzVector(energy*sin(position.theta()),position.eta(),position.phi(),0)),Point(0,0,0)) {
8 
10  energy_ = energy;
13  fem_ = fem;
14  depth_ = depth;
15  fhot_ = fhot;
16  for(CastorRecHitRefs::const_iterator rechitit = usedRecHits.begin(); rechitit != usedRecHits.end();++rechitit) {
17  usedRecHits_.push_back( (*rechitit) );
18  }
19 }
20 
22 
23 }
double emEnergy() const
tower em energy
Definition: CastorTower.h:48
double emEnergy_
tower em energy
Definition: CastorTower.h:107
double depth_
tower depth
Definition: CastorTower.h:116
double energy_
tower energy
Definition: CastorTower.h:101
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
Geom::Theta< T > theta() const
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:253
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:248
CastorRecHitRefs usedRecHits_
references to CastorRecHit constituents
Definition: CastorTower.h:122
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
Definition: LorentzVector.h:25
double fem_
tower em/tot Ratio
Definition: CastorTower.h:113
double fem() const
tower em/tot ratio
Definition: CastorTower.h:54
double energy() const final
energy
double fhot_
tower hotcell/tot ratio
Definition: CastorTower.h:119
Definition: Error.h:16
ROOT::Math::XYZPoint position_
tower centroid position
Definition: CastorTower.h:104
ROOT::Math::XYZPoint position() const
tower centroid position
Definition: CastorTower.h:45
~CastorTower() override
destructor
Definition: CastorTower.cc:21
double fhot() const
tower hotcell/tot ratio
Definition: CastorTower.h:60
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
double depth() const
tower depth in z
Definition: CastorTower.h:57
double hadEnergy_
tower had energy
Definition: CastorTower.h:110
double hadEnergy() const
tower had energy
Definition: CastorTower.h:51
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:55
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