ATLAS Offline Software
AFP_LBsOutOfRange.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 DQM_Algorithms_AFP_LBsOutOfRange_H
6 #define DQM_Algorithms_AFP_LBsOutOfRange_H
7 
8 #include <dqm_core/Algorithm.h>
9 #include <dqm_core/AlgorithmConfig.h>
10 #include <dqm_core/Result.h>
11 
12 #include <TObject.h>
13 
14 #include <map>
15 #include <ostream>
16 #include <string>
17 #include <utility>
18 #include <vector>
19 
21  CantReadCool,
22  dqm_core::Exception,
23  "Cannot read folder '" << folder << "' from COOL database '" << database << "'",
24  ERS_EMPTY,
25  ( (std::string) database )( (std::string) folder ) );
26 
27 namespace dqm_algorithms {
28  class AFP_LBsOutOfRange : public dqm_core::Algorithm {
29  public:
30  using IOVSet = std::vector<std::pair<int, int>>;
31 
34 
35  AFP_LBsOutOfRange* clone() override;
36  dqm_core::Result* execute( const std::string& name, const TObject& object, const dqm_core::AlgorithmConfig& config ) override;
37  void printDescriptionTo( std::ostream& out ) override;
38 
40 
41  private:
42  std::map<std::pair<uint32_t, uint32_t>, IOVSet> m_iov_cache;
43  };
44 } // namespace dqm_algorithms
45 
46 #endif // DQM_Algorithms_AFP_LBsOutOfRange_H
dqm_algorithms::AFP_LBsOutOfRange::IOVSet
std::vector< std::pair< int, int > > IOVSet
Definition: AFP_LBsOutOfRange.h:30
dqm_algorithms::AFP_LBsOutOfRange
Definition: AFP_LBsOutOfRange.h:28
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
dqm_algorithms::AFP_LBsOutOfRange::~AFP_LBsOutOfRange
~AFP_LBsOutOfRange()
Definition: AFP_LBsOutOfRange.cxx:49
config
Definition: PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
python.subdetectors.mmg.database
database
Definition: mmg.py:6
Result
ICscStripFitter::Result Result
Definition: CalibCscStripFitter.cxx:13
dqm_algorithms::AFP_LBsOutOfRange::AFP_LBsOutOfRange
AFP_LBsOutOfRange()
Definition: AFP_LBsOutOfRange.cxx:45
run
Definition: run.py:1
dqm_algorithms::AFP_LBsOutOfRange::fetchIOVs
const IOVSet & fetchIOVs(uint32_t run, uint32_t channel)
Definition: AFP_LBsOutOfRange.cxx:58
ERS_EMPTY
Configuration ERS_EMPTY
Definition: PscIssues.h:32
dqm_algorithms::AFP_LBsOutOfRange::printDescriptionTo
void printDescriptionTo(std::ostream &out) override
Definition: AFP_LBsOutOfRange.cxx:191
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
dqm_algorithms::AFP_LBsOutOfRange::execute
dqm_core::Result * execute(const std::string &name, const TObject &object, const dqm_core::AlgorithmConfig &config) override
Definition: AFP_LBsOutOfRange.cxx:119
dqm_algorithms
Definition: AddReference.h:17
dqm_algorithms::AFP_LBsOutOfRange::clone
AFP_LBsOutOfRange * clone() override
Definition: AFP_LBsOutOfRange.cxx:53
ERS_DECLARE_ISSUE_BASE
ERS_DECLARE_ISSUE_BASE(afp, CantReadCool, dqm_core::Exception, "Cannot read folder '"<< folder<< "' from COOL database '"<< database<< "'", ERS_EMPTY,((std::string) database)((std::string) folder))
CaloCondBlobAlgs_fillNoiseFromASCII.folder
folder
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:56
dqm_algorithms::AFP_LBsOutOfRange::m_iov_cache
std::map< std::pair< uint32_t, uint32_t >, IOVSet > m_iov_cache
Definition: AFP_LBsOutOfRange.h:42