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.
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
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
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

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, PtEtaPhiMass(0.,etatau, phitau, 0.) )
      ,l1tau_(l1tau), 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, PtEtaPhiMass(0.,etatau, phitau, 0.) )
      ,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 40 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 43 of file EcalIsolatedParticleCandidate.h.

References enOut_.

{return enOut_;}
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 46 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 49 of file EcalIsolatedParticleCandidate.h.

References nhitOut_.

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

set reference to l1 tau jet

Definition at line 52 of file EcalIsolatedParticleCandidate.h.

References l1tau_.

{ l1tau_ = l1tau; }

Member Data Documentation

energy in inner cone around L1 tau jet

Definition at line 59 of file EcalIsolatedParticleCandidate.h.

Referenced by energyIn().

energy in outer cone around L1 tau jet

Definition at line 61 of file EcalIsolatedParticleCandidate.h.

Referenced by energyOut().

reference to a L1 tau jet

Definition at line 57 of file EcalIsolatedParticleCandidate.h.

Referenced by setL1TauJet().

number of hits in inner cone

Definition at line 63 of file EcalIsolatedParticleCandidate.h.

Referenced by nHitIn().

number of hits in inner cone

Definition at line 65 of file EcalIsolatedParticleCandidate.h.

Referenced by nHitOut().