ATLAS Offline Software
AnaReentrantAlgorithmConfig.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 
9 #ifndef ANA_ALGORITHM__ANA_REENTRANT_ALGORITHM_CONFIG_H
10 #define ANA_ALGORITHM__ANA_REENTRANT_ALGORITHM_CONFIG_H
11 
12 #ifndef ROOTCORE
13 #ifndef __CPPCHECK__
14 #error only include this header in AnalysisBase
15 #endif
16 #endif
17 
18 #include <AnaAlgorithm/Global.h>
19 
21 
22 namespace EL
23 {
24  struct AlgorithmWorkerData;
25 
27 
29  {
30  //
31  // public interface
32  //
33 
34 
40  public:
42 
43 
49  public:
50  explicit AnaReentrantAlgorithmConfig (const std::string& val_typeAndName);
51 
52 
58  public:
59  explicit AnaReentrantAlgorithmConfig (const AsgComponentConfig& val_config);
60 
61 
67  public:
68  virtual ~AnaReentrantAlgorithmConfig() = default;
69 
70 
88  public:
90  makeAlgorithm (std::unique_ptr<AnaReentrantAlgorithm>& algorithm,
91  const AlgorithmWorkerData& workerData) const;
92 
93 
94 
95  //
96  // private interface
97  //
98  };
99 }
100 
101 #endif
asg::AsgComponentConfig
an object that stores the configuration for an AsgComponent and is able to create one from it
Definition: AsgComponentConfig.h:34
algorithm
std::string algorithm
Definition: hcg.cxx:82
AsgComponentConfig.h
asg::AsgComponentConfig::AsgComponentConfig
AsgComponentConfig()=default
standard constructor
EL::AnaReentrantAlgorithmConfig::makeAlgorithm
::StatusCode makeAlgorithm(std::unique_ptr< AnaReentrantAlgorithm > &algorithm, const AlgorithmWorkerData &workerData) const
make an algorithm from this configuration
Definition: AnaReentrantAlgorithmConfig.cxx:50
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
Global.h
EL::AnaReentrantAlgorithmConfig::~AnaReentrantAlgorithmConfig
virtual ~AnaReentrantAlgorithmConfig()=default
Virtual destructor, to make PyROOT happy.
EL::AlgorithmWorkerData
all the external components an algorithm needs before initialization (in EventLoop)
Definition: AlgorithmWorkerData.h:34
EL::AnaReentrantAlgorithmConfig::AnaReentrantAlgorithmConfig
AnaReentrantAlgorithmConfig()
standard constructor
Definition: AnaReentrantAlgorithmConfig.cxx:27
EL::AnaReentrantAlgorithmConfig
an object that can create a AnaReentrantAlgorithm
Definition: AnaReentrantAlgorithmConfig.h:29