CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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...
 
virtual ~CastorJet ()
 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 21 of file CastorJet.h.

21 : energycal_(0.) { }
double energycal_
Jet energycal.
Definition: CastorJet.h:92
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:95
double energycal() const
Jet energycal.
Definition: CastorJet.h:33
double energycal_
Jet energycal.
Definition: CastorJet.h:92
reco::CastorJet::~CastorJet ( )
virtual

destructor

Definition at line 8 of file CastorJet.cc.

8  {
9 
10 }

Member Function Documentation

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

Jet depth in z.

Definition at line 66 of file CastorJet.h.

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

Jet em energy.

Definition at line 54 of file CastorJet.h.

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

Jet energy.

Definition at line 30 of file CastorJet.h.

Referenced by Jet.Jet::rawEnergy().

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

Jet energycal.

Definition at line 33 of file CastorJet.h.

References energycal_.

Referenced by CastorJet().

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

pseudorapidity of Jet centroid

Definition at line 75 of file CastorJet.h.

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

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

Jet em/tot ratio.

Definition at line 60 of file CastorJet.h.

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

Jet hotcell/tot ratio.

Definition at line 69 of file CastorJet.h.

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

vector of used Clusters

Definition at line 39 of file CastorJet.h.

References usedCluster_.

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

Jet had energy.

Definition at line 57 of file CastorJet.h.

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

comparison <= operator

Definition at line 51 of file CastorJet.h.

References energycal_.

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

comparison <= operator

Definition at line 48 of file CastorJet.h.

References energycal_.

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

comparison > operator

Definition at line 45 of file CastorJet.h.

References energycal_.

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

comparison >= operator

Definition at line 42 of file CastorJet.h.

References energycal_.

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

azimuthal angle of Jet centroid

Definition at line 78 of file CastorJet.h.

Referenced by Particle.Particle::__str__().

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

Jet centroid position.

Definition at line 36 of file CastorJet.h.

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

rho of Jet centroid

Definition at line 87 of file CastorJet.h.

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

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

Jet sigma z.

Definition at line 72 of file CastorJet.h.

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

Member Data Documentation

double reco::CastorJet::energycal_
private

Jet energycal.

Definition at line 92 of file CastorJet.h.

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

CastorClusterRef reco::CastorJet::usedCluster_
private

used CastorClusters

Definition at line 95 of file CastorJet.h.

Referenced by CastorJet(), and getUsedCluster().