ATLAS Offline Software
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 
10 
11 #include <mutex>
12 
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
43  // Error bits in CPM error data
44  enum CPMErrors {
53  };
54  // Error bits in JEM error data
55  enum JEMErrors {
60  JEMStatus
61  };
62  // Error bits in JEM CMX error data
63  enum CMXErrors {
68  };
69  // Error bits in ROD error data
70  enum RODErrors {
72  /*CMMParity,*/ LVDSLink,
82  };
83 
84  // Transmission/Comparison with simulation errors
85  // Error bits in PPM simulation error data
87  // Error bits in CPM simulation error data
88  enum CPMMismatch {
99  };
100  // Error bits in JEM simulation error data
101  enum JEMMismatch {
119  };
120 
121  // Bins for global error plots
139  };
140 
141 };
142 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
OverviewMonitorAlgorithm::CMXCPSumParity
@ CMXCPSumParity
Definition: OverviewMonitorAlgorithm.h:51
OverviewMonitorAlgorithm::ErrorVector
std::vector< int > ErrorVector
Definition: OverviewMonitorAlgorithm.h:21
OverviewMonitorAlgorithm::Timeout
@ Timeout
Definition: OverviewMonitorAlgorithm.h:75
OverviewMonitorAlgorithm::Parity
@ Parity
Definition: OverviewMonitorAlgorithm.h:126
OverviewMonitorAlgorithm::m_ppmSimBSMismatchLocation
SG::ReadHandleKey< ErrorVector > m_ppmSimBSMismatchLocation
Definition: OverviewMonitorAlgorithm.h:35
OverviewMonitorAlgorithm::CMXErrors
CMXErrors
Definition: OverviewMonitorAlgorithm.h:63
OverviewMonitorAlgorithm::CPMErrors
CPMErrors
Definition: OverviewMonitorAlgorithm.h:44
OverviewMonitorAlgorithm::HadTowerMismatch
@ HadTowerMismatch
Definition: OverviewMonitorAlgorithm.h:90
OverviewMonitorAlgorithm::m_jemErrorLocation
StringProperty m_jemErrorLocation
Definition: OverviewMonitorAlgorithm.h:29
OverviewMonitorAlgorithm::SumEtMismatch
@ SumEtMismatch
Definition: OverviewMonitorAlgorithm.h:115
OverviewMonitorAlgorithm::JEMHadLink
@ JEMHadLink
Definition: OverviewMonitorAlgorithm.h:59
OverviewMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: OverviewMonitorAlgorithm.cxx:12
OverviewMonitorAlgorithm::TotalJetMismatch
@ TotalJetMismatch
Definition: OverviewMonitorAlgorithm.h:108
OverviewMonitorAlgorithm::RemoteSumMismatch
@ RemoteSumMismatch
Definition: OverviewMonitorAlgorithm.h:96
OverviewMonitorAlgorithm::RemoteEnergyMismatch
@ RemoteEnergyMismatch
Definition: OverviewMonitorAlgorithm.h:113
OverviewMonitorAlgorithm::EnergyRoIMismatch
@ EnergyRoIMismatch
Definition: OverviewMonitorAlgorithm.h:118
OverviewMonitorAlgorithm::HadElementMismatch
@ HadElementMismatch
Definition: OverviewMonitorAlgorithm.h:103
OverviewMonitorAlgorithm::PPMErrors
PPMErrors
Definition: OverviewMonitorAlgorithm.h:42
OverviewMonitorAlgorithm::CMXEtSumsMismatch
@ CMXEtSumsMismatch
Definition: OverviewMonitorAlgorithm.h:111
OverviewMonitorAlgorithm::MissingEtMismatch
@ MissingEtMismatch
Definition: OverviewMonitorAlgorithm.h:116
OverviewMonitorAlgorithm::m_packageName
StringProperty m_packageName
Definition: OverviewMonitorAlgorithm.h:23
OverviewMonitorAlgorithm::JEMEMParity
@ JEMEMParity
Definition: OverviewMonitorAlgorithm.h:56
OverviewMonitorAlgorithm::NoPayload
@ NoPayload
Definition: OverviewMonitorAlgorithm.h:78
OverviewMonitorAlgorithm::RightCMXTobMismatch
@ RightCMXTobMismatch
Definition: OverviewMonitorAlgorithm.h:94
OverviewMonitorAlgorithm::JEMHadParity
@ JEMHadParity
Definition: OverviewMonitorAlgorithm.h:57
OverviewMonitorAlgorithm::JEMCMXJetParity
@ JEMCMXJetParity
Definition: OverviewMonitorAlgorithm.h:66
OverviewMonitorAlgorithm::JEMEMLink
@ JEMEMLink
Definition: OverviewMonitorAlgorithm.h:58
OverviewMonitorAlgorithm::m_ppmErrorLocation
SG::ReadHandleKey< ErrorVector > m_ppmErrorLocation
Definition: OverviewMonitorAlgorithm.h:26
OverviewMonitorAlgorithm::CPMEMParity
@ CPMEMParity
Definition: OverviewMonitorAlgorithm.h:45
SG::ReadHandleKey< ErrorVector >
OverviewMonitorAlgorithm::TriggerType
@ TriggerType
Definition: OverviewMonitorAlgorithm.h:77
OverviewMonitorAlgorithm::JEMErrors
JEMErrors
Definition: OverviewMonitorAlgorithm.h:55
OverviewMonitorAlgorithm::m_ppmMismatchLocation
StringProperty m_ppmMismatchLocation
Definition: OverviewMonitorAlgorithm.h:32
OverviewMonitorAlgorithm::CMXTransmission
@ CMXTransmission
Definition: OverviewMonitorAlgorithm.h:132
OverviewMonitorAlgorithm::m_cpmErrorLocation
SG::ReadHandleKey< ErrorVector > m_cpmErrorLocation
Definition: OverviewMonitorAlgorithm.h:28
OverviewMonitorAlgorithm::LUTMismatch
@ LUTMismatch
Definition: OverviewMonitorAlgorithm.h:86
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
OverviewMonitorAlgorithm::TopoMismatch
@ TopoMismatch
Definition: OverviewMonitorAlgorithm.h:98
OverviewMonitorAlgorithm::MissingEtSigMismatch
@ MissingEtSigMismatch
Definition: OverviewMonitorAlgorithm.h:117
OverviewMonitorAlgorithm::PPMDataStatus
@ PPMDataStatus
Definition: OverviewMonitorAlgorithm.h:123
OverviewMonitorAlgorithm::LVDSLink
@ LVDSLink
Definition: OverviewMonitorAlgorithm.h:72
OverviewMonitorAlgorithm::JEMCMXEnergyParity
@ JEMCMXEnergyParity
Definition: OverviewMonitorAlgorithm.h:67
OverviewMonitorAlgorithm::EMRoIMismatch
@ EMRoIMismatch
Definition: OverviewMonitorAlgorithm.h:91
OverviewMonitorAlgorithm::EMTowerMismatch
@ EMTowerMismatch
Definition: OverviewMonitorAlgorithm.h:89
OverviewMonitorAlgorithm::PPMMismatch
PPMMismatch
Definition: OverviewMonitorAlgorithm.h:86
OverviewMonitorAlgorithm::~OverviewMonitorAlgorithm
virtual ~OverviewMonitorAlgorithm()=default
OverviewMonitorAlgorithm::PPMSubStatus
@ PPMSubStatus
Definition: OverviewMonitorAlgorithm.h:42
OverviewMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: OverviewMonitorAlgorithm.cxx:26
OverviewMonitorAlgorithm::JEMCMXJetStatus
@ JEMCMXJetStatus
Definition: OverviewMonitorAlgorithm.h:64
OverviewMonitorAlgorithm::OverviewMonitorAlgorithm
OverviewMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: OverviewMonitorAlgorithm.cxx:7
OverviewMonitorAlgorithm::LocalSumMismatch
@ LocalSumMismatch
Definition: OverviewMonitorAlgorithm.h:95
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
OverviewMonitorAlgorithm::FIFOOverflow
@ FIFOOverflow
Definition: OverviewMonitorAlgorithm.h:73
OverviewMonitorAlgorithm::m_rodErrorLocation
StringProperty m_rodErrorLocation
Definition: OverviewMonitorAlgorithm.h:31
OverviewMonitorAlgorithm::PPMDataError
@ PPMDataError
Definition: OverviewMonitorAlgorithm.h:124
OverviewMonitorAlgorithm::Simulation
@ Simulation
Definition: OverviewMonitorAlgorithm.h:129
OverviewMonitorAlgorithm::CMXJetTopoMismatch
@ CMXJetTopoMismatch
Definition: OverviewMonitorAlgorithm.h:109
OverviewMonitorAlgorithm::GlobalErrors
GlobalErrors
Definition: OverviewMonitorAlgorithm.h:122
OverviewMonitorAlgorithm::CMXCPStatus
@ CMXCPStatus
Definition: OverviewMonitorAlgorithm.h:52
OverviewMonitorAlgorithm::EMElementMismatch
@ EMElementMismatch
Definition: OverviewMonitorAlgorithm.h:102
OverviewMonitorAlgorithm::DataStatus
@ DataStatus
Definition: OverviewMonitorAlgorithm.h:42
OverviewMonitorAlgorithm::CMXSubStatus
@ CMXSubStatus
Definition: OverviewMonitorAlgorithm.h:130
OverviewMonitorAlgorithm::CPMHadLink
@ CPMHadLink
Definition: OverviewMonitorAlgorithm.h:48
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
OverviewMonitorAlgorithm::Unpacking
@ Unpacking
Definition: OverviewMonitorAlgorithm.h:137
OverviewMonitorAlgorithm::JEMEtSumsMismatch
@ JEMEtSumsMismatch
Definition: OverviewMonitorAlgorithm.h:110
OverviewMonitorAlgorithm::RODMissing
@ RODMissing
Definition: OverviewMonitorAlgorithm.h:135
OverviewMonitorAlgorithm::LocalEnergyMismatch
@ LocalEnergyMismatch
Definition: OverviewMonitorAlgorithm.h:112
OverviewMonitorAlgorithm::LinkDown
@ LinkDown
Definition: OverviewMonitorAlgorithm.h:127
OverviewMonitorAlgorithm::JEMCMXEnergyStatus
@ JEMCMXEnergyStatus
Definition: OverviewMonitorAlgorithm.h:65
OverviewMonitorAlgorithm::CMXSimulation
@ CMXSimulation
Definition: OverviewMonitorAlgorithm.h:133
OverviewMonitorAlgorithm::DataError
@ DataError
Definition: OverviewMonitorAlgorithm.h:42
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
OverviewMonitorAlgorithm::RemoteJetMismatch
@ RemoteJetMismatch
Definition: OverviewMonitorAlgorithm.h:107
OverviewMonitorAlgorithm::Transmission
@ Transmission
Definition: OverviewMonitorAlgorithm.h:128
OverviewMonitorAlgorithm::ROBStatusError
@ ROBStatusError
Definition: OverviewMonitorAlgorithm.h:80
OverviewMonitorAlgorithm::JEMMismatch
JEMMismatch
Definition: OverviewMonitorAlgorithm.h:101
OverviewMonitorAlgorithm::JEMStatus
@ JEMStatus
Definition: OverviewMonitorAlgorithm.h:60
OverviewMonitorAlgorithm::BCNMismatch
@ BCNMismatch
Definition: OverviewMonitorAlgorithm.h:76
OverviewMonitorAlgorithm::RODStatus
@ RODStatus
Definition: OverviewMonitorAlgorithm.h:134
OverviewMonitorAlgorithm::RODErrors
RODErrors
Definition: OverviewMonitorAlgorithm.h:70
OverviewMonitorAlgorithm::CPMStatus
@ CPMStatus
Definition: OverviewMonitorAlgorithm.h:49
OverviewMonitorAlgorithm::TotalEnergyMismatch
@ TotalEnergyMismatch
Definition: OverviewMonitorAlgorithm.h:114
OverviewMonitorAlgorithm::LocalJetMismatch
@ LocalJetMismatch
Definition: OverviewMonitorAlgorithm.h:106
OverviewMonitorAlgorithm::m_cpmMismatchLocation
SG::ReadHandleKey< ErrorVector > m_cpmMismatchLocation
Definition: OverviewMonitorAlgorithm.h:33
OverviewMonitorAlgorithm::m_jemMismatchLocation
StringProperty m_jemMismatchLocation
Definition: OverviewMonitorAlgorithm.h:34
OverviewMonitorAlgorithm::ROBStatus
@ ROBStatus
Definition: OverviewMonitorAlgorithm.h:136
OverviewMonitorAlgorithm::GLink
@ GLink
Definition: OverviewMonitorAlgorithm.h:71
OverviewMonitorAlgorithm::CMXCPTobParity
@ CMXCPTobParity
Definition: OverviewMonitorAlgorithm.h:50
OverviewMonitorAlgorithm::TauRoIMismatch
@ TauRoIMismatch
Definition: OverviewMonitorAlgorithm.h:92
OverviewMonitorAlgorithm::CPMHadParity
@ CPMHadParity
Definition: OverviewMonitorAlgorithm.h:47
OverviewMonitorAlgorithm
Definition: OverviewMonitorAlgorithm.py:1
OverviewMonitorAlgorithm::JEMRoIMismatch
@ JEMRoIMismatch
Definition: OverviewMonitorAlgorithm.h:104
OverviewMonitorAlgorithm::SubStatus
@ SubStatus
Definition: OverviewMonitorAlgorithm.h:125
OverviewMonitorAlgorithm::CPMMismatch
CPMMismatch
Definition: OverviewMonitorAlgorithm.h:88
OverviewMonitorAlgorithm::m_ppmSpareErrorLocation
StringProperty m_ppmSpareErrorLocation
Definition: OverviewMonitorAlgorithm.h:27
OverviewMonitorAlgorithm::CPMEMLink
@ CPMEMLink
Definition: OverviewMonitorAlgorithm.h:46
OverviewMonitorAlgorithm::NumberOfGlobalErrors
@ NumberOfGlobalErrors
Definition: OverviewMonitorAlgorithm.h:138
OverviewMonitorAlgorithm::TotalSumMismatch
@ TotalSumMismatch
Definition: OverviewMonitorAlgorithm.h:97
OverviewMonitorAlgorithm::LeftCMXTobMismatch
@ LeftCMXTobMismatch
Definition: OverviewMonitorAlgorithm.h:93
OverviewMonitorAlgorithm::CMXJetTobMismatch
@ CMXJetTobMismatch
Definition: OverviewMonitorAlgorithm.h:105
OverviewMonitorAlgorithm::UnpackingError
@ UnpackingError
Definition: OverviewMonitorAlgorithm.h:81
OverviewMonitorAlgorithm::m_jemCmxErrorLocation
StringProperty m_jemCmxErrorLocation
Definition: OverviewMonitorAlgorithm.h:30
OverviewMonitorAlgorithm::DataTransport
@ DataTransport
Definition: OverviewMonitorAlgorithm.h:74
OverviewMonitorAlgorithm::NoFragment
@ NoFragment
Definition: OverviewMonitorAlgorithm.h:79
OverviewMonitorAlgorithm::GbCMXParity
@ GbCMXParity
Definition: OverviewMonitorAlgorithm.h:131