ATLAS Offline Software
MonGroupBuilder.cxx
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 /******************************************************************************
6  * @package Trigger/TrigAlgorithms/TrigEFMissingET
7  * @file MonGroupBuilder.cxx
8  *
9  * Implementation of monitoring group builder
10  * @author Jon Burr
11  *****************************************************************************/
12 
13 #include "MonGroupBuilder.h"
14 
15 namespace HLT { namespace MET {
17  {
18  m_references.push_back(variable);
19  }
20 
22  const ToolHandle<GenericMonitoringTool>& tool) const
23  {
25  }
26 
27  void MonGroupBuilder::increaseCapacity(std::size_t value, bool owned)
28  {
29  m_references.reserve(value+m_references.capacity() );
30  if (owned)
31  m_ptrs.reserve(value+m_ptrs.capacity() );
32  }
33 } } //> end namespace HLT::MET
TrigDefs::Group
Group
Properties of a chain group.
Definition: GroupProperties.h:13
Monitored::Group
Group of local monitoring quantities and retain correlation when filling histograms
Definition: MonitoredGroup.h:54
athena.value
value
Definition: athena.py:122
HLT::MET::MonGroupBuilder::m_ptrs
std::vector< std::unique_ptr< Monitored::IMonitoredVariable > > m_ptrs
Any monitored variables that we own directly.
Definition: MonGroupBuilder.h:114
Monitored::IMonitoredVariable
Definition: IMonitoredVariable.h:14
HLT::MET::MonGroupBuilder::build
Monitored::Group build(const ToolHandle< GenericMonitoringTool > &tool) const
Build the monitored group.
Definition: MonGroupBuilder.cxx:33
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition: HLTResultReader.h:26
MonGroupBuilder.h
TCS::MET
@ MET
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Types.h:16
python.selection.variable
variable
Definition: selection.py:33
HLT::MET::MonGroupBuilder::add
void add(Monitored::IMonitoredVariable &variable)
Add a new monitored variable.
Definition: MonGroupBuilder.cxx:28
AtlCoolConsole.tool
tool
Definition: AtlCoolConsole.py:453
HLT::MET::MonGroupBuilder::increaseCapacity
void increaseCapacity(std::size_t value, bool owned=false)
Increase the internal capacity.
Definition: MonGroupBuilder.cxx:39
HLT::MET::MonGroupBuilder::m_references
std::vector< std::reference_wrapper< Monitored::IMonitoredVariable > > m_references
References to monitored variables.
Definition: MonGroupBuilder.h:112