5#ifndef CALOCLUSTERMOMENTSMAKER_DIGIHSTRUTH_H
6#define CALOCLUSTERMOMENTSMAKER_DIGIHSTRUTH_H
33#include "GaudiKernel/ToolHandle.h"
44#include "CLHEP/Units/SystemOfUnits.h"
53 const IInterface* parent);
56 virtual StatusCode
execute(
const EventContext& ctx,
59 virtual StatusCode
finalize()
override;
70 Gaudi::Property<std::vector<std::string>>
m_momentsNames{
this,
"MomentsNames", {}};
92 Gaudi::Property<double>
m_minRLateral{
this,
"MinRLateral", 4*CLHEP::cm};
130 "CaloDetDescrManager",
131 "CaloDetDescrManager"
139 ToolHandle<ILArHVFraction>
m_larHVFraction{
this,
"LArHVFraction",
"LArHVFraction",
"Tool Handle for LArHVFraction"};
146 Gaudi::Property<bool>
m_absOpt{
this,
"WeightingOfNegClusters",
false};
156 Gaudi::Property<bool>
m_useGPUCriteria {
this,
"UseGPUCriteria",
false,
"Adopt a set of criteria that is consistent with the GPU implementation."};
Base class for cluster processing tools called from CaloClusterMaker.
Definition of CaloDetDescrManager.
Property holding a SG store/key/clid from which a ReadHandle is made.
Helper class for offline cell identifiers.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
ToolHandle< CaloDepthTool > m_caloDepthTool
Gaudi::Property< double > m_etaInnerWheel
Transition from outer to inner wheel in EME2.
SG::ReadCondHandleKey< CaloNoise > m_noiseCDOKey
Key of the CaloNoise Conditions data object.
Gaudi::Property< bool > m_absOpt
if set to true use abs E value of cells to calculate
bool m_secondTime
Retrieve second moment of cell times and store as moment.
SG::ReadHandleKey< CaloCellContainer > m_signalCellKey
bool m_calculateLArHVFraction
Set to true to calculate E and N of cells affected by LAr HV corrections.
const CaloCell_ID * m_calo_id
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *theClusColl) const override final
Execute on an entire collection of clusters.
virtual StatusCode finalize() override
bool m_calculateIsolation
Set to true if cluster isolation is to be calculated.
Gaudi::Property< double > m_minLLongitudinal
the minimal in the definition of the Longitudinal moment
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Gaudi::Property< double > m_minRLateral
the minimal in the definition of the Lateral moment
Gaudi::Property< bool > m_twoGaussianNoise
if set to true use 2-gaussian noise description for TileCal
Gaudi::Property< bool > m_useGPUCriteria
Gaudi::Property< std::vector< std::string > > m_momentsNames
vector holding the input list of names of moments to calculate.
Gaudi::Property< std::string > m_momentsNamesAOD
Not used anymore (with xAOD), but required when configured from COOL.
Gaudi::Property< double > m_maxAxisAngle
the maximal allowed deviation from the IP-to-ClusterCenter-axis.
virtual StatusCode initialize() override
Gaudi::Property< double > m_minBadLArQuality
the minimal cell quality in the LAr for declaring a cell bad
ToolHandle< ILArHVFraction > m_larHVFraction
bool m_calculateSignificance
Set to true if significance moments are need.
CaloClusterMomentsMaker_DigiHSTruth(const std::string &type, const std::string &name, const IInterface *parent)
std::vector< xAOD::CaloCluster::MomentType > m_validMoments
set of moments which will be calculated.
Property holding a SG store/key/clid from which a ReadHandle is made.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.