ATLAS Offline Software
Loading...
Searching...
No Matches
HistogramFillerFactory.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 AthenaMonitoringKernel_HistogramFiller_HistogramFillerFactory_h
6#define AthenaMonitoringKernel_HistogramFiller_HistogramFillerFactory_h
7
8#include <memory>
9#include <vector>
10
14
15#include "HistogramFactory.h"
16#include "HistogramFiller.h"
17
18namespace Monitored {
23 public:
30 HistogramFillerFactory(GenericMonitoringTool * const gmTool, std::string groupName)
31 : m_gmTool(gmTool),
32 m_factory(new HistogramFactory(gmTool->histogramService(), std::move(groupName))) {}
33
38
48 private:
49 std::shared_ptr<IHistogramProvider> createHistogramProvider(const HistogramDef& def);
50
52 std::shared_ptr<HistogramFactory> m_factory;
53 };
54}
55
56#endif /* AthenaMonitoringKernel_HistogramFiller_HistogramFillerFactory_h */
Bridge between ROOT framework and monitoring code.
std::shared_ptr< IHistogramProvider > createHistogramProvider(const HistogramDef &def)
HistogramFillerFactory(GenericMonitoringTool *const gmTool, std::string groupName)
Default constructor.
std::shared_ptr< HistogramFactory > m_factory
HistogramFiller * create(const HistogramDef &def)
Creates HistogramFiller instance for given definition.
virtual ~HistogramFillerFactory()
Virtual destructor.
Base class for all histogram fillers.
Generic monitoring tool for athena components.
STL namespace.
the internal class used to keep parsed Filler properties