CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::CastorJet Class Reference

#include <DataFormats/CastorReco/CastorJet.h>

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

List of all members.

Public Member Functions

 CastorJet ()
 default constructor. Sets energy to zero
 CastorJet (const double energycal, const CastorClusterRef &usedCluster)
 constructor from values
double depth () const
 Jet depth in z.
double emEnergy () const
 Jet em energy.
double energy () const
 Jet energy.
double energycal () const
 Jet energycal.
double eta () const
 pseudorapidity of Jet centroid
double fem () const
 Jet em/tot ratio.
double fhot () const
 Jet hotcell/tot ratio.
CastorClusterRef getUsedCluster () const
 vector of used Clusters
double hadEnergy () const
 Jet had energy.
bool operator< (const CastorJet &rhs) const
 comparison <= operator
bool operator<= (const CastorJet &rhs) const
 comparison <= operator
bool operator> (const CastorJet &rhs) const
 comparison > operator
bool operator>= (const CastorJet &rhs) const
 comparison >= operator
double phi () const
 azimuthal angle of Jet centroid
ROOT::Math::XYZPoint position () const
 Jet centroid position.
double rho () const
 rho of Jet centroid
double sigmaz () const
 Jet sigma z.
double width () const
 Jet width in phi.
double x () const
 x of Jet centroid
double y () const
 y of Jet centroid
virtual ~CastorJet ()
 destructor

Private Attributes

double energycal_
 Jet energycal.
CastorClusterRef usedCluster_
 used CastorClusters

Detailed Description

Class for Castor electrons/photons

Author:
Hans Van Haevermaet, University of Antwerp
Version:
Id:
CastorJet.h,v 1.6 2010/07/03 19:12:57 hvanhaev Exp

Definition at line 18 of file CastorJet.h.


Constructor & Destructor Documentation

reco::CastorJet::CastorJet ( ) [inline]

default constructor. Sets energy to zero

Definition at line 22 of file CastorJet.h.

: energycal_(0.) { }
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_.

                                                                                        {
  energycal_ = energycal;
  usedCluster_ = usedCluster;
}
reco::CastorJet::~CastorJet ( ) [virtual]

destructor

Definition at line 8 of file CastorJet.cc.

                          {

}

Member Function Documentation

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

Jet depth in z.

Reimplemented from reco::CastorCluster.

Definition at line 67 of file CastorJet.h.

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

Jet em energy.

Reimplemented from reco::CastorCluster.

Definition at line 55 of file CastorJet.h.

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

Jet energy.

Reimplemented from reco::CastorCluster.

Definition at line 31 of file CastorJet.h.

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

Jet energycal.

Definition at line 34 of file CastorJet.h.

References energycal_.

Referenced by CastorJet().

{ return energycal_; }
double reco::CastorJet::eta ( ) const [inline]

pseudorapidity of Jet centroid

Reimplemented from reco::CastorCluster.

Definition at line 76 of file CastorJet.h.

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

Jet em/tot ratio.

Reimplemented from reco::CastorCluster.

Definition at line 61 of file CastorJet.h.

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

Jet hotcell/tot ratio.

Reimplemented from reco::CastorCluster.

Definition at line 70 of file CastorJet.h.

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

vector of used Clusters

Definition at line 40 of file CastorJet.h.

References usedCluster_.

{ return usedCluster_; }
double reco::CastorJet::hadEnergy ( ) const [inline]

Jet had energy.

Reimplemented from reco::CastorCluster.

Definition at line 58 of file CastorJet.h.

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

comparison <= operator

Definition at line 52 of file CastorJet.h.

References energycal_.

{ return (energycal_< rhs.energycal_); }
bool reco::CastorJet::operator<= ( const CastorJet rhs) const [inline]

comparison <= operator

Definition at line 49 of file CastorJet.h.

References energycal_.

{ return (energycal_<=rhs.energycal_); }
bool reco::CastorJet::operator> ( const CastorJet rhs) const [inline]

comparison > operator

Definition at line 46 of file CastorJet.h.

References energycal_.

{ return (energycal_> rhs.energycal_); }
bool reco::CastorJet::operator>= ( const CastorJet rhs) const [inline]

comparison >= operator

Definition at line 43 of file CastorJet.h.

References energycal_.

{ return (energycal_>=rhs.energycal_); }
double reco::CastorJet::phi ( ) const [inline]

azimuthal angle of Jet centroid

Reimplemented from reco::CastorCluster.

Definition at line 79 of file CastorJet.h.

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

Jet centroid position.

Reimplemented from reco::CastorCluster.

Definition at line 37 of file CastorJet.h.

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

rho of Jet centroid

Reimplemented from reco::CastorCluster.

Definition at line 88 of file CastorJet.h.

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

Jet sigma z.

Reimplemented from reco::CastorCluster.

Definition at line 73 of file CastorJet.h.

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

Jet width in phi.

Reimplemented from reco::CastorCluster.

Definition at line 64 of file CastorJet.h.

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

x of Jet centroid

Reimplemented from reco::CastorCluster.

Definition at line 82 of file CastorJet.h.

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

y of Jet centroid

Reimplemented from reco::CastorCluster.

Definition at line 85 of file CastorJet.h.

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

Member Data Documentation

double reco::CastorJet::energycal_ [private]

Jet energycal.

Definition at line 93 of file CastorJet.h.

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

used CastorClusters

Definition at line 96 of file CastorJet.h.

Referenced by CastorJet(), and getUsedCluster().