ATLAS Offline Software
TrigJetConditionConfig_pt.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 "./PtCondition.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<PtCondition>(a2d(m_min));
30 }
31 
32 
34  return StatusCode::SUCCESS;
35 }
ArgStrToDouble
Definition: ArgStrToDouble.h:13
ArgStrToDouble.h
Condition
std::unique_ptr< ICondition > Condition
Definition: ConditionsDefs.h:19
TrigJetConditionConfig_pt::getCondition
virtual Condition getCondition() const override
Definition: TrigJetConditionConfig_pt.cxx:27
TrigJetConditionConfig_pt::TrigJetConditionConfig_pt
TrigJetConditionConfig_pt(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigJetConditionConfig_pt.cxx:14
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigJetConditionConfig_pt::initialize
virtual StatusCode initialize() override
Definition: TrigJetConditionConfig_pt.cxx:22
TrigJetConditionConfig_pt::checkVals
StatusCode checkVals() const
Definition: TrigJetConditionConfig_pt.cxx:33
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrigJetConditionConfig_pt.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
PtCondition.h
TrigJetConditionConfig_pt::m_min
Gaudi::Property< std::string > m_min
Definition: TrigJetConditionConfig_pt.h:27