|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef TRIGEFMISSINGET_MONGROUPBUILDER_H
14 #define TRIGEFMISSINGET_MONGROUPBUILDER_H 1
17 #include <type_traits>
21 namespace HLT {
namespace MET {
33 class MonGroupBuilder {
51 typename = std::enable_if_t<
52 !std::is_lvalue_reference_v<T> &&
53 std::is_base_of_v<Monitored::IMonitoredVariable, T>>>
70 const ToolHandle<GenericMonitoringTool>&
tool)
const;
84 std::vector<std::reference_wrapper<Monitored::IMonitoredVariable>>
m_references;
86 std::vector<std::unique_ptr<Monitored::IMonitoredVariable>>
m_ptrs;
90 #endif //> !TRIGEFMISSINGET_MONGROUPBUILDER_H
Group of local monitoring quantities and retain correlation when filling histograms
std::vector< std::unique_ptr< Monitored::IMonitoredVariable > > m_ptrs
Any monitored variables that we own directly.
Monitored::Group build(const ToolHandle< GenericMonitoringTool > &tool) const
Build the monitored group.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
void add(Monitored::IMonitoredVariable &variable)
Add a new monitored variable.
void increaseCapacity(std::size_t value, bool owned=false)
Increase the internal capacity.
std::vector< std::reference_wrapper< Monitored::IMonitoredVariable > > m_references
References to monitored variables.