ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAnalysis
TriggerMatchingTool
TriggerMatchingTool
IParticleRetrievalTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TriggerMatchingTool_IParticleRetrievalTool_H
6
#define TriggerMatchingTool_IParticleRetrievalTool_H
7
8
// Framework includes
9
#include "
AsgTools/AsgTool.h
"
10
#include "
AsgTools/ToolHandle.h
"
11
12
#include "
TriggerMatchingTool/IIParticleRetrievalTool.h
"
13
#include "
TrigDecisionTool/TrigDecisionTool.h
"
14
15
namespace
Trig
{
16
class
IParticleRetrievalTool
final :
public
virtual
IIParticleRetrievalTool
,
17
public
asg::AsgTool
18
{
19
ASG_TOOL_CLASS
(
IParticleRetrievalTool
,
IIParticleRetrievalTool
)
20
public
:
22
IParticleRetrievalTool
(
const
std::string& name);
23
25
~IParticleRetrievalTool
()
override
;
26
28
StatusCode
initialize
()
override
;
29
44
StatusCode
retrieveParticles
(
45
std::vector<std::vector<const xAOD::IParticle*>>& combinations,
46
const
std::string& chain,
47
bool
rerun =
false
)
const override
;
48
56
StatusCode
retrieveParticles
(
57
std::vector<const xAOD::IParticle*>& combination,
58
const
HLT::TriggerElement
* te,
59
bool
& navFailure)
const
;
60
69
xAOD::Type::ObjectType
getEGammaTEType
(
const
HLT::TriggerElement
* te)
const
;
70
79
StatusCode
retrieveFeatureParticle
(
80
const
xAOD::IParticle
*& particle,
81
const
HLT::TriggerElement::FeatureAccessHelper
& feature,
82
const
HLT::TriggerElement
* te,
83
bool
& navFailure)
const
;
84
85
private
:
86
// Properties
88
ToolHandle<Trig::TrigDecisionTool>
m_tdt
{
89
"Trig::TrigDecisionTool/TrigDecisionTool"
};
90
91
bool
m_warnOnNavigationFailure
;
92
};
//> end class IParticleRetrievalTool
93
}
//> end namespace Trig
94
95
#endif
//> !TriggerMatchingTool_IParticleRetrievalTool_H
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
IIParticleRetrievalTool.h
ToolHandle.h
TrigDecisionTool.h
HLT::TriggerElement::FeatureAccessHelper
the FeatureAccessHelper is a class used to keep track of features attached to this TE.
Definition
TrigNavStructure/TrigNavStructure/TriggerElement.h:192
HLT::TriggerElement
TriggerElement is the basic ingreedient of the interface between HLT algorithms and the navigation It...
Definition
TrigNavStructure/TrigNavStructure/TriggerElement.h:27
Trig::IIParticleRetrievalTool
Definition
IIParticleRetrievalTool.h:15
Trig::IParticleRetrievalTool::~IParticleRetrievalTool
~IParticleRetrievalTool() override
Default destructor.
Definition
IParticleRetrievalTool.cxx:64
Trig::IParticleRetrievalTool::IParticleRetrievalTool
IParticleRetrievalTool(const std::string &name)
Standard constructor.
Definition
IParticleRetrievalTool.cxx:54
Trig::IParticleRetrievalTool::getEGammaTEType
xAOD::Type::ObjectType getEGammaTEType(const HLT::TriggerElement *te) const
Get the type of particle that should be retrieved from this TE.
Definition
IParticleRetrievalTool.cxx:226
Trig::IParticleRetrievalTool::initialize
StatusCode initialize() override
Initialise the tool.
Definition
IParticleRetrievalTool.cxx:66
Trig::IParticleRetrievalTool::m_warnOnNavigationFailure
bool m_warnOnNavigationFailure
Be forgiving about the navigation not matching our expectations.
Definition
IParticleRetrievalTool.h:91
Trig::IParticleRetrievalTool::retrieveFeatureParticle
StatusCode retrieveFeatureParticle(const xAOD::IParticle *&particle, const HLT::TriggerElement::FeatureAccessHelper &feature, const HLT::TriggerElement *te, bool &navFailure) const
Retrieve an IParticle from a feature.
Definition
IParticleRetrievalTool.cxx:242
Trig::IParticleRetrievalTool::m_tdt
ToolHandle< Trig::TrigDecisionTool > m_tdt
The TrigDecisionTool that will be used to get the navigation.
Definition
IParticleRetrievalTool.h:88
Trig::IParticleRetrievalTool::retrieveParticles
StatusCode retrieveParticles(std::vector< std::vector< const xAOD::IParticle * > > &combinations, const std::string &chain, bool rerun=false) const override
Retrieve the particles that caused this trigger to fire.
Definition
IParticleRetrievalTool.cxx:73
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
Trig
The common trigger namespace for trigger analysis tools.
Definition
LArCellMonAlg.h:33
xAODType::ObjectType
ObjectType
Type of objects that have a representation in the xAOD EDM.
Definition
ObjectType.h:32
Generated on
for ATLAS Offline Software by
1.17.0