ATLAS Offline Software
FwdZDCMonitoringAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGMINBIASMONITORING_FWDZDCMONITORINGALG_H
5 #define TRIGMINBIASMONITORING_FWDZDCMONITORINGALG_H
6 
7 #include <string>
8 
14 // Input Containers
18 
24 {
25 public:
26  FwdZDCMonitoringAlg(const std::string &name, ISvcLocator *pSvcLocator);
27  virtual ~FwdZDCMonitoringAlg();
28  virtual StatusCode initialize() override;
29  virtual StatusCode fillHistograms(const EventContext &context) const override;
30 
31 private:
32  Gaudi::Property<std::vector<std::string>> m_triggerList{
33  this, "triggerList", {}, "Add triggers to this to be monitored"};
35  this, "ZdcModuleContainerKey", "ZdcModules", "Read handle key for ZdcModuleContainer"};
37  {this, "ZdcModuleCalibEnergyKey", "ZdcModules.CalibEnergy", "ReadHandleKey for Zdc CalibEnergy AuxData"};
38 
39  SG::ReadDecorHandleKey<xAOD::EventInfo> m_eventInfoDecorKey{this, "eventInfoDecorKey", "EventInfo.forwardDetFlags", "Key for EventInfo decoration object"};
40 };
41 
42 #endif // TRIGMINBIASMONITORING_FWDZDCMONITORINGALG_H
43 
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
FwdZDCMonitoringAlg
Definition: FwdZDCMonitoringAlg.h:24
FwdZDCMonitoringAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &context) const override
adds event to the monitoring histograms
Definition: FwdZDCMonitoringAlg.cxx:23
FwdZDCMonitoringAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: FwdZDCMonitoringAlg.cxx:14
FwdZDCMonitoringAlg::m_triggerList
Gaudi::Property< std::vector< std::string > > m_triggerList
Definition: FwdZDCMonitoringAlg.h:32
FwdZDCMonitoringAlg::m_zdcModuleContainerKey
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerKey
Definition: FwdZDCMonitoringAlg.h:34
TrigDecisionTool.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
FwdZDCMonitoringAlg::m_eventInfoDecorKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition: FwdZDCMonitoringAlg.h:39
FwdZDCMonitoringAlg::~FwdZDCMonitoringAlg
virtual ~FwdZDCMonitoringAlg()
Definition: FwdZDCMonitoringAlg.cxx:12
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
FwdZDCMonitoringAlg::m_zdcModuleCalibEnergyKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleCalibEnergyKey
Definition: FwdZDCMonitoringAlg.h:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
EventInfo.h
ReadDecorHandle.h
Handle class for reading a decoration on an object.
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
FwdZDCMonitoringAlg::FwdZDCMonitoringAlg
FwdZDCMonitoringAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: FwdZDCMonitoringAlg.cxx:9
ZdcModuleContainer.h