ATLAS Offline Software
Trigger
TrigHypothesis
TrigHLTJetHypo
src
TrigJetConditionConfig_moment.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/*
6
Instantiator for ET Condition
7
*/
8
#include "
TrigJetConditionConfig_moment.h
"
9
#include "GaudiKernel/StatusCode.h"
10
#include "
./MomentCondition.h
"
11
#include "
./ArgStrToDouble.h
"
12
13
14
TrigJetConditionConfig_moment::TrigJetConditionConfig_moment
(
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_moment::initialize
() {
23
return
StatusCode::SUCCESS;
24
}
25
26
27
Condition
TrigJetConditionConfig_moment::getCondition
()
const
{
28
auto
a2d =
ArgStrToDouble
();
29
return
std::make_unique<MomentCondition>(a2d(
m_min
),
30
a2d(
m_max
),
31
m_moment
32
);
33
}
34
35
36
StatusCode
TrigJetConditionConfig_moment::checkVals
()
const
{
37
return
StatusCode::SUCCESS;
38
}
39
TrigJetConditionConfig_moment.h
ArgStrToDouble
Definition:
ArgStrToDouble.h:13
ArgStrToDouble.h
TrigJetConditionConfig_moment::m_moment
Gaudi::Property< std::string > m_moment
Definition:
TrigJetConditionConfig_moment.h:33
Condition
std::unique_ptr< ICondition > Condition
Definition:
ConditionsDefs.h:19
TrigJetConditionConfig_moment::m_max
Gaudi::Property< std::string > m_max
Definition:
TrigJetConditionConfig_moment.h:30
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigJetConditionConfig_moment::checkVals
StatusCode checkVals() const
Definition:
TrigJetConditionConfig_moment.cxx:36
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
MomentCondition.h
TrigJetConditionConfig_moment::getCondition
virtual Condition getCondition() const override
Definition:
TrigJetConditionConfig_moment.cxx:27
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
TrigJetConditionConfig_moment::TrigJetConditionConfig_moment
TrigJetConditionConfig_moment(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
TrigJetConditionConfig_moment.cxx:14
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
TrigJetConditionConfig_moment::initialize
virtual StatusCode initialize() override
Definition:
TrigJetConditionConfig_moment.cxx:22
TrigJetConditionConfig_moment::m_min
Gaudi::Property< std::string > m_min
Definition:
TrigJetConditionConfig_moment.h:27
Generated on Thu Nov 7 2024 21:29:52 for ATLAS Offline Software by
1.8.18