ATLAS Offline Software
TrigJetConditionConfig_dipzmlpl.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 dipz Conditions
7  */
9 #include "GaudiKernel/StatusCode.h"
10 #include "./DipzMLPLCondition.h"
11 #include "./ArgStrToDouble.h"
12 
14  const std::string& name,
15  const IInterface* parent) :
16  base_class(type, name, parent){
17 
18 }
19 
20 
22  CHECK(checkVals());
23 
24  return StatusCode::SUCCESS;
25 }
26 
27 
29  auto a2d = ArgStrToDouble();
30  return std::make_unique<DipzMLPLCondition>(
31  a2d(m_min),
32  a2d(m_capacity),
35 }
36 
37 
39  return StatusCode::SUCCESS;
40 }
TrigJetConditionConfig_dipzmlpl::m_min
Gaudi::Property< std::string > m_min
Definition: TrigJetConditionConfig_dipzmlpl.h:35
ArgStrToDouble
Definition: ArgStrToDouble.h:13
ArgStrToDouble.h
TrigJetConditionConfig_dipzmlpl::m_decName_z
Gaudi::Property< std::string > m_decName_z
Definition: TrigJetConditionConfig_dipzmlpl.h:40
TrigJetConditionConfig_dipzmlpl::TrigJetConditionConfig_dipzmlpl
TrigJetConditionConfig_dipzmlpl(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigJetConditionConfig_dipzmlpl.cxx:13
Condition
std::unique_ptr< ICondition > Condition
Definition: ConditionsDefs.h:19
DipzMLPLCondition.h
TrigJetConditionConfig_dipzmlpl::m_capacity
Gaudi::Property< std::string > m_capacity
Definition: TrigJetConditionConfig_dipzmlpl.h:39
TrigJetConditionConfig_dipzmlpl::getCondition
virtual Condition getCondition() const override
Definition: TrigJetConditionConfig_dipzmlpl.cxx:28
TrigJetConditionConfig_dipzmlpl::checkVals
StatusCode checkVals() const
Definition: TrigJetConditionConfig_dipzmlpl.cxx:38
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_dipzmlpl.h
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigJetConditionConfig_dipzmlpl::m_decName_negLogSigma2
Gaudi::Property< std::string > m_decName_negLogSigma2
Definition: TrigJetConditionConfig_dipzmlpl.h:42
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigJetConditionConfig_dipzmlpl::initialize
virtual StatusCode initialize() override
Definition: TrigJetConditionConfig_dipzmlpl.cxx:21