ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigAFPHypo
src
TrigAFPToFHypoTool.h
Go to the documentation of this file.
1
2
/*
3
Copyright! (C) 2002-2012, 2024 CERN for the benefit of the ATLAS collaboration
4
*/
5
6
#ifndef TRIGAFPHYPO_TRIGAFPTOFHYPOTOOL_H
7
#define TRIGAFPHYPO_TRIGAFPTOFHYPOTOOL_H
8
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
TrigCompositeUtils/HLTIdentifier.h
"
11
#include "
TrigCompositeUtils/TrigCompositeUtils.h
"
12
#include "
xAODForward/AFPVertexContainer.h
"
13
#include "
xAODTracking/VertexContainer.h
"
14
#include "
xAODForward/AFPVertex.h
"
15
#include "
xAODTracking/Vertex.h
"
16
#include "Gaudi/Property.h"
17
18
19
class
TrigAFPToFHypoTool
:
public
AthAlgTool
20
{
21
public
:
22
TrigAFPToFHypoTool
(
const
std::string &
type
,
const
std::string &name,
const
IInterface *parent);
23
24
virtual
StatusCode
initialize
()
override
;
25
26
struct
AFPToFHypoToolInfo
// data structure to be passed to the hypo tool
27
{
28
AFPToFHypoToolInfo
(
const
TrigCompositeUtils::DecisionIDContainer
&
a
,
const
xAOD::AFPVertex
* b,
const
xAOD::Vertex
* c,
TrigCompositeUtils::Decision
*d) :
29
inputPassingChains
(
a
),
afpVtx
(b),
idVtx
(c),
outputDecision
(d)
30
{}
31
const
TrigCompositeUtils::DecisionIDContainer
inputPassingChains
;
32
const
xAOD::AFPVertex
*
afpVtx
;
33
const
xAOD::Vertex
*
idVtx
;
34
TrigCompositeUtils::Decision
*
outputDecision
;
35
};
36
37
StatusCode
decide
( std::vector<AFPToFHypoToolInfo>& inputs )
const
;
38
39
private
:
40
41
HLT::Identifier
m_decisionId
;
42
Gaudi::Property<float>
m_deltaZCut
{
this
,
"deltaZCut"
, 3.5,
"Require the difference between the dijet and AFP vertex to be smaller than this value [mm]"
};
43
Gaudi::Property<bool>
m_acceptAll
{
this
,
"AcceptAll"
,
false
,
"Accept all events"
};
44
};
45
46
#endif
//> !TRIGAFPHYPO_TRIGAFPTOFHYPOTOOL_H
AFPVertexContainer.h
AFPVertex.h
AthAlgTool.h
Vertex.h
a
static Double_t a
Definition
LArPhysWaveHECTool.cxx:38
HLTIdentifier.h
TrigCompositeUtils.h
VertexContainer.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
HLT::Identifier
Definition
TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:19
TrigAFPToFHypoTool::m_acceptAll
Gaudi::Property< bool > m_acceptAll
Definition
TrigAFPToFHypoTool.h:43
TrigAFPToFHypoTool::initialize
virtual StatusCode initialize() override
Definition
TrigAFPToFHypoTool.cxx:14
TrigAFPToFHypoTool::decide
StatusCode decide(std::vector< AFPToFHypoToolInfo > &inputs) const
Definition
TrigAFPToFHypoTool.cxx:22
TrigAFPToFHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition
TrigAFPToFHypoTool.h:41
TrigAFPToFHypoTool::m_deltaZCut
Gaudi::Property< float > m_deltaZCut
Definition
TrigAFPToFHypoTool.h:42
TrigAFPToFHypoTool::TrigAFPToFHypoTool
TrigAFPToFHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TrigAFPToFHypoTool.cxx:10
TrigCompositeUtils::Decision
xAOD::TrigComposite Decision
Definition
TrigComposite.h:20
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition
TrigComposite_v1.h:28
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition
Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
xAOD::AFPVertex
AFPVertex_v1 AFPVertex
Definition
AFPVertex.h:12
type
TrigAFPToFHypoTool::AFPToFHypoToolInfo::inputPassingChains
const TrigCompositeUtils::DecisionIDContainer inputPassingChains
Definition
TrigAFPToFHypoTool.h:31
TrigAFPToFHypoTool::AFPToFHypoToolInfo::AFPToFHypoToolInfo
AFPToFHypoToolInfo(const TrigCompositeUtils::DecisionIDContainer &a, const xAOD::AFPVertex *b, const xAOD::Vertex *c, TrigCompositeUtils::Decision *d)
Definition
TrigAFPToFHypoTool.h:28
TrigAFPToFHypoTool::AFPToFHypoToolInfo::outputDecision
TrigCompositeUtils::Decision * outputDecision
Definition
TrigAFPToFHypoTool.h:34
TrigAFPToFHypoTool::AFPToFHypoToolInfo::idVtx
const xAOD::Vertex * idVtx
Definition
TrigAFPToFHypoTool.h:33
TrigAFPToFHypoTool::AFPToFHypoToolInfo::afpVtx
const xAOD::AFPVertex * afpVtx
Definition
TrigAFPToFHypoTool.h:32
Generated on
for ATLAS Offline Software by
1.17.0