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

#include <TrigJetConditionConfig_pileuprm.h>

Inheritance diagram for TrigJetConditionConfig_pileuprm:
Collaboration diagram for TrigJetConditionConfig_pileuprm:

Public Member Functions

 TrigJetConditionConfig_pileuprm (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", {}, "single jet max EMF"}
 
Gaudi::Property< std::string > m_max {this, "max", {}, "single jet max EMF before pileupremoval"}
 

Detailed Description

Definition at line 12 of file TrigJetConditionConfig_pileuprm.h.

Constructor & Destructor Documentation

◆ TrigJetConditionConfig_pileuprm()

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

Definition at line 14 of file TrigJetConditionConfig_pileuprm.cxx.

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

Member Function Documentation

◆ checkVals()

StatusCode TrigJetConditionConfig_pileuprm::checkVals ( ) const
private

Definition at line 35 of file TrigJetConditionConfig_pileuprm.cxx.

35  {
36  auto a2d = ArgStrToDouble();
37  if (a2d(m_min) > a2d(m_max)){
38  ATH_MSG_ERROR(" min LogR cut > max LogR cut");
39  return StatusCode::FAILURE;
40  }
41 
42  return StatusCode::SUCCESS;
43 }

◆ getCondition()

Condition TrigJetConditionConfig_pileuprm::getCondition ( ) const
overridevirtual

Definition at line 27 of file TrigJetConditionConfig_pileuprm.cxx.

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

◆ initialize()

StatusCode TrigJetConditionConfig_pileuprm::initialize ( )
overridevirtual

Definition at line 22 of file TrigJetConditionConfig_pileuprm.cxx.

22  {
23  return StatusCode::SUCCESS;
24 }

Member Data Documentation

◆ m_max

Gaudi::Property<std::string> TrigJetConditionConfig_pileuprm::m_max {this, "max", {}, "single jet max EMF before pileupremoval"}
private

Definition at line 30 of file TrigJetConditionConfig_pileuprm.h.

◆ m_min

Gaudi::Property<std::string> TrigJetConditionConfig_pileuprm::m_min {this, "min", {}, "single jet max EMF"}
private

Definition at line 27 of file TrigJetConditionConfig_pileuprm.h.


The documentation for this class was generated from the following files:
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
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TrigJetConditionConfig_pileuprm::m_max
Gaudi::Property< std::string > m_max
Definition: TrigJetConditionConfig_pileuprm.h:30
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigJetConditionConfig_pileuprm::m_min
Gaudi::Property< std::string > m_min
Definition: TrigJetConditionConfig_pileuprm.h:27