ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TrigJetConditionConfig_dijet_dphi Class Reference

#include <TrigJetConditionConfig_dijet_dphi.h>

Inheritance diagram for TrigJetConditionConfig_dijet_dphi:
Collaboration diagram for TrigJetConditionConfig_dijet_dphi:

Public Member Functions

 TrigJetConditionConfig_dijet_dphi (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual StatusCode initialize () override
 
virtual Condition getCondition () const override
 

Private Member Functions

StatusCode checkVals () const
 

Private Attributes

Gaudi::Property< std::string > m_min {this, "min", {}, "min dijet dPhi"}
 
Gaudi::Property< std::string > m_max {this, "max", {}, "max dojet dPhi"}
 

Detailed Description

Definition at line 13 of file TrigJetConditionConfig_dijet_dphi.h.

Constructor & Destructor Documentation

◆ TrigJetConditionConfig_dijet_dphi()

TrigJetConditionConfig_dijet_dphi::TrigJetConditionConfig_dijet_dphi ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Definition at line 14 of file TrigJetConditionConfig_dijet_dphi.cxx.

16  :
17  base_class(type, name, parent){
18 
19 }

Member Function Documentation

◆ checkVals()

StatusCode TrigJetConditionConfig_dijet_dphi::checkVals ( ) const
private

Definition at line 35 of file TrigJetConditionConfig_dijet_dphi.cxx.

35  {
36 
37  auto a2d = ArgStrToDouble();
38 
39  if(a2d(m_min) >a2d(m_max)){
40  ATH_MSG_ERROR("Error: dPhiMin > dphiMax");
41  return StatusCode::FAILURE;
42  }
43  return StatusCode::SUCCESS;
44 }

◆ getCondition()

Condition TrigJetConditionConfig_dijet_dphi::getCondition ( ) const
overridevirtual

Definition at line 29 of file TrigJetConditionConfig_dijet_dphi.cxx.

29  {
30  auto a2d = ArgStrToDouble();
31  return std::make_unique<DijetDPhiCondition>(a2d(m_min), a2d(m_max));
32 }

◆ initialize()

StatusCode TrigJetConditionConfig_dijet_dphi::initialize ( )
overridevirtual

Definition at line 22 of file TrigJetConditionConfig_dijet_dphi.cxx.

22  {
23  CHECK(checkVals());
24 
25  return StatusCode::SUCCESS;
26 }

Member Data Documentation

◆ m_max

Gaudi::Property<std::string> TrigJetConditionConfig_dijet_dphi::m_max {this, "max", {}, "max dojet dPhi"}
private

Definition at line 31 of file TrigJetConditionConfig_dijet_dphi.h.

◆ m_min

Gaudi::Property<std::string> TrigJetConditionConfig_dijet_dphi::m_min {this, "min", {}, "min dijet dPhi"}
private

Definition at line 28 of file TrigJetConditionConfig_dijet_dphi.h.


The documentation for this class was generated from the following files:
TrigJetConditionConfig_dijet_dphi::m_max
Gaudi::Property< std::string > m_max
Definition: TrigJetConditionConfig_dijet_dphi.h:31
ArgStrToDouble
Definition: ArgStrToDouble.h:13
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrigJetConditionConfig_dijet_dphi::checkVals
StatusCode checkVals() const
Definition: TrigJetConditionConfig_dijet_dphi.cxx:35
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TrigJetConditionConfig_dijet_dphi::m_min
Gaudi::Property< std::string > m_min
Definition: TrigJetConditionConfig_dijet_dphi.h:28
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78