CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::EcalIsolatedParticleCandidate Class Reference

#include <EcalIsolatedParticleCandidate.h>

Inheritance diagram for reco::EcalIsolatedParticleCandidate:
reco::LeafCandidate reco::Candidate

List of all members.

Public Member Functions

virtual
EcalIsolatedParticleCandidate
clone () const
 returns a clone of the candidate
 EcalIsolatedParticleCandidate ()
 EcalIsolatedParticleCandidate (const l1extra::L1JetParticleRef &l1tau, double etatau, double phitau, double enIn, double enOut, int nhitIn, int nhitOut)
 EcalIsolatedParticleCandidate (double etatau, double phitau, double enIn, double enOut, int nhitIn, int nhitOut)
double energyIn () const
 ECAL energy in the inner cone around tau jet.
double energyOut () const
 ECAL energy in the outer cone around tau jet.
double eta () const
 tau jet eta
virtual l1extra::L1JetParticleRef l1TauJet () const
 reference to a tau jet
int nHitIn () const
 number of ECAL hits in the inner cone around tau jet
int nHitOut () const
 number of ECAL hits in the outer cone around tau jet
double phi () const
 tau jet phi
void setL1TauJet (const l1extra::L1JetParticleRef &l1tau)
 set reference to l1 tau jet
virtual ~EcalIsolatedParticleCandidate ()
 destructor

Private Attributes

double enIn_
 energy in inner cone around L1 tau jet
double enOut_
 energy in outer cone around L1 tau jet
double eta_
 eta of L1 tau jet
l1extra::L1JetParticleRef l1tau_
 reference to a L1 tau jet
int nhitIn_
 number of hits in inner cone
int nhitOut_
 number of hits in inner cone
double phi_
 phi of L1 tau jet

Detailed Description

Definition at line 15 of file EcalIsolatedParticleCandidate.h.


Constructor & Destructor Documentation

reco::EcalIsolatedParticleCandidate::EcalIsolatedParticleCandidate ( ) [inline]

Definition at line 20 of file EcalIsolatedParticleCandidate.h.

: LeafCandidate() { }
reco::EcalIsolatedParticleCandidate::EcalIsolatedParticleCandidate ( const l1extra::L1JetParticleRef l1tau,
double  etatau,
double  phitau,
double  enIn,
double  enOut,
int  nhitIn,
int  nhitOut 
) [inline]

Definition at line 22 of file EcalIsolatedParticleCandidate.h.

                                                                                                                                                            : 
        LeafCandidate( 0, LorentzVector() ),
        l1tau_(l1tau), eta_(etatau),phi_(phitau),enIn_(enIn), enOut_(enOut), nhitIn_(nhitIn), nhitOut_(nhitOut){}
reco::EcalIsolatedParticleCandidate::EcalIsolatedParticleCandidate ( double  etatau,
double  phitau,
double  enIn,
double  enOut,
int  nhitIn,
int  nhitOut 
) [inline]

Definition at line 27 of file EcalIsolatedParticleCandidate.h.

                                                                                                                        :
          LeafCandidate( 0, LorentzVector() ), eta_(etatau),phi_(phitau),enIn_(enIn), enOut_(enOut), nhitIn_(nhitIn), nhitOut_(nhitOut) {} 
reco::EcalIsolatedParticleCandidate::~EcalIsolatedParticleCandidate ( ) [virtual]

destructor

Definition at line 5 of file EcalIsolatedParticleCandidate.cc.

{ }

Member Function Documentation

reco::EcalIsolatedParticleCandidate * reco::EcalIsolatedParticleCandidate::clone ( void  ) const [virtual]

returns a clone of the candidate

Reimplemented from reco::LeafCandidate.

Definition at line 7 of file EcalIsolatedParticleCandidate.cc.

                                                                                   { 
  return new reco::EcalIsolatedParticleCandidate( * this ); 
}
double reco::EcalIsolatedParticleCandidate::energyIn ( ) const [inline]

ECAL energy in the inner cone around tau jet.

Definition at line 44 of file EcalIsolatedParticleCandidate.h.

References enIn_.

{return enIn_; }
double reco::EcalIsolatedParticleCandidate::energyOut ( ) const [inline]

ECAL energy in the outer cone around tau jet.

Definition at line 47 of file EcalIsolatedParticleCandidate.h.

References enOut_.

{return enOut_;}
double reco::EcalIsolatedParticleCandidate::eta ( ) const [inline, virtual]

tau jet eta

Reimplemented from reco::LeafCandidate.

Definition at line 38 of file EcalIsolatedParticleCandidate.h.

References eta_.

{return eta_; }
l1extra::L1JetParticleRef reco::EcalIsolatedParticleCandidate::l1TauJet ( ) const [virtual]

reference to a tau jet

Definition at line 11 of file EcalIsolatedParticleCandidate.cc.

                                                                          {
  return l1tau_;
}
int reco::EcalIsolatedParticleCandidate::nHitIn ( ) const [inline]

number of ECAL hits in the inner cone around tau jet

Definition at line 50 of file EcalIsolatedParticleCandidate.h.

References nhitIn_.

{return nhitIn_;}
int reco::EcalIsolatedParticleCandidate::nHitOut ( ) const [inline]

number of ECAL hits in the outer cone around tau jet

Definition at line 53 of file EcalIsolatedParticleCandidate.h.

References nhitOut_.

{return nhitOut_;}
double reco::EcalIsolatedParticleCandidate::phi ( ) const [inline, virtual]

tau jet phi

Reimplemented from reco::LeafCandidate.

Definition at line 41 of file EcalIsolatedParticleCandidate.h.

References phi_.

{return phi_; }
void reco::EcalIsolatedParticleCandidate::setL1TauJet ( const l1extra::L1JetParticleRef l1tau) [inline]

set reference to l1 tau jet

Definition at line 56 of file EcalIsolatedParticleCandidate.h.

References l1tau_.

{ l1tau_ = l1tau; }

Member Data Documentation

energy in inner cone around L1 tau jet

Definition at line 67 of file EcalIsolatedParticleCandidate.h.

Referenced by energyIn().

energy in outer cone around L1 tau jet

Definition at line 69 of file EcalIsolatedParticleCandidate.h.

Referenced by energyOut().

eta of L1 tau jet

Reimplemented from reco::LeafCandidate.

Definition at line 63 of file EcalIsolatedParticleCandidate.h.

Referenced by eta().

reference to a L1 tau jet

Definition at line 61 of file EcalIsolatedParticleCandidate.h.

Referenced by setL1TauJet().

number of hits in inner cone

Definition at line 71 of file EcalIsolatedParticleCandidate.h.

Referenced by nHitIn().

number of hits in inner cone

Definition at line 73 of file EcalIsolatedParticleCandidate.h.

Referenced by nHitOut().

phi of L1 tau jet

Reimplemented from reco::LeafCandidate.

Definition at line 65 of file EcalIsolatedParticleCandidate.h.

Referenced by phi().