ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigHLTJetHypo
src
TrigJetConditionConfig_jvt.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 JVT Condition
7
*/
8
#include "
TrigJetConditionConfig_jvt.h
"
9
#include "GaudiKernel/StatusCode.h"
10
#include "
./JVTCondition.h
"
11
#include "
./ArgStrToDouble.h
"
12
13
TrigJetConditionConfig_jvt::TrigJetConditionConfig_jvt
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent) :
14
base_class(
type
, name, parent){
15
}
16
17
18
StatusCode
TrigJetConditionConfig_jvt::initialize
() {
19
CHECK
(
checkVals
());
20
21
return
StatusCode::SUCCESS;
22
}
23
24
25
Condition
TrigJetConditionConfig_jvt::getCondition
()
const
{
26
auto
a2d =
ArgStrToDouble
();
27
return
std::make_unique<JVTCondition>(a2d(
m_min
));
28
}
29
30
31
StatusCode
TrigJetConditionConfig_jvt::checkVals
()
const
{
32
return
StatusCode::SUCCESS;
33
}
ArgStrToDouble.h
Condition
std::unique_ptr< ICondition > Condition
Definition
ConditionsDefs.h:19
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition
Control/AthenaKernel/AthenaKernel/errorcheck.h:422
JVTCondition.h
TrigJetConditionConfig_jvt.h
ArgStrToDouble
Definition
ArgStrToDouble.h:13
TrigJetConditionConfig_jvt::getCondition
virtual Condition getCondition() const override
Definition
TrigJetConditionConfig_jvt.cxx:25
TrigJetConditionConfig_jvt::initialize
virtual StatusCode initialize() override
Definition
TrigJetConditionConfig_jvt.cxx:18
TrigJetConditionConfig_jvt::TrigJetConditionConfig_jvt
TrigJetConditionConfig_jvt(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TrigJetConditionConfig_jvt.cxx:13
TrigJetConditionConfig_jvt::m_min
Gaudi::Property< std::string > m_min
Definition
TrigJetConditionConfig_jvt.h:26
TrigJetConditionConfig_jvt::checkVals
StatusCode checkVals() const
Definition
TrigJetConditionConfig_jvt.cxx:31
type
Generated on
for ATLAS Offline Software by
1.17.0