ATLAS Offline Software
Loading...
Searching...
No Matches
PFMomentCalculatorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PFMOMENTCALCULATORTOOL_H
6#define PFMOMENTCALCULATORTOOL_H
7
9#include "GaudiKernel/ToolHandle.h"
14
16
20class PFMomentCalculatorTool : public extends<AthAlgTool, IPFBaseTool> {
21
22 public:
23
24 PFMomentCalculatorTool(const std::string& type,const std::string& name,const IInterface* parent);
25
27
28 virtual StatusCode initialize() override;
29 virtual StatusCode execute(eflowCaloObjectContainer& theEflowCaloObjectContainer) override;
30 virtual StatusCode finalize() override;
31
32 private:
33
35 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"};
36
38 ToolHandle<CaloClusterCollectionProcessor> m_clusterMomentsMaker{this,"CaloClusterMomentsMaker","CaloClusterMomentsMaker","Tool to calculate cluster moments"};
39
41 ToolHandle<CaloClusterCollectionProcessor> m_clusterCalibHitMomentsMaker2{this,"CaloCalibClusterMomentsMaker2","CaloCalibClusterMomentsMaker2","Tool to calculate calibration hit cluster moments"};
42
44 Gaudi::Property<bool> m_LCMode{this,"LCMode",false,"Toggle whether we are in LC mode - false by default"};
45
47 Gaudi::Property<bool> m_useCalibHitTruth{this,"UseCalibHitTruth",false,"Toggle usage of calibration hit truth - false by default"};\
48
49};
50
51#endif
Base class for cluster processing tools called from CaloClusterMaker.
Gaudi::Property< bool > m_useCalibHitTruth
Toggle usage of calibration hit truth - false by default.
PFMomentCalculatorTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode execute(eflowCaloObjectContainer &theEflowCaloObjectContainer) override
Gaudi::Property< bool > m_LCMode
Toggle whether we are in LC mode - false by default.
ToolHandle< CaloClusterCollectionProcessor > m_clusterMomentsMaker
Tool to calculate cluster moments.
virtual StatusCode finalize() override
ToolHandle< IPFClusterCollectionTool > m_clusterCollectionTool
Tool to put all clusters into a temporary container - then we use this to calculate moments,...
ToolHandle< CaloClusterCollectionProcessor > m_clusterCalibHitMomentsMaker2
Tool to calculate calibration hit truth cluster moments.
virtual StatusCode initialize() override