ATLAS Offline Software
Trigger
TrigHypothesis
TrigHLTJetHypo
src
TrigJetConditionConfig_gntau.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigJetConditionConfig_gntau.h
"
6
#include "GaudiKernel/StatusCode.h"
7
#include "
./GNTauCondition.h
"
8
#include "
./ArgStrToDouble.h
"
9
10
TrigJetConditionConfig_gntau::TrigJetConditionConfig_gntau
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface*
parent
) :
11
base_class(
type
,
name
,
parent
){
12
}
13
14
15
StatusCode
TrigJetConditionConfig_gntau::initialize
() {
16
CHECK
(
checkVals
());
17
18
return
StatusCode::SUCCESS;
19
}
20
21
22
Condition
TrigJetConditionConfig_gntau::getCondition
()
const
{
23
auto
a2d =
ArgStrToDouble
();
24
return
std::make_unique<GNTauCondition>(
25
a2d(
m_min
),
26
m_name_ptau
,
27
m_name_pu
,
28
m_name_valid
);
29
}
30
31
32
StatusCode
TrigJetConditionConfig_gntau::checkVals
()
const
{
33
return
StatusCode::SUCCESS;
34
}
TrigJetConditionConfig_gntau::m_min
Gaudi::Property< std::string > m_min
Definition:
TrigJetConditionConfig_gntau.h:26
TrigJetConditionConfig_gntau.h
ArgStrToDouble
Definition:
ArgStrToDouble.h:13
ArgStrToDouble.h
Condition
std::unique_ptr< ICondition > Condition
Definition:
ConditionsDefs.h:19
TrigJetConditionConfig_gntau::initialize
virtual StatusCode initialize() override
Definition:
TrigJetConditionConfig_gntau.cxx:15
TrigJetConditionConfig_gntau::getCondition
virtual Condition getCondition() const override
Definition:
TrigJetConditionConfig_gntau.cxx:22
GNTauCondition.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigJetConditionConfig_gntau::checkVals
StatusCode checkVals() const
Definition:
TrigJetConditionConfig_gntau.cxx:32
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
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_gntau::TrigJetConditionConfig_gntau
TrigJetConditionConfig_gntau(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
TrigJetConditionConfig_gntau.cxx:10
TrigJetConditionConfig_gntau::m_name_valid
Gaudi::Property< std::string > m_name_valid
Definition:
TrigJetConditionConfig_gntau.h:35
TrigJetConditionConfig_gntau::m_name_ptau
Gaudi::Property< std::string > m_name_ptau
Definition:
TrigJetConditionConfig_gntau.h:31
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
TrigJetConditionConfig_gntau::m_name_pu
Gaudi::Property< std::string > m_name_pu
Definition:
TrigJetConditionConfig_gntau.h:33
Generated on Sun Dec 22 2024 21:21:05 for ATLAS Offline Software by
1.8.18