ATLAS Offline Software
Loading...
Searching...
No Matches
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
8
9#ifndef DQM_ALGORITHMS_TOOLS_SIMPLEALGORITHMCONFIG
10#define DQM_ALGORITHMS_TOOLS_SIMPLEALGORITHMCONFIG
11#include <TObject.h>
12#include <dqm_core/AlgorithmConfig.h>
13namespace dqm_algorithms
14{
15 namespace tools
16 {
21 class SimpleAlgorithmConfig : public dqm_core::AlgorithmConfig
22 {
23 public:
26 SimpleAlgorithmConfig(TObject *ref);
27#ifndef __MAKECINT__
29 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
const boost::regex ref(r_ef)
virtual TObject * getReference() const override
Getters, interface defines in AlgorithmConfig.