ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigLongLivedParticlesHypo
src
FastTrackFinderLRTHypoTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef TRIGT2FTFLRT_TRACKCOUNTHYPOTOOL_H
5
#define TRIGT2FTFLRT_TRACKCOUNTHYPOTOOL_H
6
7
#include "Gaudi/Property.h"
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
TrigCompositeUtils/HLTIdentifier.h
"
10
#include "
TrigCompositeUtils/TrigCompositeUtils.h
"
11
12
class
FastTrackFinderLRTHypoTool
:
virtual
public
::AthAlgTool
13
{
14
public
:
15
16
FastTrackFinderLRTHypoTool
(
const
std::string&
type
,
17
const
std::string& name,
18
const
IInterface* parent );
19
20
virtual
~FastTrackFinderLRTHypoTool
() =
default
;
21
virtual
StatusCode
initialize
()
override
;
22
23
struct
TrkCountsInfo
{
24
TrigCompositeUtils::Decision
*
decision
=
nullptr
;
25
const
xAOD::TrigComposite
*
counts
=
nullptr
;
26
const
TrigCompositeUtils::DecisionIDContainer
previousDecisionIDs
;
27
};
28
29
StatusCode
decide
(
TrkCountsInfo
& decisions )
const
;
30
31
private
:
32
33
HLT::Identifier
m_decisionId
;
34
Gaudi::Property<float>
m_min_pt
{
this
,
"min_pt"
,{0},
"Accept events with momentum higher than this limit"
};
35
Gaudi::Property<float>
m_min_d0
{
this
,
"min_d0"
,{0},
"Accept events with d0 above this limit"
};
36
Gaudi::Property<float>
m_max_d0
{
this
,
"max_d0"
,{900},
"Accept events with d0 below this limit"
};
37
Gaudi::Property<float>
m_max_xi2
{
this
,
"max_xi2"
,{10},
"Accept events with Xi2 of the track less than this limit"
};
38
Gaudi::Property<float>
m_required_ntrks
{
this
,
"required_ntrks"
, 1,
"Accept events with minimum of this number of tracks"
};
39
Gaudi::Property<float>
m_max_required_ntrks
{
this
,
"max_required_ntrks"
, -1,
"Accept events with maximum of this number of tracks"
};
40
Gaudi::Property<bool>
m_acceptAll
{
this
,
"acceptAll"
,
false
,
"Accept all events"
};
41
Gaudi::Property<bool>
m_cutMinAndMax
{
this
,
"cutMinAndMax"
,
false
,
"take events within the given higher and lower limt/cut"
};
42
Gaudi::Property<bool>
m_logicAnd
{
this
,
"TriggerTypeAnd"
,
true
,
"And/Or Logic"
};
43
};
44
45
#endif
//> !TRIGT2MINBIAS_TRACKCOUNTHYPOTOOL_H
AthAlgTool.h
HLTIdentifier.h
TrigCompositeUtils.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
FastTrackFinderLRTHypoTool::m_required_ntrks
Gaudi::Property< float > m_required_ntrks
Definition
FastTrackFinderLRTHypoTool.h:38
FastTrackFinderLRTHypoTool::~FastTrackFinderLRTHypoTool
virtual ~FastTrackFinderLRTHypoTool()=default
FastTrackFinderLRTHypoTool::m_min_pt
Gaudi::Property< float > m_min_pt
Definition
FastTrackFinderLRTHypoTool.h:34
FastTrackFinderLRTHypoTool::m_max_required_ntrks
Gaudi::Property< float > m_max_required_ntrks
Definition
FastTrackFinderLRTHypoTool.h:39
FastTrackFinderLRTHypoTool::m_logicAnd
Gaudi::Property< bool > m_logicAnd
Definition
FastTrackFinderLRTHypoTool.h:42
FastTrackFinderLRTHypoTool::m_acceptAll
Gaudi::Property< bool > m_acceptAll
Definition
FastTrackFinderLRTHypoTool.h:40
FastTrackFinderLRTHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition
FastTrackFinderLRTHypoTool.h:33
FastTrackFinderLRTHypoTool::m_cutMinAndMax
Gaudi::Property< bool > m_cutMinAndMax
Definition
FastTrackFinderLRTHypoTool.h:41
FastTrackFinderLRTHypoTool::initialize
virtual StatusCode initialize() override
Definition
FastTrackFinderLRTHypoTool.cxx:18
FastTrackFinderLRTHypoTool::FastTrackFinderLRTHypoTool
FastTrackFinderLRTHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
FastTrackFinderLRTHypoTool.cxx:14
FastTrackFinderLRTHypoTool::decide
StatusCode decide(TrkCountsInfo &decisions) const
Definition
FastTrackFinderLRTHypoTool.cxx:22
FastTrackFinderLRTHypoTool::m_max_d0
Gaudi::Property< float > m_max_d0
Definition
FastTrackFinderLRTHypoTool.h:36
FastTrackFinderLRTHypoTool::m_max_xi2
Gaudi::Property< float > m_max_xi2
Definition
FastTrackFinderLRTHypoTool.h:37
FastTrackFinderLRTHypoTool::m_min_d0
Gaudi::Property< float > m_min_d0
Definition
FastTrackFinderLRTHypoTool.h:35
HLT::Identifier
Definition
TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:19
TrigCompositeUtils::Decision
xAOD::TrigComposite Decision
Definition
TrigComposite.h:20
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition
TrigComposite_v1.h:28
xAOD::TrigComposite
TrigComposite_v1 TrigComposite
Declare the latest version of the class.
Definition
TrigComposite.h:16
FastTrackFinderLRTHypoTool::TrkCountsInfo
Definition
FastTrackFinderLRTHypoTool.h:23
FastTrackFinderLRTHypoTool::TrkCountsInfo::counts
const xAOD::TrigComposite * counts
Definition
FastTrackFinderLRTHypoTool.h:25
FastTrackFinderLRTHypoTool::TrkCountsInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition
FastTrackFinderLRTHypoTool.h:26
FastTrackFinderLRTHypoTool::TrkCountsInfo::decision
TrigCompositeUtils::Decision * decision
Definition
FastTrackFinderLRTHypoTool.h:24
type
Generated on
for ATLAS Offline Software by
1.17.0