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

#include <TrigJetConditionConfig_htdipz.h>

Inheritance diagram for TrigJetConditionConfig_htdipz:
Collaboration diagram for TrigJetConditionConfig_htdipz:

Public Member Functions

 TrigJetConditionConfig_htdipz (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_capacity {this, "capacity", {}, "number of jets considered"}
Gaudi::Property< std::string > m_decName_z {this, "decName_z", {}, "dipz z accessor"}
Gaudi::Property< std::string > m_decName_negLogSigma2 { this, "decName_sigma", {}, "dipz sigma accessor"}
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 17 of file TrigJetConditionConfig_htdipz.h.

Constructor & Destructor Documentation

◆ TrigJetConditionConfig_htdipz()

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

Definition at line 16 of file TrigJetConditionConfig_htdipz.cxx.

18 :
19 base_class(type, name, parent){
20
21}

Member Function Documentation

◆ checkVals()

StatusCode TrigJetConditionConfig_htdipz::checkVals ( ) const
private

Definition at line 41 of file TrigJetConditionConfig_htdipz.cxx.

41 {
42 auto a2d = ArgStrToDouble();
43 if (a2d(m_min) > a2d(m_max)){
44 ATH_MSG_ERROR("htMin > htMax");
45 return StatusCode::FAILURE;
46 }
47 return StatusCode::SUCCESS;
48}
#define ATH_MSG_ERROR(x)
Gaudi::Property< std::string > m_max
Gaudi::Property< std::string > m_min

◆ getCondition()

Condition TrigJetConditionConfig_htdipz::getCondition ( ) const
overridevirtual

Definition at line 31 of file TrigJetConditionConfig_htdipz.cxx.

31 {
32 auto a2d = ArgStrToDouble();
33
34 DipzLikelihoodCmp mlplComp(m_decName_z, m_decName_negLogSigma2);
35 std::unique_ptr<HTConditionFastReduction> HTcond = std::make_unique<HTConditionFastReduction>(a2d(m_min), a2d(m_max));
36 return std::make_unique<MaxCombinationCondition<DipzLikelihoodCmp>>(a2d(m_capacity), std::move(HTcond), mlplComp);
37
38}
Gaudi::Property< std::string > m_decName_negLogSigma2
Gaudi::Property< std::string > m_decName_z
Gaudi::Property< std::string > m_capacity

◆ initialize()

StatusCode TrigJetConditionConfig_htdipz::initialize ( )
overridevirtual

Definition at line 24 of file TrigJetConditionConfig_htdipz.cxx.

24 {
26
27 return StatusCode::SUCCESS;
28}
#define CHECK(...)
Evaluate an expression and check for errors.

Member Data Documentation

◆ m_capacity

Gaudi::Property<std::string> TrigJetConditionConfig_htdipz::m_capacity {this, "capacity", {}, "number of jets considered"}
private

Definition at line 33 of file TrigJetConditionConfig_htdipz.h.

33{this, "capacity", {}, "number of jets considered"};

◆ m_decName_negLogSigma2

Gaudi::Property<std::string> TrigJetConditionConfig_htdipz::m_decName_negLogSigma2 { this, "decName_sigma", {}, "dipz sigma accessor"}
private

Definition at line 37 of file TrigJetConditionConfig_htdipz.h.

37{ this, "decName_sigma", {}, "dipz sigma accessor"};

◆ m_decName_z

Gaudi::Property<std::string> TrigJetConditionConfig_htdipz::m_decName_z {this, "decName_z", {}, "dipz z accessor"}
private

Definition at line 35 of file TrigJetConditionConfig_htdipz.h.

35{this, "decName_z", {}, "dipz z accessor"};

◆ m_max

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

Definition at line 41 of file TrigJetConditionConfig_htdipz.h.

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

◆ m_min

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

Definition at line 39 of file TrigJetConditionConfig_htdipz.h.

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

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