ATLAS Offline Software
Trigger
TrigHypothesis
TrigHLTJetHypo
src
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
*/
8
#include "
TrigJetConditionConfig_pt.h
"
9
#include "GaudiKernel/StatusCode.h"
10
#include "
./PtCondition.h
"
11
#include "
./ArgStrToDouble.h
"
12
13
14
TrigJetConditionConfig_pt::TrigJetConditionConfig_pt
(
const
std::string&
type
,
15
const
std::string&
name
,
16
const
IInterface*
parent
) :
17
base_class(
type
,
name
,
parent
){
18
19
}
20
21
22
StatusCode
TrigJetConditionConfig_pt::initialize
() {
23
return
StatusCode::SUCCESS;
24
}
25
26
27
Condition
TrigJetConditionConfig_pt::getCondition
()
const
{
28
auto
a2d =
ArgStrToDouble
();
29
return
std::make_unique<PtCondition>(a2d(
m_min
));
30
}
31
32
33
StatusCode
TrigJetConditionConfig_pt::checkVals
()
const
{
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:221
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
Generated on Thu Nov 7 2024 21:29:53 for ATLAS Offline Software by
1.8.18