#include <DataFormats/CastorReco/CastorEgamma.h>
Public Member Functions | |
CastorEgamma () | |
default constructor. Sets energy to zero | |
CastorEgamma (const double energycal, const CastorClusterRef &usedCluster) | |
constructor from values | |
double | depth () const |
Egamma depth in z. | |
double | emEnergy () const |
Egamma em energy. | |
double | energy () const |
Egamma energy. | |
double | energycal () const |
Egamma energycal. | |
double | eta () const |
pseudorapidity of Egamma centroid | |
double | fem () const |
Egamma em/tot ratio. | |
double | fhot () const |
Egamma hotcell/tot ratio. | |
CastorClusterRef | getUsedCluster () const |
vector of used Clusters | |
double | hadEnergy () const |
Egamma had energy. | |
bool | operator< (const CastorEgamma &rhs) const |
comparison <= operator | |
bool | operator<= (const CastorEgamma &rhs) const |
comparison <= operator | |
bool | operator> (const CastorEgamma &rhs) const |
comparison > operator | |
bool | operator>= (const CastorEgamma &rhs) const |
comparison >= operator | |
double | phi () const |
azimuthal angle of Egamma centroid | |
ROOT::Math::XYZPoint | position () const |
Egamma centroid position. | |
double | rho () const |
rho of Egamma centroid | |
double | sigmaz () const |
Egamma sigma z. | |
double | width () const |
Egamma width in phi. | |
double | x () const |
x of Egamma centroid | |
double | y () const |
y of Egamma centroid | |
virtual | ~CastorEgamma () |
destructor | |
Private Attributes | |
double | energycal_ |
Egamma energycal. | |
CastorClusterRef | usedCluster_ |
used CastorClusters |
Class for Castor electrons/photons
Definition at line 18 of file CastorEgamma.h.
reco::CastorEgamma::CastorEgamma | ( | ) | [inline] |
default constructor. Sets energy to zero
Definition at line 22 of file CastorEgamma.h.
: energycal_(0.) { }
reco::CastorEgamma::CastorEgamma | ( | const double | energycal, |
const CastorClusterRef & | usedCluster | ||
) |
constructor from values
Definition at line 3 of file CastorEgamma.cc.
References energycal(), energycal_, and usedCluster_.
{ energycal_ = energycal; usedCluster_ = usedCluster; }
reco::CastorEgamma::~CastorEgamma | ( | ) | [virtual] |
double reco::CastorEgamma::depth | ( | ) | const [inline] |
Egamma depth in z.
Reimplemented from reco::CastorCluster.
Definition at line 67 of file CastorEgamma.h.
{ return (*usedCluster_).depth(); }
double reco::CastorEgamma::emEnergy | ( | ) | const [inline] |
Egamma em energy.
Reimplemented from reco::CastorCluster.
Definition at line 55 of file CastorEgamma.h.
{ return (*usedCluster_).emEnergy(); }
double reco::CastorEgamma::energy | ( | ) | const [inline] |
Egamma energy.
Reimplemented from reco::CastorCluster.
Definition at line 31 of file CastorEgamma.h.
{ return (*usedCluster_).energy(); }
double reco::CastorEgamma::energycal | ( | ) | const [inline] |
Egamma energycal.
Definition at line 34 of file CastorEgamma.h.
References energycal_.
Referenced by CastorEgamma().
{ return energycal_; }
double reco::CastorEgamma::eta | ( | ) | const [inline] |
pseudorapidity of Egamma centroid
Reimplemented from reco::CastorCluster.
Definition at line 76 of file CastorEgamma.h.
{ return (*usedCluster_).eta(); }
double reco::CastorEgamma::fem | ( | ) | const [inline] |
Egamma em/tot ratio.
Reimplemented from reco::CastorCluster.
Definition at line 61 of file CastorEgamma.h.
{ return (*usedCluster_).fem(); }
double reco::CastorEgamma::fhot | ( | ) | const [inline] |
Egamma hotcell/tot ratio.
Reimplemented from reco::CastorCluster.
Definition at line 70 of file CastorEgamma.h.
{ return (*usedCluster_).fhot(); }
CastorClusterRef reco::CastorEgamma::getUsedCluster | ( | ) | const [inline] |
vector of used Clusters
Definition at line 40 of file CastorEgamma.h.
References usedCluster_.
{ return usedCluster_; }
double reco::CastorEgamma::hadEnergy | ( | ) | const [inline] |
Egamma had energy.
Reimplemented from reco::CastorCluster.
Definition at line 58 of file CastorEgamma.h.
{ return (*usedCluster_).hadEnergy(); }
bool reco::CastorEgamma::operator< | ( | const CastorEgamma & | rhs | ) | const [inline] |
comparison <= operator
Definition at line 52 of file CastorEgamma.h.
References energycal_.
{ return (energycal_< rhs.energycal_); }
bool reco::CastorEgamma::operator<= | ( | const CastorEgamma & | rhs | ) | const [inline] |
comparison <= operator
Definition at line 49 of file CastorEgamma.h.
References energycal_.
{ return (energycal_<=rhs.energycal_); }
bool reco::CastorEgamma::operator> | ( | const CastorEgamma & | rhs | ) | const [inline] |
comparison > operator
Definition at line 46 of file CastorEgamma.h.
References energycal_.
{ return (energycal_> rhs.energycal_); }
bool reco::CastorEgamma::operator>= | ( | const CastorEgamma & | rhs | ) | const [inline] |
comparison >= operator
Definition at line 43 of file CastorEgamma.h.
References energycal_.
{ return (energycal_>=rhs.energycal_); }
double reco::CastorEgamma::phi | ( | ) | const [inline] |
azimuthal angle of Egamma centroid
Reimplemented from reco::CastorCluster.
Definition at line 79 of file CastorEgamma.h.
{ return (*usedCluster_).phi(); }
ROOT::Math::XYZPoint reco::CastorEgamma::position | ( | ) | const [inline] |
Egamma centroid position.
Reimplemented from reco::CastorCluster.
Definition at line 37 of file CastorEgamma.h.
{ return (*usedCluster_).position(); }
double reco::CastorEgamma::rho | ( | ) | const [inline] |
rho of Egamma centroid
Reimplemented from reco::CastorCluster.
Definition at line 88 of file CastorEgamma.h.
{ return (*usedCluster_).rho(); }
double reco::CastorEgamma::sigmaz | ( | ) | const [inline] |
Egamma sigma z.
Reimplemented from reco::CastorCluster.
Definition at line 73 of file CastorEgamma.h.
{ return (*usedCluster_).sigmaz(); }
double reco::CastorEgamma::width | ( | ) | const [inline] |
Egamma width in phi.
Reimplemented from reco::CastorCluster.
Definition at line 64 of file CastorEgamma.h.
{ return (*usedCluster_).width(); }
double reco::CastorEgamma::x | ( | ) | const [inline] |
x of Egamma centroid
Reimplemented from reco::CastorCluster.
Definition at line 82 of file CastorEgamma.h.
{ return (*usedCluster_).x(); }
double reco::CastorEgamma::y | ( | ) | const [inline] |
y of Egamma centroid
Reimplemented from reco::CastorCluster.
Definition at line 85 of file CastorEgamma.h.
{ return (*usedCluster_).y(); }
double reco::CastorEgamma::energycal_ [private] |
Egamma energycal.
Definition at line 93 of file CastorEgamma.h.
Referenced by CastorEgamma(), energycal(), operator<(), operator<=(), operator>(), and operator>=().
used CastorClusters
Definition at line 96 of file CastorEgamma.h.
Referenced by CastorEgamma(), and getUsedCluster().