|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef CALOUTILS_CALOCLUSTERCELLWEIGHTCALIB_H
6 #define CALOUTILS_CALOCLUSTERCELLWEIGHTCALIB_H
8 #include "GaudiKernel/ToolHandle.h"
22 const std::string&
name,
23 const IInterface* pParent);
175 bool setup(
const std::string&
name,
const std::string&
tag,
179 static bool cmpNoCase(
const std::string&
a,
const std::string&
b);
StatusCode f_dirPosNW(xAOD::CaloCluster *pClus) const
Calculator implementation for direction from positive signal.
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
StatusCode f_dirRaw(xAOD::CaloCluster *pClus) const
Calculator implementation for energy only update.
std::string m_directionCalculation
Property controlling negative signal handling.
StatusCode f_dirAbs(xAOD::CaloCluster *pClus) const
Calculator implementation for direction from absolute signal.
StatusCode setupSpc(MsgStream &report)
Setup for different calculation for noise clusters.
static const std::string m_defName
Negative signal handling: default tag.
static const std::string m_posName
Negative signal handling: positive signal tag.
ToolHandle< ICellWeightTool > m_cellWeight
Handle for cell weight tool.
StatusCode f_dirAbsNW(xAOD::CaloCluster *pClus) const
Calculator implementation for direction from absolute signal.
double m_eThreshold
Energy threshold for direction calculation.
bool m_ignoreGeoWghts
Flag to ignore geometrical cell weights in clusters.
Description of a calorimeter cluster.
static const std::string m_rawName
Negative signal handling: raw signal tag.
StatusCode(CaloClusterCellWeightCalib::* CALCULATOR)(xAOD::CaloCluster *pClus) const
Processor type for cluster calibration / typedef StatusCode (CaloClusterCellWeightCalib::*PROCESSOR)...
bool m_calibNoiseLikeAll
Property controlling calibration of noise clusters.
StatusCode f_dirPos(xAOD::CaloCluster *pClus) const
Calculator implementation for direction from positive signal.
virtual StatusCode initialize() override
Tool initialization.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual ~CaloClusterCellWeightCalib() override
Base tool destructor.
bool setup(const std::string &name, const std::string &tag, CALCULATOR &calc, std::string &conf, MsgStream &report)
Common setup function.
std::string m_noiseDirectionCalculation
Property controlling calibration method for noise clusters.
Principal data class for CaloCell clusters.
StatusCode f_dirRawNW(xAOD::CaloCluster *pClus) const
Calculator implementation for energy only update.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *theCluster) const override
Execute on a single cluster.
static const std::string m_absName
Negative signal handling: absolute signal tag.
CALCULATOR m_calc
Pointer to direction calculation implementation.
static bool cmpNoCase(const std::string &a, const std::string &b)
Helper for non-case sensitive string comparison.
CaloClusterCellWeightCalib(const std::string &type, const std::string &name, const IInterface *pParent)
Algorithm tool constructor.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
Execute on a single cluster.
CALCULATOR m_calc_noise
Pointer to direction calculation for noise clusters.
StatusCode setupAll(MsgStream &report)
Setup for calculation for all or non-noise clusters.