|
ATLAS Offline Software
|
Go to the documentation of this file.
19 ISvcLocator* pSvcLocator )
30 return StatusCode::SUCCESS;
46 if (! evtinfo.isValid()) {
48 return StatusCode::FAILURE;
52 auto lb =
Scalar(
"LB", evtinfo->lumiBlock());
62 std::iota(detstatevec_idx.begin(), detstatevec_idx.end(), 0);
64 auto detstates =
Collection(
"detstates", detstatevec);
65 auto detstates_idx =
Collection(
"detstates_idx", detstatevec_idx);
69 detstatevec[
i] = detstate;
70 if (detstate > worststate) worststate = detstate;
80 return StatusCode::SUCCESS;
Environment_t environment() const
Accessor functions for the environment.
DQTDataFlowMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
AthMonitorAlgorithm::Environment_t m_environment
Instance of the Environment_t enum.
@ NotSet
The flag was not set to anything.
@ IS_SIMULATION
true: simulation, false: data
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
Base class for Athena Monitoring Algorithms.
Generic monitoring tool for athena components.
::StatusCode StatusCode
StatusCode definition for legacy code.
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
Fills a vector of variables to a group by reference.
SG::ReadHandle< xAOD::EventInfo > GetEventInfo(const EventContext &) const
Return a ReadHandle for an EventInfo object (get run/event numbers, etc.)
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
EventFlagErrorState
States that a given sub-detector could be in.
Header file to be included by clients of the Monitored infrastructure.
virtual StatusCode initialize() override
initialize
EventFlagSubDet
Sub-detector types for which we store event-level flags.
SG::ReadDecorHandleKey< xAOD::EventInfo > m_TileStatusKey
virtual StatusCode initialize() override
initialize
@ nDets
Number of sub-detector type in this enumeration.
Declare a monitored scalar variable.
const ToolHandle< GenericMonitoringTool > & getGroup(const std::string &name) const
Get a specific monitoring tool from the tool handle array.
ToolHandle< IDQFilterTool > m_atlasReadyFilter