ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
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 }

◆ getCondition()

Condition TrigJetConditionConfig_htdipz::getCondition ( ) const
overridevirtual

Definition at line 31 of file TrigJetConditionConfig_htdipz.cxx.

31  {
32  auto a2d = ArgStrToDouble();
33 
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 }

◆ initialize()

StatusCode TrigJetConditionConfig_htdipz::initialize ( )
overridevirtual

Definition at line 24 of file TrigJetConditionConfig_htdipz.cxx.

24  {
25  CHECK(checkVals());
26 
27  return StatusCode::SUCCESS;
28 }

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.

◆ 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.

◆ 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.

◆ m_max

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

Definition at line 41 of file TrigJetConditionConfig_htdipz.h.

◆ m_min

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

Definition at line 39 of file TrigJetConditionConfig_htdipz.h.


The documentation for this class was generated from the following files:
TrigJetConditionConfig_htdipz::m_decName_z
Gaudi::Property< std::string > m_decName_z
Definition: TrigJetConditionConfig_htdipz.h:35
TrigJetConditionConfig_htdipz::m_max
Gaudi::Property< std::string > m_max
Definition: TrigJetConditionConfig_htdipz.h:41
ArgStrToDouble
Definition: ArgStrToDouble.h:13
TrigJetConditionConfig_htdipz::m_min
Gaudi::Property< std::string > m_min
Definition: TrigJetConditionConfig_htdipz.h:39
TrigJetConditionConfig_htdipz::checkVals
StatusCode checkVals() const
Definition: TrigJetConditionConfig_htdipz.cxx:41
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:195
DipzLikelihoodCmp
Definition: DipzLikelihoodCmp.h:66
TrigJetConditionConfig_htdipz::m_decName_negLogSigma2
Gaudi::Property< std::string > m_decName_negLogSigma2
Definition: TrigJetConditionConfig_htdipz.h:37
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigJetConditionConfig_htdipz::m_capacity
Gaudi::Property< std::string > m_capacity
Definition: TrigJetConditionConfig_htdipz.h:33