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

the tool to select Ultra Central Collisions (applies a cut on calo energy) More...

#include <TrigHIUCCHypoTool.h>

Inheritance diagram for TrigHIUCCHypoTool:
Collaboration diagram for TrigHIUCCHypoTool:

Public Member Functions

 TrigHIUCCHypoTool (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual ~TrigHIUCCHypoTool () override
 
virtual StatusCode initialize () override
 
virtual StatusCode finalize () override
 
virtual StatusCode decide (const xAOD::HIEventShapeContainer *, bool &) const override
 
virtual const HLT::IdentifiergetId () const override
 

Private Attributes

HLT::Identifier m_decisionId
 
Gaudi::Property< float > m_FCalEtThreshold {this, "FCalEtThreshold", -1, "Threshold applied on ET from FCal"}
 

Detailed Description

the tool to select Ultra Central Collisions (applies a cut on calo energy)

Definition at line 22 of file TrigHIUCCHypoTool.h.

Constructor & Destructor Documentation

◆ TrigHIUCCHypoTool()

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

Definition at line 8 of file TrigHIUCCHypoTool.cxx.

8  :
9  base_class(type, name, parent),
11 {
12 }

◆ ~TrigHIUCCHypoTool()

virtual TrigHIUCCHypoTool::~TrigHIUCCHypoTool ( )
inlineoverridevirtual

Definition at line 25 of file TrigHIUCCHypoTool.h.

25 {}

Member Function Documentation

◆ decide()

StatusCode TrigHIUCCHypoTool::decide ( const xAOD::HIEventShapeContainer eventShapeContainer,
bool &  pass 
) const
overridevirtual

Definition at line 18 of file TrigHIUCCHypoTool.cxx.

18  {
19  ATH_MSG_DEBUG("Executing decide() of " << name());
20 
21  float totalFCalEt = 0;
22  for (const xAOD::HIEventShape* es: *eventShapeContainer) {
23  const int layer = es->layer();
24  if (layer < 21 or layer > 23) { //only use FCal information (calo samplings 21: FCAL0, 22: FCAL1, 23: FCAL2)
25  continue;
26  }
27  totalFCalEt += es->et();
28  }
29  pass = totalFCalEt > m_FCalEtThreshold;
30  return StatusCode::SUCCESS;
31 }

◆ finalize()

virtual StatusCode TrigHIUCCHypoTool::finalize ( )
inlineoverridevirtual

Definition at line 28 of file TrigHIUCCHypoTool.h.

28 { return StatusCode::SUCCESS; }

◆ getId()

const HLT::Identifier & TrigHIUCCHypoTool::getId ( ) const
overridevirtual

Definition at line 14 of file TrigHIUCCHypoTool.cxx.

14  {
15  return m_decisionId;
16 }

◆ initialize()

virtual StatusCode TrigHIUCCHypoTool::initialize ( )
inlineoverridevirtual

Definition at line 27 of file TrigHIUCCHypoTool.h.

27 { return StatusCode::SUCCESS; }

Member Data Documentation

◆ m_decisionId

HLT::Identifier TrigHIUCCHypoTool::m_decisionId
private

Definition at line 34 of file TrigHIUCCHypoTool.h.

◆ m_FCalEtThreshold

Gaudi::Property<float> TrigHIUCCHypoTool::m_FCalEtThreshold {this, "FCalEtThreshold", -1, "Threshold applied on ET from FCal"}
private

Definition at line 35 of file TrigHIUCCHypoTool.h.


The documentation for this class was generated from the following files:
TrigHIUCCHypoTool::m_FCalEtThreshold
Gaudi::Property< float > m_FCalEtThreshold
Definition: TrigHIUCCHypoTool.h:35
HLT::Identifier::fromToolName
static HLT::Identifier fromToolName(const std::string &tname)
Definition: HLTIdentifier.cxx:31
TrigHIUCCHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: TrigHIUCCHypoTool.h:34
xAOD::HIEventShape_v2
Interface class for the HI reconstruction EDM.
Definition: HIEventShape_v2.h:32
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78