ATLAS Offline Software
Loading...
Searching...
No Matches
PFAlgorithm.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef PFALGORITHM_H
5#define PFALGORITHM_H
6
8#include "GaudiKernel/ToolHandle.h"
11
14
19
21
23
24public:
25 PFAlgorithm(const std::string& name, ISvcLocator* pSvcLocator);
27
28 StatusCode initialize() override ;
29 StatusCode execute(const EventContext& ctx) const override;
30 StatusCode finalize() override;
31
32private:
35 ToolHandle<IPFClusterSelectorTool> m_IPFClusterSelectorTool{
36 this,
37 "PFClusterSelectorTool",
38 "PFClusterSelectorTool",
39 "ToolHandle for the PFClusterSelectorTool which creates the set of "
40 "eflowRecCluster to be used"
41 };
42
44 ToolHandleArray<IPFSubtractionTool> m_IPFSubtractionTools;
45
47 ToolHandleArray<IPFBaseTool> m_IPFBaseTools;
48
51 this,
52 "eflowRecTracksInputName",
53 "eflowRecTracks",
54 "ReadHandleKey for the eflowRecTrackContainer to be read in"
55 };
56
59 this,
60 "eflowRecClustersOutputName",
61 "eflowRecClusters",
62 "WriteHandleKey for the eflowRecClusterContainer to write out"
63 };
64
67 this,
68 "PFCaloClustersOutputName",
69 "PFCaloCluster",
70 "WriteHandleKey for CaloClusterContainer to be written out"
71 };
72
75 this,
76 "eflowCaloObjectsOutputName",
77 "eflowCaloObjects",
78 "WriteHandleKey for eflowCaloObjectContainer to be written out"
79 };
80
82 ToolHandle<GenericMonitoringTool> m_monTool{ this,
83 "MonTool",
84 "",
85 "Monitoring tool" };
86
88 void printTools();
89
90};
91#endif
defines an "iterator" over instances of a given type in StoreGateSvc
Header file to be included by clients of the Monitored infrastructure.
An algorithm that can be simultaneously executed in multiple threads.
ToolHandle< IPFClusterSelectorTool > m_IPFClusterSelectorTool
ToolHandle for the PFClusterSelectorTool which creates the set of eflowRecCluster to be used.
Definition PFAlgorithm.h:35
PFAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode execute(const EventContext &ctx) const override
SG::WriteHandleKey< eflowCaloObjectContainer > m_eflowCaloObjectsWriteHandleKey
WriteHandleKey for eflowCaloObjectContainer to be written out.
Definition PFAlgorithm.h:74
SG::WriteHandleKey< eflowRecClusterContainer > m_eflowRecClustersWriteHandleKey
WriteHandleKey for the eflowRecClusterContainer to write out.
Definition PFAlgorithm.h:58
StatusCode finalize() override
ToolHandleArray< IPFSubtractionTool > m_IPFSubtractionTools
List of IPFSubtractionTool, which will be executed by this algorithm.
Definition PFAlgorithm.h:44
SG::ReadHandleKey< eflowRecTrackContainer > m_eflowRecTracksReadHandleKey
ReadHandleKey for the eflowRecTrackContainer to be read in.
Definition PFAlgorithm.h:50
ToolHandleArray< IPFBaseTool > m_IPFBaseTools
List of PFBaseAlgTool, which will be executed by this algorithm.
Definition PFAlgorithm.h:47
ToolHandle< GenericMonitoringTool > m_monTool
Online monitoring tool for recording histograms of the alg in action.
Definition PFAlgorithm.h:82
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_caloClustersWriteHandleKey
WriteHandleKey for CaloClusterContainer to be written out.
Definition PFAlgorithm.h:66
void printTools()
Funciton to print out list of tools if in VERBOSE mode.
StatusCode initialize() override
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.