ATLAS Offline Software
Loading...
Searching...
No Matches
TrigJetConditionConfig_timing.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 TIMING Condition
7 */
9#include "GaudiKernel/StatusCode.h"
10#include "./TimingCondition.h"
11#include "./ArgStrToDouble.h"
12
13TrigJetConditionConfig_timing::TrigJetConditionConfig_timing(const std::string& type, const std::string& name, const IInterface* parent) :
14 base_class(type, name, parent){
15}
16
17
20
21 return StatusCode::SUCCESS;
22}
23
24
26 auto a2d = ArgStrToDouble();
27 return std::make_unique<TimingCondition>(a2d(m_min), a2d(m_max));
28}
29
30
32 return StatusCode::SUCCESS;
33}
std::unique_ptr< ICondition > Condition
#define CHECK(...)
Evaluate an expression and check for errors.
Gaudi::Property< std::string > m_max
virtual Condition getCondition() const override
TrigJetConditionConfig_timing(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< std::string > m_min