ATLAS Offline Software
Loading...
Searching...
No Matches
TrigJetConditionConfig_et.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 */
9#include "GaudiKernel/StatusCode.h"
10#include "./EtCondition.h"
11#include "./ArgStrToDouble.h"
12
13
15 const std::string& name,
16 const IInterface* parent) :
17 base_class(type, name, parent){
18
19}
20
21
23 return StatusCode::SUCCESS;
24}
25
26
28 auto a2d = ArgStrToDouble();
29 return std::make_unique<EtCondition>(a2d(m_min));
30}
31
32
34 return StatusCode::SUCCESS;
35}
std::unique_ptr< ICondition > Condition
TrigJetConditionConfig_et(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_min
virtual Condition getCondition() const override