CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
reco::CastorJet Class Reference

#include <DataFormats/CastorReco/CastorJet.h>

Inheritance diagram for reco::CastorJet:
reco::CastorCluster

Public Member Functions

 CastorJet ()
 default constructor. Sets energy to zero More...
 
 CastorJet (const double energycal, const CastorClusterRef &usedCluster)
 constructor from values More...
 
double depth () const
 Jet depth in z. More...
 
double emEnergy () const
 Jet em energy. More...
 
double energy () const
 Jet energy. More...
 
double energycal () const
 Jet energycal. More...
 
double eta () const
 pseudorapidity of Jet centroid More...
 
double fem () const
 Jet em/tot ratio. More...
 
double fhot () const
 Jet hotcell/tot ratio. More...
 
CastorClusterRef getUsedCluster () const
 vector of used Clusters More...
 
double hadEnergy () const
 Jet had energy. More...
 
bool operator< (const CastorJet &rhs) const
 comparison <= operator More...
 
bool operator<= (const CastorJet &rhs) const
 comparison <= operator More...
 
bool operator> (const CastorJet &rhs) const
 comparison > operator More...
 
bool operator>= (const CastorJet &rhs) const
 comparison >= operator More...
 
double phi () const
 azimuthal angle of Jet centroid More...
 
ROOT::Math::XYZPoint position () const
 Jet centroid position. More...
 
double rho () const
 rho of Jet centroid More...
 
double sigmaz () const
 Jet sigma z. More...
 
double width () const
 Jet width in phi. More...
 
double x () const
 x of Jet centroid More...
 
double y () const
 y of Jet centroid More...
 
 ~CastorJet () override
 destructor More...
 
- Public Member Functions inherited from reco::CastorCluster
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 energycal_
 Jet energycal. More...
 
CastorClusterRef usedCluster_
 used CastorClusters More...
 

Detailed Description

Class for Castor electrons/photons

Author
Hans Van Haevermaet, University of Antwerp

Definition at line 17 of file CastorJet.h.

Constructor & Destructor Documentation

reco::CastorJet::CastorJet ( )
inline

default constructor. Sets energy to zero

Definition at line 20 of file CastorJet.h.

20 : energycal_(0.) {}
double energycal_
Jet energycal.
Definition: CastorJet.h:90
reco::CastorJet::CastorJet ( const double  energycal,
const CastorClusterRef usedCluster 
)

constructor from values

Definition at line 3 of file CastorJet.cc.

References energycal(), energycal_, and usedCluster_.

3  {
5  usedCluster_ = usedCluster;
6 }
CastorClusterRef usedCluster_
used CastorClusters
Definition: CastorJet.h:93
double energycal() const
Jet energycal.
Definition: CastorJet.h:32
double energycal_
Jet energycal.
Definition: CastorJet.h:90
reco::CastorJet::~CastorJet ( )
override

destructor

Definition at line 8 of file CastorJet.cc.

8 {}

Member Function Documentation

double reco::CastorJet::depth ( ) const
inline

Jet depth in z.

Definition at line 65 of file CastorJet.h.

65 { return (*usedCluster_).depth(); }
double reco::CastorJet::emEnergy ( ) const
inline

Jet em energy.

Definition at line 53 of file CastorJet.h.

53 { return (*usedCluster_).emEnergy(); }
double reco::CastorJet::energy ( ) const
inline

Jet energy.

Definition at line 29 of file CastorJet.h.

Referenced by Jet.Jet::rawEnergy().

29 { return (*usedCluster_).energy(); }
double reco::CastorJet::energycal ( ) const
inline

Jet energycal.

Definition at line 32 of file CastorJet.h.

References energycal_.

Referenced by CastorJet().

32 { return energycal_; }
double energycal_
Jet energycal.
Definition: CastorJet.h:90
double reco::CastorJet::eta ( ) const
inline

pseudorapidity of Jet centroid

Definition at line 74 of file CastorJet.h.

Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().

74 { return (*usedCluster_).eta(); }
double reco::CastorJet::fem ( ) const
inline

Jet em/tot ratio.

Definition at line 59 of file CastorJet.h.

59 { return (*usedCluster_).fem(); }
double reco::CastorJet::fhot ( ) const
inline

Jet hotcell/tot ratio.

Definition at line 68 of file CastorJet.h.

68 { return (*usedCluster_).fhot(); }
CastorClusterRef reco::CastorJet::getUsedCluster ( ) const
inline

vector of used Clusters

Definition at line 38 of file CastorJet.h.

References usedCluster_.

38 { return usedCluster_; }
CastorClusterRef usedCluster_
used CastorClusters
Definition: CastorJet.h:93
double reco::CastorJet::hadEnergy ( ) const
inline

Jet had energy.

Definition at line 56 of file CastorJet.h.

56 { return (*usedCluster_).hadEnergy(); }
bool reco::CastorJet::operator< ( const CastorJet rhs) const
inline

comparison <= operator

Definition at line 50 of file CastorJet.h.

References energycal_.

50 { return (energycal_ < rhs.energycal_); }
double energycal_
Jet energycal.
Definition: CastorJet.h:90
bool reco::CastorJet::operator<= ( const CastorJet rhs) const
inline

comparison <= operator

Definition at line 47 of file CastorJet.h.

References energycal_.

47 { return (energycal_ <= rhs.energycal_); }
double energycal_
Jet energycal.
Definition: CastorJet.h:90
bool reco::CastorJet::operator> ( const CastorJet rhs) const
inline

comparison > operator

Definition at line 44 of file CastorJet.h.

References energycal_.

44 { return (energycal_ > rhs.energycal_); }
double energycal_
Jet energycal.
Definition: CastorJet.h:90
bool reco::CastorJet::operator>= ( const CastorJet rhs) const
inline

comparison >= operator

Definition at line 41 of file CastorJet.h.

References energycal_.

41 { return (energycal_ >= rhs.energycal_); }
double energycal_
Jet energycal.
Definition: CastorJet.h:90
double reco::CastorJet::phi ( ) const
inline

azimuthal angle of Jet centroid

Definition at line 77 of file CastorJet.h.

Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().

77 { return (*usedCluster_).phi(); }
ROOT::Math::XYZPoint reco::CastorJet::position ( ) const
inline

Jet centroid position.

Definition at line 35 of file CastorJet.h.

35 { return (*usedCluster_).position(); }
double reco::CastorJet::rho ( ) const
inline

rho of Jet centroid

Definition at line 86 of file CastorJet.h.

Referenced by Lepton.Lepton::absIsoFromEA(), and Muon.Muon::absIsoWithFSR().

86 { return (*usedCluster_).rho(); }
double reco::CastorJet::sigmaz ( ) const
inline

Jet sigma z.

Definition at line 71 of file CastorJet.h.

71 { return (*usedCluster_).sigmaz(); }
double reco::CastorJet::width ( ) const
inline

Jet width in phi.

Definition at line 62 of file CastorJet.h.

62 { return (*usedCluster_).width(); }
double reco::CastorJet::x ( ) const
inline
double reco::CastorJet::y ( ) const
inline

y of Jet centroid

Definition at line 83 of file CastorJet.h.

Referenced by svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().

83 { return (*usedCluster_).y(); }

Member Data Documentation

double reco::CastorJet::energycal_
private

Jet energycal.

Definition at line 90 of file CastorJet.h.

Referenced by CastorJet(), energycal(), operator<(), operator<=(), operator>(), and operator>=().

CastorClusterRef reco::CastorJet::usedCluster_
private

used CastorClusters

Definition at line 93 of file CastorJet.h.

Referenced by CastorJet(), and getUsedCluster().