#include <DataFormats/CastorReco/CastorCluster.h>
Public Member Functions | |
void | add (const CastorTowerRef &tower) |
add reference to constituent CastorTower More... | |
CastorCluster () | |
default constructor. Sets energy and position to zero More... | |
CastorCluster (const double energy, const ROOT::Math::XYZPoint &position, const double emEnergy, const double hadEnergy, const double fem, const double width, const double depth, const double fhot, const double sigmaz, const CastorTowerRefVector &usedTowers) | |
constructor from values More... | |
double | depth () const |
cluster depth in z More... | |
double | emEnergy () const |
cluster em energy More... | |
double | energy () const |
cluster energy More... | |
double | eta () const |
pseudorapidity of cluster centroid More... | |
double | fem () const |
cluster em/tot ratio More... | |
double | fhot () const |
cluster hotcell/tot ratio More... | |
CastorTowerRefVector | getUsedTowers () const |
vector of used Towers More... | |
double | hadEnergy () const |
cluster had energy More... | |
bool | operator< (const CastorCluster &rhs) const |
comparison <= operator More... | |
bool | operator<= (const CastorCluster &rhs) const |
comparison <= operator More... | |
bool | operator> (const CastorCluster &rhs) const |
comparison > operator More... | |
bool | operator>= (const CastorCluster &rhs) const |
comparison >= operator More... | |
double | phi () const |
azimuthal angle of cluster centroid More... | |
ROOT::Math::XYZPoint | position () const |
cluster centroid position More... | |
double | rho () const |
rho of cluster centroid More... | |
double | sigmaz () const |
cluster sigma z More... | |
CastorTower_iterator | towersBegin () const |
fist iterator over CastorTower constituents More... | |
CastorTower_iterator | towersEnd () const |
last iterator over CastorTower constituents More... | |
size_t | towersSize () const |
number of CastorTower constituents More... | |
double | width () const |
cluster width in phi More... | |
double | x () const |
x of cluster centroid More... | |
double | y () const |
y of cluster centroid More... | |
virtual | ~CastorCluster () |
destructor More... | |
Private Attributes | |
double | depth_ |
cluster depth More... | |
double | emEnergy_ |
cluster em energy More... | |
double | energy_ |
cluster energy More... | |
double | fem_ |
cluster em/tot Ratio More... | |
double | fhot_ |
cluster hotcell/tot ratio More... | |
double | hadEnergy_ |
cluster had energy More... | |
ROOT::Math::XYZPoint | position_ |
cluster centroid position More... | |
double | sigmaz_ |
cluster sigma z More... | |
CastorTowerRefVector | usedTowers_ |
references to CastorTower constituents More... | |
double | width_ |
cluster width More... | |
Class for Castor clusters
Definition at line 24 of file CastorCluster.h.
|
inline |
default constructor. Sets energy and position to zero
Definition at line 27 of file CastorCluster.h.
reco::CastorCluster::CastorCluster | ( | const double | energy, |
const ROOT::Math::XYZPoint & | position, | ||
const double | emEnergy, | ||
const double | hadEnergy, | ||
const double | fem, | ||
const double | width, | ||
const double | depth, | ||
const double | fhot, | ||
const double | sigmaz, | ||
const CastorTowerRefVector & | usedTowers | ||
) |
constructor from values
Definition at line 3 of file CastorCluster.cc.
References edm::RefVector< C, T, F >::begin(), depth(), depth_, emEnergy(), emEnergy_, edm::RefVector< C, T, F >::end(), energy(), energy_, fem(), fem_, fhot(), fhot_, hadEnergy(), hadEnergy_, position(), position_, edm::RefVector< C, T, F >::push_back(), sigmaz(), sigmaz_, usedTowers_, width(), and width_.
|
virtual |
|
inline |
add reference to constituent CastorTower
Definition at line 93 of file CastorCluster.h.
References edm::RefVector< C, T, F >::push_back(), hgcalTowerProducer_cfi::tower, and usedTowers_.
Referenced by counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().
|
inline |
cluster depth in z
Definition at line 72 of file CastorCluster.h.
References depth_.
Referenced by CastorCluster().
|
inline |
cluster em energy
Definition at line 60 of file CastorCluster.h.
References emEnergy_.
Referenced by CastorCluster().
|
inline |
cluster energy
Definition at line 54 of file CastorCluster.h.
References energy_.
Referenced by CastorCluster(), and Jet.Jet::rawEnergy().
|
inline |
pseudorapidity of cluster centroid
Definition at line 108 of file CastorCluster.h.
References position_.
Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
inline |
cluster em/tot ratio
Definition at line 66 of file CastorCluster.h.
References fem_.
Referenced by CastorCluster().
|
inline |
cluster hotcell/tot ratio
Definition at line 75 of file CastorCluster.h.
References fhot_.
Referenced by CastorCluster().
|
inline |
vector of used Towers
Definition at line 81 of file CastorCluster.h.
References usedTowers_.
|
inline |
cluster had energy
Definition at line 63 of file CastorCluster.h.
References hadEnergy_.
Referenced by CastorCluster().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
azimuthal angle of cluster centroid
Definition at line 111 of file CastorCluster.h.
References position_.
Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().
|
inline |
cluster centroid position
Definition at line 57 of file CastorCluster.h.
References position_.
Referenced by CastorCluster().
|
inline |
rho of cluster centroid
Definition at line 120 of file CastorCluster.h.
References position_.
Referenced by Lepton.Lepton::absIsoFromEA(), and Muon.Muon::absIsoWithFSR().
|
inline |
cluster sigma z
Definition at line 78 of file CastorCluster.h.
References sigmaz_.
Referenced by CastorCluster().
|
inline |
fist iterator over CastorTower constituents
Definition at line 84 of file CastorCluster.h.
References edm::RefVector< C, T, F >::begin(), and usedTowers_.
|
inline |
last iterator over CastorTower constituents
Definition at line 87 of file CastorCluster.h.
References edm::RefVector< C, T, F >::end(), and usedTowers_.
|
inline |
number of CastorTower constituents
Definition at line 90 of file CastorCluster.h.
References edm::RefVector< C, T, F >::size(), and usedTowers_.
|
inline |
cluster width in phi
Definition at line 69 of file CastorCluster.h.
References width_.
Referenced by CastorCluster().
|
inline |
x of cluster centroid
Definition at line 114 of file CastorCluster.h.
References position_.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
inline |
y of cluster centroid
Definition at line 117 of file CastorCluster.h.
References position_.
Referenced by svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
private |
cluster depth
Definition at line 142 of file CastorCluster.h.
Referenced by CastorCluster(), and depth().
|
private |
cluster em energy
Definition at line 130 of file CastorCluster.h.
Referenced by CastorCluster(), and emEnergy().
|
private |
cluster energy
Definition at line 124 of file CastorCluster.h.
Referenced by CastorCluster(), energy(), operator<(), operator<=(), operator>(), and operator>=().
|
private |
cluster em/tot Ratio
Definition at line 136 of file CastorCluster.h.
Referenced by CastorCluster(), and fem().
|
private |
cluster hotcell/tot ratio
Definition at line 145 of file CastorCluster.h.
Referenced by CastorCluster(), and fhot().
|
private |
cluster had energy
Definition at line 133 of file CastorCluster.h.
Referenced by CastorCluster(), and hadEnergy().
|
private |
cluster centroid position
Definition at line 127 of file CastorCluster.h.
Referenced by CastorCluster(), eta(), phi(), position(), rho(), x(), and y().
|
private |
cluster sigma z
Definition at line 148 of file CastorCluster.h.
Referenced by CastorCluster(), and sigmaz().
|
private |
references to CastorTower constituents
Definition at line 151 of file CastorCluster.h.
Referenced by add(), CastorCluster(), getUsedTowers(), towersBegin(), towersEnd(), and towersSize().
|
private |
cluster width
Definition at line 139 of file CastorCluster.h.
Referenced by CastorCluster(), and width().