EventAnalysis  1.3.0
Configurator.h
Go to the documentation of this file.
1 /*
2  * Configurator.h
3  *
4  * Created on: 16 Aug 2017
5  * Author: Nicola Mori
6  */
7 
10 #ifndef CONFIGURATOR_H_
11 #define CONFIGURATOR_H_
12 
15 
16 namespace EA {
17 
24 class Configurator {
25 public:
27  virtual ~Configurator() {}
28 
36  virtual bool Configure(AnalysisManager &anManager, const std::string &configFile,
37  const CommandLineParameters &clParams) = 0;
38 
47  bool AddConfigurationFolders(const std::vector<std::string> &folders);
48 
49 protected:
50  const std::vector<std::string> &GetConfigurationFolders() { return _configFolders; }
51 
52 private:
53  std::vector<std::string> _configFolders;
54 };
55 
56 } // namespace EA
57 
58 #endif /* CONFIGURATOR_H_ */
const std::vector< std::string > & GetConfigurationFolders()
Definition: Configurator.h:50
bool AddConfigurationFolders(const std::vector< std::string > &folders)
Adds configuration folders.
Definition: Configurator.cpp:12
IncludeFileExc.h IncludeFileExc class declaration.
Definition: Algorithm.h:21
A class to store parameters passed from command line.
Definition: CommandLineParameters.h:31
virtual ~Configurator()
Destructor.
Definition: Configurator.h:27
Interface for analysis configurator.
Definition: Configurator.h:24
The top-level class managing the setup and run of the data analysis.
Definition: AnalysisManager.h:27
virtual bool Configure(AnalysisManager &anManager, const std::string &configFile, const CommandLineParameters &clParams)=0
Configures the analysis manager using the given configuration file.
std::vector< std::string > _configFolders
Definition: Configurator.h:53