ATLAS Offline Software
HanAlgorithmConfig.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef dqiHanAlgorithmConfig_h
6 #define dqiHanAlgorithmConfig_h
7 
8 #include "dqm_core/AlgorithmConfig.h"
9 #include "dqm_core/exceptions.h"
11 
12 class TDirectory;
13 class TFile;
14 class TKey;
15 
16 
17 namespace dqi {
18 
19 class HanConfigAssessor;
20 
21 
22 class ATLAS_NOT_THREAD_SAFE HanAlgorithmConfig : public dqm_core::AlgorithmConfig {
23 public:
24 
25  HanAlgorithmConfig( const HanConfigAssessor& hca, TFile* config );
26 
27  HanAlgorithmConfig( TObject* reference,
28  const std::map< std::string, double >& parameters,
29  const std::map< std::string, std::string>& stringParameters,
30  const std::map< std::string, double >& greenThresholds,
31  const std::map< std::string, double >& redThresholds,
32  const HanConfigAssessor* hca);
33 
34  virtual ~HanAlgorithmConfig();
35 
36  virtual TObject* getReference() const override;
37 
38 protected:
39 
40  void CopyAlgConfig( const HanConfigAssessor& hca );
41 
42  void CopyRuntimeConfig();
43 
44  TFile* m_file;
45 
46  TObject* m_ref;
48 
49 private:
50 };
51 
52 } // namespace dqi
53 
54 #endif
55 
dqi::HanAlgorithmConfig::m_file
TFile * m_file
Definition: HanAlgorithmConfig.h:44
dqi::HanAlgorithmConfig
Definition: HanAlgorithmConfig.h:22
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
reference
Definition: hcg.cxx:437
config
Definition: PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
dqi::HanAlgorithmConfig::m_hca
const HanConfigAssessor * m_hca
Definition: HanAlgorithmConfig.h:47
dqi::HanConfigAssessor
Definition: HanConfigAssessor.h:37
dqi::HanAlgorithmConfig::m_ref
TObject * m_ref
Definition: HanAlgorithmConfig.h:46
physics_parameters.parameters
parameters
Definition: physics_parameters.py:144
checker_macros.h
Define macros for attributes used to control the static checker.
dqi
Definition: CompositeAlgorithm.h:16