ATLAS Offline Software
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 
14 public 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
ConditionsDefs.h
TrigJetConditionConfig_phi::getCondition
virtual Condition getCondition() const override
Definition: TrigJetConditionConfig_phi.cxx:49
ArgStrToDouble.h
TrigJetConditionConfig_phi::m_strmin
Gaudi::Property< std::string > m_strmin
Definition: TrigJetConditionConfig_phi.h:32
TrigJetConditionConfig_phi::m_min
double m_min
Definition: TrigJetConditionConfig_phi.h:37
Condition
std::unique_ptr< ICondition > Condition
Definition: ConditionsDefs.h:19
TrigJetConditionConfig_phi::m_max
double m_max
Definition: TrigJetConditionConfig_phi.h:38
TrigJetConditionConfig_phi::initialize
virtual StatusCode initialize() override
Definition: TrigJetConditionConfig_phi.cxx:18
ITrigJetConditionConfig.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrigJetConditionConfig_phi
Definition: TrigJetConditionConfig_phi.h:14
TrigJetConditionConfig_phi::m_strmax
Gaudi::Property< std::string > m_strmax
Definition: TrigJetConditionConfig_phi.h:35
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TrigJetConditionConfig_phi::checkVals
StatusCode checkVals() const
Definition: TrigJetConditionConfig_phi.cxx:54
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigJetConditionConfig_phi::TrigJetConditionConfig_phi
TrigJetConditionConfig_phi(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigJetConditionConfig_phi.cxx:11