ATLAS Offline Software
Loading...
Searching...
No Matches
ExampleMonitorAlgorithm.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef EXAMPLEMONITORALGORITHM_H
6#define EXAMPLEMONITORALGORITHM_H
7
10
11#include "TRandom3.h"
12
14public:
16 virtual StatusCode initialize() override;
17 virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
18private:
19 Gaudi::Property<bool> m_doRandom {this, "RandomHist", true};
20 std::vector<int> m_abGroups1;
21 std::vector<std::vector<int>> m_abGroups2;
22 std::map<std::string,int> m_cGroups1;
23 std::map<std::string,std::map<std::string,int>> m_cGroups2;
24};
25#endif
Header file to be included by clients of the Monitored infrastructure.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
std::map< std::string, std::map< std::string, int > > m_cGroups2
virtual StatusCode initialize() override
initialize
std::vector< std::vector< int > > m_abGroups2
Gaudi::Property< bool > m_doRandom
std::map< std::string, int > m_cGroups1
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms