ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DataQuality
dqm_algorithms
dqm_algorithms
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
20
ERS_DECLARE_ISSUE_BASE
( afp,
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
32
AFP_LBsOutOfRange
();
33
~AFP_LBsOutOfRange
();
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
39
const
IOVSet
&
fetchIOVs
( uint32_t
run
, uint32_t channel );
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
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))
ERS_EMPTY
Configuration ERS_EMPTY
Definition
PscIssues.h:32
dqm_algorithms::AFP_LBsOutOfRange::clone
AFP_LBsOutOfRange * clone() override
Definition
AFP_LBsOutOfRange.cxx:53
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:120
dqm_algorithms::AFP_LBsOutOfRange::printDescriptionTo
void printDescriptionTo(std::ostream &out) override
Definition
AFP_LBsOutOfRange.cxx:192
dqm_algorithms::AFP_LBsOutOfRange::IOVSet
std::vector< std::pair< int, int > > IOVSet
Definition
AFP_LBsOutOfRange.h:30
dqm_algorithms::AFP_LBsOutOfRange::~AFP_LBsOutOfRange
~AFP_LBsOutOfRange()
Definition
AFP_LBsOutOfRange.cxx:49
dqm_algorithms::AFP_LBsOutOfRange::fetchIOVs
const IOVSet & fetchIOVs(uint32_t run, uint32_t channel)
Definition
AFP_LBsOutOfRange.cxx:58
dqm_algorithms::AFP_LBsOutOfRange::m_iov_cache
std::map< std::pair< uint32_t, uint32_t >, IOVSet > m_iov_cache
Definition
AFP_LBsOutOfRange.h:42
dqm_algorithms::AFP_LBsOutOfRange::AFP_LBsOutOfRange
AFP_LBsOutOfRange()
Definition
AFP_LBsOutOfRange.cxx:45
dqm_algorithms
Definition
AddReference.h:17
run
int run(int argc, char *argv[])
Definition
ttree2hdf5.cxx:28
Generated on
for ATLAS Offline Software by
1.17.0