ATLAS Offline Software
Loading...
Searching...
No Matches
CaloSwApplyWgts_g3 Class Reference

#include <CaloSwApplyWgts_g3.h>

Inheritance diagram for CaloSwApplyWgts_g3:
Collaboration diagram for CaloSwApplyWgts_g3:

Public Member Functions

virtual void makeCorrection (const Context &myctx, xAOD::CaloCluster *cluster) const override
virtual StatusCode initialize () override
virtual void setsample (xAOD::CaloCluster *cluster, CaloSampling::CaloSample sampling, float em, float etam, float phim, float emax, float etamax, float phimax, float etas, float phis) const
virtual void setenergy (xAOD::CaloCluster *cluster, float energy) const
StatusCode execute (const EventContext &ctx, xAOD::CaloCluster *cluster) const override
virtual StatusCode execute (const EventContext &ctx, xAOD::CaloClusterContainer *collection) const
 Execute on an entire collection of clusters.

Protected Attributes

SG::ReadCondHandleKey< CaloDetDescrManagerm_caloMgrKey {this,"CaloDetDescrManager", "CaloDetDescrManager"}

Private Member Functions

 CaloSwApplyWgts_g3 ()=delete

Static Private Member Functions

static float GetWgt (int table, float eta)

Static Private Attributes

static const int s_numEtaBins =100
static const float m_table_eta [s_numEtaBins+1]
static const float m_table_p [4][s_numEtaBins]

Detailed Description

Definition at line 27 of file CaloSwApplyWgts_g3.h.

Constructor & Destructor Documentation

◆ CaloSwApplyWgts_g3()

CaloSwApplyWgts_g3::CaloSwApplyWgts_g3 ( )
privatedelete

Member Function Documentation

◆ execute() [1/2]

StatusCode CaloClusterCorrection::execute ( const EventContext & ctx,
xAOD::CaloCluster * cluster ) const
overrideinherited

Definition at line 52 of file CaloClusterCorrection.cxx.

◆ execute() [2/2]

StatusCode CaloClusterProcessor::execute ( const EventContext & ctx,
xAOD::CaloClusterContainer * collection ) const
inherited

Execute on an entire collection of clusters.

Parameters
collectionThe container of clusters.

This will iterate over all the clusters in collection and call execute on each one individually.

Parameters
collectionThe container of clusters.
ctxThe event context.

This will iterate over all the clusters in collection and call execute on each one individually.

Definition at line 65 of file CaloClusterProcessor.cxx.

◆ GetWgt()

float CaloSwApplyWgts_g3::GetWgt ( int table,
float eta )
staticprivate

Definition at line 181 of file CaloSwApplyWgts_g3.cxx.

◆ initialize()

StatusCode CaloClusterCorrection::initialize ( )
overridevirtualinherited

◆ makeCorrection()

void CaloSwApplyWgts_g3::makeCorrection ( const Context & myctx,
xAOD::CaloCluster * cluster ) const
overridevirtual

Implements CaloClusterCorrection.

Definition at line 153 of file CaloSwApplyWgts_g3.cxx.

◆ setenergy()

void CaloClusterCorrection::setenergy ( xAOD::CaloCluster * cluster,
float energy ) const
virtualinherited

Definition at line 93 of file CaloClusterCorrection.cxx.

◆ setsample()

void CaloClusterCorrection::setsample ( xAOD::CaloCluster * cluster,
CaloSampling::CaloSample sampling,
float em,
float etam,
float phim,
float emax,
float etamax,
float phimax,
float etas,
float phis ) const
virtualinherited

Definition at line 73 of file CaloClusterCorrection.cxx.

Member Data Documentation

◆ m_caloMgrKey

SG::ReadCondHandleKey<CaloDetDescrManager> CaloClusterCorrection::m_caloMgrKey {this,"CaloDetDescrManager", "CaloDetDescrManager"}
protectedinherited

Definition at line 83 of file CaloClusterCorrection.h.

◆ m_table_eta

const float CaloSwApplyWgts_g3::m_table_eta
staticprivate
Initial value:

Definition at line 54 of file CaloSwApplyWgts_g3.h.

◆ m_table_p

const float CaloSwApplyWgts_g3::m_table_p
staticprivate

Definition at line 72 of file CaloSwApplyWgts_g3.h.

102 using CaloClusterCorrection::CaloClusterCorrection;
103
104 // virtual method in CaloClusterCorrection
105 virtual void makeCorrection (const Context& myctx,
106 xAOD::CaloCluster* cluster) const override;
107
108 private:
109
110 CaloSwApplyWgts_g3() = delete;
111
112 static const int s_numEtaBins=100;
113 static float GetWgt(int table, float eta) ;
114 static const float m_table_eta[s_numEtaBins+1];
115 static const float m_table_p[4][s_numEtaBins];
116};
117
118#endif
119
Scalar eta() const
pseudorapidity method
CaloSwApplyWgts_g3()=delete
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override

◆ s_numEtaBins

const int CaloSwApplyWgts_g3::s_numEtaBins =100
staticprivate

Definition at line 41 of file CaloSwApplyWgts_g3.h.


The documentation for this class was generated from the following files: