ATLAS Offline Software
TrigJetConditionConfig_emf.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /*
6  Instantiator for PT Condition
7  */
9 #include "GaudiKernel/StatusCode.h"
10 #include "./EMFCondition.h"
11 #include "./ArgStrToDouble.h"
12 
13 
15  const std::string& name,
16  const IInterface* parent) :
17  base_class(type, name, parent){
18 
19 }
20 
21 
23  return StatusCode::SUCCESS;
24 }
25 
26 
28  auto a2d = ArgStrToDouble();
29  return std::make_unique<EMFCondition>(a2d(m_min));
30 }
31 
32 
34  return StatusCode::SUCCESS;
35 }
TrigJetConditionConfig_emf::TrigJetConditionConfig_emf
TrigJetConditionConfig_emf(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigJetConditionConfig_emf.cxx:14
TrigJetConditionConfig_emf::checkVals
StatusCode checkVals() const
Definition: TrigJetConditionConfig_emf.cxx:33
ArgStrToDouble
Definition: ArgStrToDouble.h:13
ArgStrToDouble.h
TrigJetConditionConfig_emf::getCondition
virtual Condition getCondition() const override
Definition: TrigJetConditionConfig_emf.cxx:27
TrigJetConditionConfig_emf.h
Condition
std::unique_ptr< ICondition > Condition
Definition: ConditionsDefs.h:19
EMFCondition.h
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
TrigJetConditionConfig_emf::m_min
Gaudi::Property< std::string > m_min
Definition: TrigJetConditionConfig_emf.h:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TrigJetConditionConfig_emf::initialize
virtual StatusCode initialize() override
Definition: TrigJetConditionConfig_emf.cxx:22
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78