ATLAS Offline Software
Loading...
Searching...
No Matches
PFUnifiedMomentCalculatorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PFUNIFIEDMOMENTCALCULATORTOOL_H
6#define PFUNIFIEDMOMENTCALCULATORTOOL_H
7
9#include "GaudiKernel/ToolHandle.h"
11#include "IPFUnifiedBaseTool.h"
13
14struct PFData;
15
19class PFUnifiedMomentCalculatorTool : public extends<AthAlgTool, IPFUnifiedBaseTool> {
20
21 public:
22
23 PFUnifiedMomentCalculatorTool(const std::string& type,const std::string& name,const IInterface* parent);
24
26
27 virtual StatusCode initialize() override;
28 virtual StatusCode processPFlowData(const EventContext& ctx, PFData &thePFData) const override;
29
30 private:
31
33 ToolHandle<IPFClusterCollectionTool> m_clusterCollectionTool{this,"PFClusterCollectionTool","eflowRecClusterCollectionTool","Tool to put all clusters into a temporary container - then we use this to calculate moments, some of which depend on configuration of nearby clusters"};
34
36 ToolHandle<CaloClusterCollectionProcessor> m_clusterMomentsMaker{this,"CaloClusterMomentsMaker","CaloClusterMomentsMaker","Tool to calculate cluster moments"};
37
39 ToolHandle<CaloClusterCollectionProcessor> m_clusterCalibHitMomentsMaker2{this,"CaloCalibClusterMomentsMaker2","CaloCalibClusterMomentsMaker2","Tool to calculate calibration hit cluster moments"};
40
42 Gaudi::Property<bool> m_LCMode{this,"LCMode",false,"Toggle whether we are in LC mode - false by default"};
43
45 Gaudi::Property<bool> m_useCalibHitTruth{this,"UseCalibHitTruth",false,"Toggle usage of calibration hit truth - false by default"};\
46
47};
48
49#endif
Base class for cluster processing tools called from CaloClusterMaker.
Gaudi::Property< bool > m_LCMode
Toggle whether we are in LC mode - false by default.
Gaudi::Property< bool > m_useCalibHitTruth
Toggle usage of calibration hit truth - false by default.
ToolHandle< CaloClusterCollectionProcessor > m_clusterMomentsMaker
Tool to calculate cluster moments.
ToolHandle< IPFClusterCollectionTool > m_clusterCollectionTool
Tool to put all clusters into a temporary container - then we use this to calculate moments,...
virtual StatusCode processPFlowData(const EventContext &ctx, PFData &thePFData) const override
ToolHandle< CaloClusterCollectionProcessor > m_clusterCalibHitMomentsMaker2
Tool to calculate calibration hit truth cluster moments.
PFUnifiedMomentCalculatorTool(const std::string &type, const std::string &name, const IInterface *parent)