ATLAS Offline Software
Loading...
Searching...
No Matches
TrigJetConditionConfig_htfr Class Reference

#include <TrigJetConditionConfig_htfr.h>

Inheritance diagram for TrigJetConditionConfig_htfr:
Collaboration diagram for TrigJetConditionConfig_htfr:

Public Member Functions

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

Detailed Description

Definition at line 19 of file TrigJetConditionConfig_htfr.h.

Constructor & Destructor Documentation

◆ TrigJetConditionConfig_htfr()

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

Definition at line 13 of file TrigJetConditionConfig_htfr.cxx.

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

Member Function Documentation

◆ checkVals()

StatusCode TrigJetConditionConfig_htfr::checkVals ( ) const
private

Definition at line 34 of file TrigJetConditionConfig_htfr.cxx.

34 {
35 auto a2d = ArgStrToDouble();
36 if (a2d(m_min) > a2d(m_max)){
37 ATH_MSG_ERROR("htMin > htMax");
38 return StatusCode::FAILURE;
39 }
40 return StatusCode::SUCCESS;
41}
#define ATH_MSG_ERROR(x)
Gaudi::Property< std::string > m_min
Gaudi::Property< std::string > m_max

◆ getCondition()

Condition TrigJetConditionConfig_htfr::getCondition ( ) const
overridevirtual

Definition at line 28 of file TrigJetConditionConfig_htfr.cxx.

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

◆ initialize()

StatusCode TrigJetConditionConfig_htfr::initialize ( )
overridevirtual

Definition at line 21 of file TrigJetConditionConfig_htfr.cxx.

21 {
23
24 return StatusCode::SUCCESS;
25}
#define CHECK(...)
Evaluate an expression and check for errors.

Member Data Documentation

◆ m_max

Gaudi::Property<std::string> TrigJetConditionConfig_htfr::m_max {this, "max", {}, "max HT"}
private

Definition at line 38 of file TrigJetConditionConfig_htfr.h.

38{this, "max", {}, "max HT"};

◆ m_min

Gaudi::Property<std::string> TrigJetConditionConfig_htfr::m_min {this, "min", {}, "min HT"}
private

Definition at line 35 of file TrigJetConditionConfig_htfr.h.

35{this, "min", {}, "min HT"};

The documentation for this class was generated from the following files: