#include <DataFormats/CastorReco/CastorCell.h>
Public Member Functions | |
CastorCell () | |
default constructor. Sets energy and position to zero More... | |
CastorCell (const double energy, const ROOT::Math::XYZPoint &position) | |
constructor from values More... | |
double | energy () const |
cell energy More... | |
double | eta () const |
eta coordinate of cell centroid More... | |
bool | operator< (const CastorCell &rhs) const |
comparison <= operator More... | |
bool | operator<= (const CastorCell &rhs) const |
comparison <= operator More... | |
bool | operator> (const CastorCell &rhs) const |
comparison > operator More... | |
bool | operator>= (const CastorCell &rhs) const |
comparison >= operator More... | |
double | phi () const |
azimuthal angle of cell centroid More... | |
ROOT::Math::XYZPoint | position () const |
cell centroid position More... | |
double | rho () const |
rho coordinate of cell centroid More... | |
double | x () const |
x coordinate of cell centroid More... | |
double | y () const |
y coordinate of cell centroid More... | |
double | z () const |
z coordinate of cell centroid More... | |
virtual | ~CastorCell () |
destructor More... | |
Private Attributes | |
double | energy_ |
cell energy More... | |
ROOT::Math::XYZPoint | position_ |
cell centroid position More... | |
Class for CastorCells made of full simulation/data
Definition at line 22 of file CastorCell.h.
|
inline |
default constructor. Sets energy and position to zero
Definition at line 25 of file CastorCell.h.
reco::CastorCell::CastorCell | ( | const double | energy, |
const ROOT::Math::XYZPoint & | position | ||
) |
constructor from values
Definition at line 3 of file CastorCell.cc.
References energy(), energy_, position(), and position_.
|
virtual |
|
inline |
cell energy
Definition at line 34 of file CastorCell.h.
References energy_.
Referenced by CastorCell(), and Jet.Jet::rawEnergy().
|
inline |
eta coordinate of cell centroid
Definition at line 67 of file CastorCell.h.
References position_.
Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), Jet.Jet::jetID(), datamodel.Object::p4(), and Jet.Jet::puJetId().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
azimuthal angle of cell centroid
Definition at line 55 of file CastorCell.h.
References position_.
Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), datamodel.Object::p4(), and ntupleDataFormat.Track::phiPull().
|
inline |
cell centroid position
Definition at line 37 of file CastorCell.h.
References position_.
Referenced by CastorCell().
|
inline |
rho coordinate of cell centroid
Definition at line 64 of file CastorCell.h.
References position_.
Referenced by Lepton.Lepton::absIsoFromEA(), and Muon.Muon::absIsoWithFSR().
|
inline |
x coordinate of cell centroid
Definition at line 58 of file CastorCell.h.
References position_.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
inline |
y coordinate of cell centroid
Definition at line 61 of file CastorCell.h.
References position_.
Referenced by svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
inline |
z coordinate of cell centroid
Definition at line 52 of file CastorCell.h.
References position_.
Referenced by geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().
|
private |
cell energy
Definition at line 71 of file CastorCell.h.
Referenced by CastorCell(), energy(), operator<(), operator<=(), operator>(), and operator>=().
|
private |
cell centroid position
Definition at line 74 of file CastorCell.h.
Referenced by CastorCell(), eta(), phi(), position(), rho(), x(), y(), and z().