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

#include <TrigJetConditionConfig_dijet_deta.h>

Inheritance diagram for TrigJetConditionConfig_dijet_deta:
Collaboration diagram for TrigJetConditionConfig_dijet_deta:

Public Member Functions

 TrigJetConditionConfig_dijet_deta (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 dEta"}
 
Gaudi::Property< std::string > m_max {this, "max", {}, "max dijet dEta"}
 

Detailed Description

Definition at line 13 of file TrigJetConditionConfig_dijet_deta.h.

Constructor & Destructor Documentation

◆ TrigJetConditionConfig_dijet_deta()

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

Definition at line 13 of file TrigJetConditionConfig_dijet_deta.cxx.

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

Member Function Documentation

◆ checkVals()

StatusCode TrigJetConditionConfig_dijet_deta::checkVals ( ) const
private

Definition at line 34 of file TrigJetConditionConfig_dijet_deta.cxx.

34  {
35  auto a2d = ArgStrToDouble();
36  if (a2d(m_min) > a2d(m_max)){
37  ATH_MSG_ERROR("dEtaMin > dEtaMax");
38  return StatusCode::FAILURE;
39  }
40  return StatusCode::SUCCESS;
41 }

◆ getCondition()

Condition TrigJetConditionConfig_dijet_deta::getCondition ( ) const
overridevirtual

Definition at line 28 of file TrigJetConditionConfig_dijet_deta.cxx.

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

◆ initialize()

StatusCode TrigJetConditionConfig_dijet_deta::initialize ( )
overridevirtual

Definition at line 21 of file TrigJetConditionConfig_dijet_deta.cxx.

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

Member Data Documentation

◆ m_max

Gaudi::Property<std::string> TrigJetConditionConfig_dijet_deta::m_max {this, "max", {}, "max dijet dEta"}
private

Definition at line 32 of file TrigJetConditionConfig_dijet_deta.h.

◆ m_min

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

Definition at line 29 of file TrigJetConditionConfig_dijet_deta.h.


The documentation for this class was generated from the following files:
ArgStrToDouble
Definition: ArgStrToDouble.h:13
TrigJetConditionConfig_dijet_deta::m_min
Gaudi::Property< std::string > m_min
Definition: TrigJetConditionConfig_dijet_deta.h:29
TrigJetConditionConfig_dijet_deta::checkVals
StatusCode checkVals() const
Definition: TrigJetConditionConfig_dijet_deta.cxx:34
TrigJetConditionConfig_dijet_deta::m_max
Gaudi::Property< std::string > m_max
Definition: TrigJetConditionConfig_dijet_deta.h:32
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
test_pyathena.parent
parent
Definition: test_pyathena.py:15
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
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78