ATLAS Offline Software
JetHistoEventLevelFiller.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
9 
10 JetHistoEventLevelFiller::JetHistoEventLevelFiller( const std::string& type, const std::string & name ,const IInterface* parent):
12  , m_var(this)
13 
14 {
15  declareInterface<IJetHistoFiller>(this);
16  declareProperty("Var", m_var);
17 }
18 
20 
21  Monitored::Scalar<float> s( m_var->varName() );
22  s = m_var->value(jets );
23  parentAlg.fill(m_group, s );
24 
25  return StatusCode::SUCCESS;
26 }
27 
JetHistoEventLevelFiller::m_group
Gaudi::Property< std::string > m_group
Definition: JetHistoEventLevelFiller.h:25
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
JetHistoEventLevelFiller.h
JetHistoEventLevelFiller::processJetContainer
virtual StatusCode processJetContainer(const JetMonitoringAlg &parentAlg, const xAOD::JetContainer &jets, const EventContext &ctx) const
Definition: JetHistoEventLevelFiller.cxx:19
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
AthMonitorAlgorithm::fill
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
Fills a vector of variables to a group by reference.
JetHistoEventLevelFiller::JetHistoEventLevelFiller
JetHistoEventLevelFiller(const std::string &type, const std::string &name, const IInterface *parent)
Definition: JetHistoEventLevelFiller.cxx:10
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
JetMonitoringAlg
Definition: JetMonitoringAlg.h:26
EventInfo.h
JetMonitoringAlg.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JetHistoEventLevelFiller::m_var
ToolHandle< IEventHistoVarTool > m_var
Definition: JetHistoEventLevelFiller.h:26
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24
Monitored::Scalar
Declare a monitored scalar variable.
Definition: MonitoredScalar.h:34
AthAlgTool
Definition: AthAlgTool.h:26