ATLAS Offline Software
SimpleAlgorithmConfig.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
9 #ifndef DQM_ALGORITHMS_TOOLS_SIMPLEALGORITHMCONFIG
10 #define DQM_ALGORITHMS_TOOLS_SIMPLEALGORITHMCONFIG
11 #include <TObject.h>
12 #include <dqm_core/AlgorithmConfig.h>
13 namespace dqm_algorithms
14 {
15  namespace tools
16  {
21  class SimpleAlgorithmConfig : public dqm_core::AlgorithmConfig
22  {
23  public:
26  SimpleAlgorithmConfig(TObject *ref);
27 #ifndef __MAKECINT__
28  SimpleAlgorithmConfig(const AlgorithmConfig& conf);
30 #endif
31 
33  virtual TObject * getReference() const override;
35  void setReference(TObject* ref);
36  void addParameter(std::string,double);//< Adds a new parameter to the list of current params
37  void addGenericParameter(std::string,std::string);//< Adds a new string parameter to the list of current generic params
38  void addGreenThreshold(std::string,double);//< Adds a new threshold to the list of current params
39  void addRedThreshold(std::string,double);//< Adds a new threshold to the list of current params
40  private:
41  TObject* m_ref;
42  };
43  }
44 
45 }
46 
47 #endif
dqm_algorithms::tools::SimpleAlgorithmConfig::addGenericParameter
void addGenericParameter(std::string, std::string)
Definition: SimpleAlgorithmConfig.cxx:57
dqm_algorithms::tools::SimpleAlgorithmConfig::setReference
void setReference(TObject *ref)
Setters.
Definition: SimpleAlgorithmConfig.cxx:45
dqm_algorithms::tools::SimpleAlgorithmConfig::SimpleAlgorithmConfig
SimpleAlgorithmConfig()
Default constructor.
Definition: SimpleAlgorithmConfig.cxx:12
dqm_algorithms::tools::SimpleAlgorithmConfig::addRedThreshold
void addRedThreshold(std::string, double)
Definition: SimpleAlgorithmConfig.cxx:69
dqm_algorithms::tools::SimpleAlgorithmConfig::addParameter
void addParameter(std::string, double)
Definition: SimpleAlgorithmConfig.cxx:51
python.ConfigurableDb.conf
def conf
Definition: ConfigurableDb.py:282
dqm_algorithms::tools::SimpleAlgorithmConfig
This class provides a simple implementation of the DQMF abstract AlgorithmConfig interface which can ...
Definition: SimpleAlgorithmConfig.h:22
tools
Definition: DataQuality/ZLumiScripts/python/tools/__init__.py:1
dqm_algorithms::tools::SimpleAlgorithmConfig::addGreenThreshold
void addGreenThreshold(std::string, double)
Definition: SimpleAlgorithmConfig.cxx:63
dqm_algorithms
Definition: AddReference.h:17
ref
const boost::regex ref(r_ef)
dqm_algorithms::tools::SimpleAlgorithmConfig::m_ref
TObject * m_ref
Definition: SimpleAlgorithmConfig.h:41
dqm_algorithms::tools::SimpleAlgorithmConfig::getReference
virtual TObject * getReference() const override
Getters, interface defines in AlgorithmConfig.
Definition: SimpleAlgorithmConfig.cxx:38