ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloMonitoring
src
OverviewMonitorAlgorithm.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef TRIGT1CALOMONITORING_OVERVIEWMONITORALGORITHM_H
5
#define TRIGT1CALOMONITORING_OVERVIEWMONITORALGORITHM_H
6
7
#include "
AthenaMonitoring/AthMonitorAlgorithm.h
"
8
#include "
AthenaMonitoringKernel/Monitored.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
11
#include <mutex>
12
13
class
OverviewMonitorAlgorithm
:
public
AthMonitorAlgorithm
{
14
public
:
OverviewMonitorAlgorithm
(
const
std::string& name, ISvcLocator* pSvcLocator );
15
virtual
~OverviewMonitorAlgorithm
()=
default
;
16
virtual
StatusCode
initialize
()
override
;
17
virtual
StatusCode
fillHistograms
(
const
EventContext& ctx )
const override
;
18
19
private
:
20
21
typedef
std::vector<int>
ErrorVector
;
22
23
StringProperty
m_packageName
{
this
,
"PackageName"
,
"OverviewMonitor"
,
"group name for histograming"
};
24
25
// Error vector StoreGate key
26
SG::ReadHandleKey<ErrorVector>
m_ppmErrorLocation
{
this
,
"PPMErrorLocation"
,
"L1CaloPPMErrorVector"
,
"PPM Error Vector"
};
27
StringProperty
m_ppmSpareErrorLocation
{
this
,
"PPMSpareErrorLocation"
,
"L1CaloPPMSpareErrorVector"
,
"PPM Spare Error Vector"
};
28
SG::ReadHandleKey<ErrorVector>
m_cpmErrorLocation
{
this
,
"CPMErrorLocation"
,
"L1CaloCPMErrorVector"
,
"CPM Error Vector"
};
29
StringProperty
m_jemErrorLocation
{
this
,
"JEMErrorLocation"
,
"L1CaloJEMErrorVector"
,
"JEM Error Vector"
};
30
StringProperty
m_jemCmxErrorLocation
{
this
,
"JEMCMXErrorLocation"
,
"L1CaloJEMCMXErrorVector"
,
"JEM-CMX Error Vector"
};
31
StringProperty
m_rodErrorLocation
{
this
,
"RODErrorLocation"
,
"L1CaloRODErrorVector"
,
"ROD Error Vector"
};
32
StringProperty
m_ppmMismatchLocation
{
this
,
"PPMMismatchLocation"
,
"L1CaloPPMMismatchVector"
,
"PPM Mismatch Error Vector"
};
33
SG::ReadHandleKey<ErrorVector>
m_cpmMismatchLocation
{
this
,
"CPMMismatchLocation"
,
"L1CaloCPMMismatchVector"
,
"CPM Mismatch Error Vector"
};
34
StringProperty
m_jemMismatchLocation
{
this
,
"JEMMismatchLocation"
,
"L1CaloJEMMismatchVector"
,
"JEM Mismatch Error Vector"
};
35
SG::ReadHandleKey<ErrorVector>
m_ppmSimBSMismatchLocation
{
this
,
"PPMSimBSMismatchLocation"
,
"L1CaloPPMSimBSMismatchVector"
,
"PPMSimBS Mismatch Vector"
};
36
37
38
// Enums for global summary plot
39
40
// Hardware errors
41
// Error bits in PPM error data
42
enum
PPMErrors
{
DataStatus
,
DataError
,
PPMSubStatus
};
43
// Error bits in CPM error data
44
enum
CPMErrors
{
45
CPMEMParity
,
46
CPMEMLink
,
47
CPMHadParity
,
48
CPMHadLink
,
49
CPMStatus
,
50
CMXCPTobParity
,
51
CMXCPSumParity
,
52
CMXCPStatus
53
};
54
// Error bits in JEM error data
55
enum
JEMErrors
{
56
JEMEMParity
,
57
JEMHadParity
,
58
JEMEMLink
,
59
JEMHadLink
,
60
JEMStatus
61
};
62
// Error bits in JEM CMX error data
63
enum
CMXErrors
{
64
JEMCMXJetStatus
,
65
JEMCMXEnergyStatus
,
66
JEMCMXJetParity
,
67
JEMCMXEnergyParity
68
};
69
// Error bits in ROD error data
70
enum
RODErrors
{
71
GLink
,
72
/*CMMParity,*/
LVDSLink
,
73
FIFOOverflow
,
74
DataTransport
,
75
Timeout
,
76
BCNMismatch
,
77
TriggerType
,
78
NoPayload
,
79
NoFragment
,
80
ROBStatusError
,
81
UnpackingError
82
};
83
84
// Transmission/Comparison with simulation errors
85
// Error bits in PPM simulation error data
86
enum
PPMMismatch
{
LUTMismatch
};
87
// Error bits in CPM simulation error data
88
enum
CPMMismatch
{
89
EMTowerMismatch
,
90
HadTowerMismatch
,
91
EMRoIMismatch
,
92
TauRoIMismatch
,
93
LeftCMXTobMismatch
,
94
RightCMXTobMismatch
,
95
LocalSumMismatch
,
96
RemoteSumMismatch
,
97
TotalSumMismatch
,
98
TopoMismatch
99
};
100
// Error bits in JEM simulation error data
101
enum
JEMMismatch
{
102
EMElementMismatch
,
103
HadElementMismatch
,
104
JEMRoIMismatch
,
105
CMXJetTobMismatch
,
106
LocalJetMismatch
,
107
RemoteJetMismatch
,
108
TotalJetMismatch
,
109
CMXJetTopoMismatch
,
110
JEMEtSumsMismatch
,
111
CMXEtSumsMismatch
,
112
LocalEnergyMismatch
,
113
RemoteEnergyMismatch
,
114
TotalEnergyMismatch
,
115
SumEtMismatch
,
116
MissingEtMismatch
,
117
MissingEtSigMismatch
,
118
EnergyRoIMismatch
119
};
120
121
// Bins for global error plots
122
enum
GlobalErrors
{
123
PPMDataStatus
,
124
PPMDataError
,
125
SubStatus
,
126
Parity
,
127
LinkDown
,
128
Transmission
,
129
Simulation
,
130
CMXSubStatus
,
131
GbCMXParity
,
132
CMXTransmission
,
133
CMXSimulation
,
134
RODStatus
,
135
RODMissing
,
136
ROBStatus
,
137
Unpacking
,
138
NumberOfGlobalErrors
139
};
140
141
};
142
#endif
AthMonitorAlgorithm.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthMonitorAlgorithm.cxx:8
OverviewMonitorAlgorithm::ErrorVector
std::vector< int > ErrorVector
Definition
OverviewMonitorAlgorithm.h:21
OverviewMonitorAlgorithm::GlobalErrors
GlobalErrors
Definition
OverviewMonitorAlgorithm.h:122
OverviewMonitorAlgorithm::CMXSimulation
@ CMXSimulation
Definition
OverviewMonitorAlgorithm.h:133
OverviewMonitorAlgorithm::CMXTransmission
@ CMXTransmission
Definition
OverviewMonitorAlgorithm.h:132
OverviewMonitorAlgorithm::PPMDataStatus
@ PPMDataStatus
Definition
OverviewMonitorAlgorithm.h:123
OverviewMonitorAlgorithm::RODStatus
@ RODStatus
Definition
OverviewMonitorAlgorithm.h:134
OverviewMonitorAlgorithm::Unpacking
@ Unpacking
Definition
OverviewMonitorAlgorithm.h:137
OverviewMonitorAlgorithm::RODMissing
@ RODMissing
Definition
OverviewMonitorAlgorithm.h:135
OverviewMonitorAlgorithm::PPMDataError
@ PPMDataError
Definition
OverviewMonitorAlgorithm.h:124
OverviewMonitorAlgorithm::LinkDown
@ LinkDown
Definition
OverviewMonitorAlgorithm.h:127
OverviewMonitorAlgorithm::CMXSubStatus
@ CMXSubStatus
Definition
OverviewMonitorAlgorithm.h:130
OverviewMonitorAlgorithm::ROBStatus
@ ROBStatus
Definition
OverviewMonitorAlgorithm.h:136
OverviewMonitorAlgorithm::Parity
@ Parity
Definition
OverviewMonitorAlgorithm.h:126
OverviewMonitorAlgorithm::SubStatus
@ SubStatus
Definition
OverviewMonitorAlgorithm.h:125
OverviewMonitorAlgorithm::Transmission
@ Transmission
Definition
OverviewMonitorAlgorithm.h:128
OverviewMonitorAlgorithm::NumberOfGlobalErrors
@ NumberOfGlobalErrors
Definition
OverviewMonitorAlgorithm.h:138
OverviewMonitorAlgorithm::GbCMXParity
@ GbCMXParity
Definition
OverviewMonitorAlgorithm.h:131
OverviewMonitorAlgorithm::CMXErrors
CMXErrors
Definition
OverviewMonitorAlgorithm.h:63
OverviewMonitorAlgorithm::JEMCMXJetStatus
@ JEMCMXJetStatus
Definition
OverviewMonitorAlgorithm.h:64
OverviewMonitorAlgorithm::JEMCMXEnergyParity
@ JEMCMXEnergyParity
Definition
OverviewMonitorAlgorithm.h:67
OverviewMonitorAlgorithm::JEMCMXJetParity
@ JEMCMXJetParity
Definition
OverviewMonitorAlgorithm.h:66
OverviewMonitorAlgorithm::JEMCMXEnergyStatus
@ JEMCMXEnergyStatus
Definition
OverviewMonitorAlgorithm.h:65
OverviewMonitorAlgorithm::m_jemMismatchLocation
StringProperty m_jemMismatchLocation
Definition
OverviewMonitorAlgorithm.h:34
OverviewMonitorAlgorithm::PPMErrors
PPMErrors
Definition
OverviewMonitorAlgorithm.h:42
OverviewMonitorAlgorithm::DataError
@ DataError
Definition
OverviewMonitorAlgorithm.h:42
OverviewMonitorAlgorithm::DataStatus
@ DataStatus
Definition
OverviewMonitorAlgorithm.h:42
OverviewMonitorAlgorithm::PPMSubStatus
@ PPMSubStatus
Definition
OverviewMonitorAlgorithm.h:42
OverviewMonitorAlgorithm::~OverviewMonitorAlgorithm
virtual ~OverviewMonitorAlgorithm()=default
OverviewMonitorAlgorithm::RODErrors
RODErrors
Definition
OverviewMonitorAlgorithm.h:70
OverviewMonitorAlgorithm::GLink
@ GLink
Definition
OverviewMonitorAlgorithm.h:71
OverviewMonitorAlgorithm::DataTransport
@ DataTransport
Definition
OverviewMonitorAlgorithm.h:74
OverviewMonitorAlgorithm::ROBStatusError
@ ROBStatusError
Definition
OverviewMonitorAlgorithm.h:80
OverviewMonitorAlgorithm::NoFragment
@ NoFragment
Definition
OverviewMonitorAlgorithm.h:79
OverviewMonitorAlgorithm::LVDSLink
@ LVDSLink
Definition
OverviewMonitorAlgorithm.h:72
OverviewMonitorAlgorithm::UnpackingError
@ UnpackingError
Definition
OverviewMonitorAlgorithm.h:81
OverviewMonitorAlgorithm::Timeout
@ Timeout
Definition
OverviewMonitorAlgorithm.h:75
OverviewMonitorAlgorithm::TriggerType
@ TriggerType
Definition
OverviewMonitorAlgorithm.h:77
OverviewMonitorAlgorithm::BCNMismatch
@ BCNMismatch
Definition
OverviewMonitorAlgorithm.h:76
OverviewMonitorAlgorithm::FIFOOverflow
@ FIFOOverflow
Definition
OverviewMonitorAlgorithm.h:73
OverviewMonitorAlgorithm::NoPayload
@ NoPayload
Definition
OverviewMonitorAlgorithm.h:78
OverviewMonitorAlgorithm::m_rodErrorLocation
StringProperty m_rodErrorLocation
Definition
OverviewMonitorAlgorithm.h:31
OverviewMonitorAlgorithm::m_ppmSpareErrorLocation
StringProperty m_ppmSpareErrorLocation
Definition
OverviewMonitorAlgorithm.h:27
OverviewMonitorAlgorithm::m_packageName
StringProperty m_packageName
Definition
OverviewMonitorAlgorithm.h:23
OverviewMonitorAlgorithm::JEMMismatch
JEMMismatch
Definition
OverviewMonitorAlgorithm.h:101
OverviewMonitorAlgorithm::EMElementMismatch
@ EMElementMismatch
Definition
OverviewMonitorAlgorithm.h:102
OverviewMonitorAlgorithm::MissingEtMismatch
@ MissingEtMismatch
Definition
OverviewMonitorAlgorithm.h:116
OverviewMonitorAlgorithm::TotalJetMismatch
@ TotalJetMismatch
Definition
OverviewMonitorAlgorithm.h:108
OverviewMonitorAlgorithm::CMXJetTobMismatch
@ CMXJetTobMismatch
Definition
OverviewMonitorAlgorithm.h:105
OverviewMonitorAlgorithm::JEMEtSumsMismatch
@ JEMEtSumsMismatch
Definition
OverviewMonitorAlgorithm.h:110
OverviewMonitorAlgorithm::LocalJetMismatch
@ LocalJetMismatch
Definition
OverviewMonitorAlgorithm.h:106
OverviewMonitorAlgorithm::HadElementMismatch
@ HadElementMismatch
Definition
OverviewMonitorAlgorithm.h:103
OverviewMonitorAlgorithm::SumEtMismatch
@ SumEtMismatch
Definition
OverviewMonitorAlgorithm.h:115
OverviewMonitorAlgorithm::TotalEnergyMismatch
@ TotalEnergyMismatch
Definition
OverviewMonitorAlgorithm.h:114
OverviewMonitorAlgorithm::LocalEnergyMismatch
@ LocalEnergyMismatch
Definition
OverviewMonitorAlgorithm.h:112
OverviewMonitorAlgorithm::RemoteEnergyMismatch
@ RemoteEnergyMismatch
Definition
OverviewMonitorAlgorithm.h:113
OverviewMonitorAlgorithm::RemoteJetMismatch
@ RemoteJetMismatch
Definition
OverviewMonitorAlgorithm.h:107
OverviewMonitorAlgorithm::CMXEtSumsMismatch
@ CMXEtSumsMismatch
Definition
OverviewMonitorAlgorithm.h:111
OverviewMonitorAlgorithm::CMXJetTopoMismatch
@ CMXJetTopoMismatch
Definition
OverviewMonitorAlgorithm.h:109
OverviewMonitorAlgorithm::EnergyRoIMismatch
@ EnergyRoIMismatch
Definition
OverviewMonitorAlgorithm.h:118
OverviewMonitorAlgorithm::JEMRoIMismatch
@ JEMRoIMismatch
Definition
OverviewMonitorAlgorithm.h:104
OverviewMonitorAlgorithm::MissingEtSigMismatch
@ MissingEtSigMismatch
Definition
OverviewMonitorAlgorithm.h:117
OverviewMonitorAlgorithm::PPMMismatch
PPMMismatch
Definition
OverviewMonitorAlgorithm.h:86
OverviewMonitorAlgorithm::LUTMismatch
@ LUTMismatch
Definition
OverviewMonitorAlgorithm.h:86
OverviewMonitorAlgorithm::CPMMismatch
CPMMismatch
Definition
OverviewMonitorAlgorithm.h:88
OverviewMonitorAlgorithm::EMRoIMismatch
@ EMRoIMismatch
Definition
OverviewMonitorAlgorithm.h:91
OverviewMonitorAlgorithm::LeftCMXTobMismatch
@ LeftCMXTobMismatch
Definition
OverviewMonitorAlgorithm.h:93
OverviewMonitorAlgorithm::RemoteSumMismatch
@ RemoteSumMismatch
Definition
OverviewMonitorAlgorithm.h:96
OverviewMonitorAlgorithm::TauRoIMismatch
@ TauRoIMismatch
Definition
OverviewMonitorAlgorithm.h:92
OverviewMonitorAlgorithm::TopoMismatch
@ TopoMismatch
Definition
OverviewMonitorAlgorithm.h:98
OverviewMonitorAlgorithm::LocalSumMismatch
@ LocalSumMismatch
Definition
OverviewMonitorAlgorithm.h:95
OverviewMonitorAlgorithm::HadTowerMismatch
@ HadTowerMismatch
Definition
OverviewMonitorAlgorithm.h:90
OverviewMonitorAlgorithm::TotalSumMismatch
@ TotalSumMismatch
Definition
OverviewMonitorAlgorithm.h:97
OverviewMonitorAlgorithm::RightCMXTobMismatch
@ RightCMXTobMismatch
Definition
OverviewMonitorAlgorithm.h:94
OverviewMonitorAlgorithm::EMTowerMismatch
@ EMTowerMismatch
Definition
OverviewMonitorAlgorithm.h:89
OverviewMonitorAlgorithm::m_jemCmxErrorLocation
StringProperty m_jemCmxErrorLocation
Definition
OverviewMonitorAlgorithm.h:30
OverviewMonitorAlgorithm::m_jemErrorLocation
StringProperty m_jemErrorLocation
Definition
OverviewMonitorAlgorithm.h:29
OverviewMonitorAlgorithm::m_ppmSimBSMismatchLocation
SG::ReadHandleKey< ErrorVector > m_ppmSimBSMismatchLocation
Definition
OverviewMonitorAlgorithm.h:35
OverviewMonitorAlgorithm::m_cpmErrorLocation
SG::ReadHandleKey< ErrorVector > m_cpmErrorLocation
Definition
OverviewMonitorAlgorithm.h:28
OverviewMonitorAlgorithm::CPMErrors
CPMErrors
Definition
OverviewMonitorAlgorithm.h:44
OverviewMonitorAlgorithm::CMXCPStatus
@ CMXCPStatus
Definition
OverviewMonitorAlgorithm.h:52
OverviewMonitorAlgorithm::CPMEMLink
@ CPMEMLink
Definition
OverviewMonitorAlgorithm.h:46
OverviewMonitorAlgorithm::CMXCPSumParity
@ CMXCPSumParity
Definition
OverviewMonitorAlgorithm.h:51
OverviewMonitorAlgorithm::CPMEMParity
@ CPMEMParity
Definition
OverviewMonitorAlgorithm.h:45
OverviewMonitorAlgorithm::CPMHadParity
@ CPMHadParity
Definition
OverviewMonitorAlgorithm.h:47
OverviewMonitorAlgorithm::CPMStatus
@ CPMStatus
Definition
OverviewMonitorAlgorithm.h:49
OverviewMonitorAlgorithm::CMXCPTobParity
@ CMXCPTobParity
Definition
OverviewMonitorAlgorithm.h:50
OverviewMonitorAlgorithm::CPMHadLink
@ CPMHadLink
Definition
OverviewMonitorAlgorithm.h:48
OverviewMonitorAlgorithm::JEMErrors
JEMErrors
Definition
OverviewMonitorAlgorithm.h:55
OverviewMonitorAlgorithm::JEMStatus
@ JEMStatus
Definition
OverviewMonitorAlgorithm.h:60
OverviewMonitorAlgorithm::JEMHadLink
@ JEMHadLink
Definition
OverviewMonitorAlgorithm.h:59
OverviewMonitorAlgorithm::JEMHadParity
@ JEMHadParity
Definition
OverviewMonitorAlgorithm.h:57
OverviewMonitorAlgorithm::JEMEMParity
@ JEMEMParity
Definition
OverviewMonitorAlgorithm.h:56
OverviewMonitorAlgorithm::JEMEMLink
@ JEMEMLink
Definition
OverviewMonitorAlgorithm.h:58
OverviewMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition
OverviewMonitorAlgorithm.cxx:26
OverviewMonitorAlgorithm::m_ppmMismatchLocation
StringProperty m_ppmMismatchLocation
Definition
OverviewMonitorAlgorithm.h:32
OverviewMonitorAlgorithm::m_cpmMismatchLocation
SG::ReadHandleKey< ErrorVector > m_cpmMismatchLocation
Definition
OverviewMonitorAlgorithm.h:33
OverviewMonitorAlgorithm::m_ppmErrorLocation
SG::ReadHandleKey< ErrorVector > m_ppmErrorLocation
Definition
OverviewMonitorAlgorithm.h:26
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
OverviewMonitorAlgorithm
Definition
OverviewMonitorAlgorithm.py:1
Simulation
Definition
BeamEffectsAlg.cxx:21
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0