CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:52
double emEnergy_
tower em energy
Definition: CastorTower.h:117
virtual ~CastorTower()
destructor
Definition: CastorTower.cc:21
double depth_
tower depth
Definition: CastorTower.h:126
double energy_
tower energy
Definition: CastorTower.h:111
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
Geom::Theta< T > theta() const
T eta() const
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:249
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:244
CastorRecHitRefs usedRecHits_
references to CastorRecHit constituents
Definition: CastorTower.h:132
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
Definition: LorentzVector.h:26
double fem_
tower em/tot Ratio
Definition: CastorTower.h:123
double fem() const
tower em/tot ratio
Definition: CastorTower.h:58
double fhot_
tower hotcell/tot ratio
Definition: CastorTower.h:129
ROOT::Math::XYZPoint position_
tower centroid position
Definition: CastorTower.h:114
double energy() const
tower energy
Definition: CastorTower.h:46
ROOT::Math::XYZPoint position() const
tower centroid position
Definition: CastorTower.h:49
double fhot() const
tower hotcell/tot ratio
Definition: CastorTower.h:64
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:38
double depth() const
tower depth in z
Definition: CastorTower.h:61
double hadEnergy_
tower had energy
Definition: CastorTower.h:120
double hadEnergy() const
tower had energy
Definition: CastorTower.h:55
static int position[264][3]
Definition: ReadPGInfo.cc:509
Transform3DPJ::Point XYZPoint
void push_back(value_type const &ref)
Add a Ref&lt;C, T&gt; to the RefVector.
Definition: RefVector.h:64
math::XYZPoint Point
point in the space
Definition: Candidate.h:42
Definition: DDAxes.h:10