ATLAS Offline Software
HistogramFillerFactory.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 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 
15 
16 #include "HistogramFactory.h"
17 
18 namespace Monitored {
23  public:
31  : m_gmTool(std::move(gmTool)),
32  m_factory(new HistogramFactory(gmTool->histogramService(), std::move(groupName))) {}
33 
38 
47  HistogramFiller* create(const HistogramDef& def);
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 */
IHistogramProvider.h
HistogramDef.h
RunTileMonitoring.groupName
groupName
Definition: RunTileMonitoring.py:158
CSV_InDetExporter.new
new
Definition: CSV_InDetExporter.py:145
Monitored::HistogramDef
the internal class used to keep parsed Filler properties
Definition: HistogramDef.h:15
GenericMonitoringTool.h
Monitored::HistogramFillerFactory::HistogramFillerFactory
HistogramFillerFactory(GenericMonitoringTool *const gmTool, std::string groupName)
Default constructor.
Definition: HistogramFillerFactory.h:30
Monitored
Generic monitoring tool for athena components.
Definition: GenericMonitoringTool.h:30
Monitored::HistogramFillerFactory::~HistogramFillerFactory
virtual ~HistogramFillerFactory()
Virtual destructor.
Definition: HistogramFillerFactory.h:37
Monitored::HistogramFillerFactory::createHistogramProvider
std::shared_ptr< IHistogramProvider > createHistogramProvider(const HistogramDef &def)
Definition: HistogramFillerFactory.cxx:65
Monitored::HistogramFillerFactory::m_gmTool
GenericMonitoringTool * m_gmTool
Definition: HistogramFillerFactory.h:51
Monitored::HistogramFillerFactory
Factory of the histogram fillers.
Definition: HistogramFillerFactory.h:22
HistogramFiller.h
Monitored::HistogramFiller
Base class for all histogram fillers.
Definition: HistogramFiller.h:43
GenericMonitoringTool
Definition: GenericMonitoringTool.py:1
Monitored::HistogramFillerFactory::m_factory
std::shared_ptr< HistogramFactory > m_factory
Definition: HistogramFillerFactory.h:52
HistogramFactory.h
Monitored::HistogramFillerFactory::create
HistogramFiller * create(const HistogramDef &def)
Creates HistogramFiller instance for given definition.
Definition: HistogramFillerFactory.cxx:25
Monitored::HistogramFactory
Bridge between ROOT framework and monitoring code.
Definition: HistogramFactory.h:26