ATLAS Offline Software
Loading...
Searching...
No Matches
TrigJetConditionConfig_phi.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGJETCONDITIONCONFIG_PHI_H
6#define TRIGJETCONDITIONCONFIG_PHI_H
7
10#include "./ConditionsDefs.h"
11#include "./ArgStrToDouble.h"
12
14public extends<AthAlgTool, ITrigJetConditionConfig> {
15
16 public:
17
18 TrigJetConditionConfig_phi(const std::string& type,
19 const std::string& name,
20 const IInterface* parent);
21
22 virtual StatusCode initialize() override;
23 virtual Condition getCondition() const override;
24
25 private:
26
27 // phi min and max are strings. "PI" and "-PI" , as well
28 // as any intermediate value that converts to a double value
29 // in the range (-pi, pi), eg "1.0", are accepted.
30
31 Gaudi::Property<std::string>
32 m_strmin{this, "min", {}, "min for phi region"};
33
34 Gaudi::Property<std::string>
35 m_strmax{this, "max", {}, "max for phi region"};
36
37 double m_min{0.};
38 double m_max{0.};
39
40 StatusCode checkVals() const;
41
42};
43#endif
std::unique_ptr< ICondition > Condition
virtual Condition getCondition() const override
virtual StatusCode initialize() override
TrigJetConditionConfig_phi(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< std::string > m_strmax
Gaudi::Property< std::string > m_strmin