ATLAS Offline Software
Loading...
Searching...
No Matches
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 */
9#include "GaudiKernel/StatusCode.h"
10#include "./MomentCondition.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<MomentCondition>(a2d(m_min),
30 a2d(m_max),
32 );
33}
34
35
37 return StatusCode::SUCCESS;
38}
39
std::unique_ptr< ICondition > Condition
Gaudi::Property< std::string > m_min
Gaudi::Property< std::string > m_max
Gaudi::Property< std::string > m_moment
TrigJetConditionConfig_moment(const std::string &type, const std::string &name, const IInterface *parent)
virtual Condition getCondition() const override