#include <ClusEcalEtSumVisitor.h>
Inheritance diagram for Atlfast::ClusEcalEtSumVisitor:
Public Member Functions | |
ClusEcalEtSumVisitor (const Cluster *cluster, const double coreRadius=0.2) | |
~ClusEcalEtSumVisitor () | |
void | reset () |
void | operator() (const IAOO *ia) |
virtual void | process (const Cell *) |
IAOOvisitor interface;. | |
virtual void | process (const Cluster *) |
virtual void | process (const KtCluster *) |
virtual void | process (const Jet *) |
virtual void | process (const ReconstructedParticle *) |
virtual void | process (const SimpleKinematic *) |
virtual void | process (const Track *) |
virtual void | process (const TwoCptCell *) |
double | getSum (const Cell &) const |
double | getSum (const TwoCptCell &) const |
double | getSum (const Cluster &) const |
double | getSum (const KtCluster &) const |
double | getSum (const Jet &) const |
double | getSum (const SimpleKinematic &) const |
double | getSum (const Track &) const |
double | getSum (const ReconstructedParticle &) const |
double | getCore (const TwoCptCell &) const |
double | getIsolRing (const TwoCptCell &) const |
Private Attributes | |
double | m_phi |
Type vectors. | |
double | m_eta |
double | m_cellEt |
double | m_coneEt |
double | m_clusterEt |
double | m_ktClusterEt |
double | m_jetEt |
double | m_reconstructedParticleEt |
double | m_simpleKinematicEt |
double | m_trackEt |
double | m_coreRadius |
double | m_coreEt |
Definition at line 38 of file ClusEcalEtSumVisitor.h.
Atlfast::ClusEcalEtSumVisitor::ClusEcalEtSumVisitor | ( | const Cluster * | cluster, | |
const double | coreRadius = 0.2 | |||
) | [inline] |
Definition at line 40 of file ClusEcalEtSumVisitor.h.
00040 : 00041 m_phi(cluster->phi()), 00042 m_eta(cluster->eta()), 00043 m_cellEt(0), 00044 m_coneEt(0), 00045 m_clusterEt(0), 00046 m_ktClusterEt(0), 00047 m_reconstructedParticleEt(0), 00048 m_simpleKinematicEt(0), 00049 m_trackEt(0), 00050 m_coreRadius(coreRadius), m_coreEt(0){}
Atlfast::ClusEcalEtSumVisitor::~ClusEcalEtSumVisitor | ( | ) | [inline] |
void Atlfast::ClusEcalEtSumVisitor::reset | ( | ) |
void Atlfast::ClusEcalEtSumVisitor::operator() | ( | const IAOO * | ia | ) |
void Atlfast::ClusEcalEtSumVisitor::process | ( | const Cell * | ) | [virtual] |
IAOOvisitor interface;.
Implements Atlfast::IAOOvisitor.
Definition at line 18 of file ClusEcalEtSumVisitor.cxx.
00018 { 00019 const IKinematic* ik = t; 00020 m_cellEt += ik->eT(); 00021 }
void Atlfast::ClusEcalEtSumVisitor::process | ( | const Cluster * | ) | [virtual] |
Implements Atlfast::IAOOvisitor.
Definition at line 22 of file ClusEcalEtSumVisitor.cxx.
00022 { 00023 const IKinematic* ik = t; 00024 m_clusterEt += ik->eT(); 00025 }
void Atlfast::ClusEcalEtSumVisitor::process | ( | const KtCluster * | ) | [virtual] |
Implements Atlfast::IAOOvisitor.
Definition at line 26 of file ClusEcalEtSumVisitor.cxx.
00026 { 00027 const IKinematic* ik = t; 00028 m_ktClusterEt += ik->eT(); 00029 }
void Atlfast::ClusEcalEtSumVisitor::process | ( | const Jet * | ) | [virtual] |
Implements Atlfast::IAOOvisitor.
Definition at line 30 of file ClusEcalEtSumVisitor.cxx.
00030 { 00031 const IKinematic* ik = t; 00032 m_jetEt += ik->eT(); 00033 }
void Atlfast::ClusEcalEtSumVisitor::process | ( | const ReconstructedParticle * | ) | [virtual] |
Implements Atlfast::IAOOvisitor.
Definition at line 34 of file ClusEcalEtSumVisitor.cxx.
00034 { 00035 const IKinematic* ik = t; 00036 m_reconstructedParticleEt += ik->eT(); 00037 }
void Atlfast::ClusEcalEtSumVisitor::process | ( | const SimpleKinematic * | ) | [virtual] |
Implements Atlfast::IAOOvisitor.
Definition at line 38 of file ClusEcalEtSumVisitor.cxx.
00038 { 00039 const IKinematic* ik = t; 00040 m_simpleKinematicEt += ik->eT(); 00041 }
void Atlfast::ClusEcalEtSumVisitor::process | ( | const Track * | ) | [virtual] |
Implements Atlfast::IAOOvisitor.
Definition at line 42 of file ClusEcalEtSumVisitor.cxx.
00042 { 00043 const IKinematic* ik = t; 00044 m_trackEt += ik->eT(); 00045 }
void Atlfast::ClusEcalEtSumVisitor::process | ( | const TwoCptCell * | ) | [virtual] |
Implements Atlfast::IAOOvisitor.
Definition at line 46 of file ClusEcalEtSumVisitor.cxx.
00046 { 00047 m_coneEt += t->ecalEt(); 00048 const ICell* ic = t; 00049 double dR = std::sqrt(std::pow(ic->eta()-m_eta,2)+std::pow(ic->phi()-m_phi,2)); 00050 if (dR < m_coreRadius) m_coreEt += t->ecalEt(); 00051 }
double Atlfast::ClusEcalEtSumVisitor::getSum | ( | const Cell & | ) | const |
double Atlfast::ClusEcalEtSumVisitor::getSum | ( | const TwoCptCell & | ) | const |
double Atlfast::ClusEcalEtSumVisitor::getSum | ( | const Cluster & | ) | const |
double Atlfast::ClusEcalEtSumVisitor::getSum | ( | const KtCluster & | ) | const |
double Atlfast::ClusEcalEtSumVisitor::getSum | ( | const Jet & | ) | const |
double Atlfast::ClusEcalEtSumVisitor::getSum | ( | const SimpleKinematic & | ) | const |
Definition at line 68 of file ClusEcalEtSumVisitor.cxx.
00068 { 00069 return m_simpleKinematicEt; 00070 }
double Atlfast::ClusEcalEtSumVisitor::getSum | ( | const Track & | ) | const |
double Atlfast::ClusEcalEtSumVisitor::getSum | ( | const ReconstructedParticle & | ) | const |
Definition at line 74 of file ClusEcalEtSumVisitor.cxx.
00074 { 00075 return m_reconstructedParticleEt; 00076 }
double Atlfast::ClusEcalEtSumVisitor::getCore | ( | const TwoCptCell & | ) | const |
double Atlfast::ClusEcalEtSumVisitor::getIsolRing | ( | const TwoCptCell & | ) | const |
double Atlfast::ClusEcalEtSumVisitor::m_phi [private] |
double Atlfast::ClusEcalEtSumVisitor::m_eta [private] |
Definition at line 89 of file ClusEcalEtSumVisitor.h.
double Atlfast::ClusEcalEtSumVisitor::m_cellEt [private] |
Definition at line 90 of file ClusEcalEtSumVisitor.h.
double Atlfast::ClusEcalEtSumVisitor::m_coneEt [private] |
Definition at line 91 of file ClusEcalEtSumVisitor.h.
double Atlfast::ClusEcalEtSumVisitor::m_clusterEt [private] |
Definition at line 92 of file ClusEcalEtSumVisitor.h.
double Atlfast::ClusEcalEtSumVisitor::m_ktClusterEt [private] |
Definition at line 93 of file ClusEcalEtSumVisitor.h.
double Atlfast::ClusEcalEtSumVisitor::m_jetEt [private] |
Definition at line 94 of file ClusEcalEtSumVisitor.h.
double Atlfast::ClusEcalEtSumVisitor::m_reconstructedParticleEt [private] |
Definition at line 95 of file ClusEcalEtSumVisitor.h.
double Atlfast::ClusEcalEtSumVisitor::m_simpleKinematicEt [private] |
Definition at line 96 of file ClusEcalEtSumVisitor.h.
double Atlfast::ClusEcalEtSumVisitor::m_trackEt [private] |
Definition at line 97 of file ClusEcalEtSumVisitor.h.
double Atlfast::ClusEcalEtSumVisitor::m_coreRadius [private] |
Definition at line 98 of file ClusEcalEtSumVisitor.h.
double Atlfast::ClusEcalEtSumVisitor::m_coreEt [private] |
Definition at line 99 of file ClusEcalEtSumVisitor.h.