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

#include <TrigEgammaForwardFastCaloHypoTool.h>

Inheritance diagram for TrigEgammaForwardFastCaloHypoTool:
Collaboration diagram for TrigEgammaForwardFastCaloHypoTool:

Public Member Functions

 TrigEgammaForwardFastCaloHypoTool (const std::string &type, const std::string &name, const IInterface *parent)
virtual ~TrigEgammaForwardFastCaloHypoTool ()
virtual StatusCode initialize () override
virtual StatusCode decide (std::vector< ITrigEgammaForwardFastCaloHypoTool::FastClusterInfo > &input) const override
virtual bool decide (const ITrigEgammaForwardFastCaloHypoTool::FastClusterInfo &i) const override

Private Attributes

HLT::Identifier m_decisionId
ToolHandle< ILumiBlockMuToolm_lumiBlockMuTool
Gaudi::Property< bool > m_acceptAll { this, "AcceptAll", false , "Ignore selection" }
Gaudi::Property< float > m_emEtCut {this,"EtCut", 0.0, "Et threshold"}
ToolHandle< GenericMonitoringToolm_monTool { this, "MonTool", "", "Monitoring tool" }
ToolHandle< Ringer::IAsgRingerSelectorToolm_ringerTool { this, "RingerSelector", "", "Ringer tool" }

Detailed Description

Definition at line 25 of file TrigEgammaForwardFastCaloHypoTool.h.

Constructor & Destructor Documentation

◆ TrigEgammaForwardFastCaloHypoTool()

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

Definition at line 16 of file TrigEgammaForwardFastCaloHypoTool.cxx.

19 : base_class( type, name, parent ),
20 m_decisionId( HLT::Identifier::fromToolName( name ) ) ,
21 m_lumiBlockMuTool("LumiBlockMuTool/LumiBlockMuTool")
22{
23 declareProperty("LumiBlockMuTool", m_lumiBlockMuTool, "Luminosity Tool" );
24}
static HLT::Identifier fromToolName(const std::string &tname)

◆ ~TrigEgammaForwardFastCaloHypoTool()

TrigEgammaForwardFastCaloHypoTool::~TrigEgammaForwardFastCaloHypoTool ( )
virtual

Definition at line 27 of file TrigEgammaForwardFastCaloHypoTool.cxx.

27{}

Member Function Documentation

◆ decide() [1/2]

bool TrigEgammaForwardFastCaloHypoTool::decide ( const ITrigEgammaForwardFastCaloHypoTool::FastClusterInfo & i) const
overridevirtual

Definition at line 62 of file TrigEgammaForwardFastCaloHypoTool.cxx.

62 {
63 return true;
64}

◆ decide() [2/2]

virtual StatusCode TrigEgammaForwardFastCaloHypoTool::decide ( std::vector< ITrigEgammaForwardFastCaloHypoTool::FastClusterInfo > & input) const
overridevirtual

◆ initialize()

StatusCode TrigEgammaForwardFastCaloHypoTool::initialize ( )
overridevirtual

Definition at line 31 of file TrigEgammaForwardFastCaloHypoTool.cxx.

32{
33
34 ATH_MSG_DEBUG( "AcceptAll = " << ( m_acceptAll==true ? "True" : "False" ) );
35
36 ATH_MSG_DEBUG( "Tool configured for chain/id: " << m_decisionId );
37
38 if ( not m_monTool.name().empty() )
39 CHECK( m_monTool.retrieve() );
40
41 if (m_lumiBlockMuTool.retrieve().isFailure())
42 return StatusCode::FAILURE;
43
44 ATH_MSG_DEBUG( "Initialization completed successfully" );
45
46 return StatusCode::SUCCESS;
47}
#define ATH_MSG_DEBUG(x)
#define CHECK(...)
Evaluate an expression and check for errors.

Member Data Documentation

◆ m_acceptAll

Gaudi::Property< bool > TrigEgammaForwardFastCaloHypoTool::m_acceptAll { this, "AcceptAll", false , "Ignore selection" }
private

Definition at line 50 of file TrigEgammaForwardFastCaloHypoTool.h.

50{ this, "AcceptAll", false , "Ignore selection" };

◆ m_decisionId

HLT::Identifier TrigEgammaForwardFastCaloHypoTool::m_decisionId
private

Definition at line 45 of file TrigEgammaForwardFastCaloHypoTool.h.

◆ m_emEtCut

Gaudi::Property<float> TrigEgammaForwardFastCaloHypoTool::m_emEtCut {this,"EtCut", 0.0, "Et threshold"}
private

Definition at line 51 of file TrigEgammaForwardFastCaloHypoTool.h.

51{this,"EtCut", 0.0, "Et threshold"};

◆ m_lumiBlockMuTool

ToolHandle<ILumiBlockMuTool> TrigEgammaForwardFastCaloHypoTool::m_lumiBlockMuTool
private

Definition at line 46 of file TrigEgammaForwardFastCaloHypoTool.h.

◆ m_monTool

ToolHandle< GenericMonitoringTool > TrigEgammaForwardFastCaloHypoTool::m_monTool { this, "MonTool", "", "Monitoring tool" }
private

Definition at line 54 of file TrigEgammaForwardFastCaloHypoTool.h.

54{ this, "MonTool", "", "Monitoring tool" };

◆ m_ringerTool

ToolHandle<Ringer::IAsgRingerSelectorTool> TrigEgammaForwardFastCaloHypoTool::m_ringerTool { this, "RingerSelector", "", "Ringer tool" }
private

Definition at line 55 of file TrigEgammaForwardFastCaloHypoTool.h.

55{ this, "RingerSelector", "", "Ringer tool" };

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