ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigMonitoring
TrigIDR4Monitoring
src
GenericTrackSelector.h
Go to the documentation of this file.
1
12
13
#ifndef IDTPM2_GENERICTRACKSELECTOR_H
14
#define IDTPM2_GENERICTRACKSELECTOR_H
15
16
// Framework includes
17
#include "
AsgTools/AsgTool.h
"
18
#include "
InDetTrackSelectionTool/IInDetTrackSelectionTool.h
"
19
20
21
#include "
ITrackSelector.h
"
22
23
#include <string>
24
25
#include "
ConfiguredValueUtils.h
"
26
27
28
namespace
IDTPM2
{
29
30
31
// @class GenericTrackSelector
32
33
class
GenericTrackSelector
:
34
public
virtual
IDTPM2::ITrackSelector
,
public
asg::AsgTool
{
35
36
public
:
37
38
ASG_TOOL_CLASS
(
GenericTrackSelector
,
ITrackSelector
);
39
40
GenericTrackSelector
(
const
std::string& name );
41
42
virtual
StatusCode
initialize
()
override
;
43
44
virtual
bool
selectTrack
(
const
TrackView
& t )
const
;
45
46
virtual
bool
highestPTonly
()
const
{
return
m_highestPTOnly
; }
47
48
private
:
49
50
Gaudi::Property<ConfiguredValue<float>>
m_minPt
{
this
,
"minPt"
, {},
"Low cut on phi for generic tracks"
};
51
Gaudi::Property<ConfiguredValue<float>>
m_maxPt
{
this
,
"maxPt"
, {},
"High cut on phi for generic tracks"
};
52
53
Gaudi::Property<ConfiguredValue<float>>
m_minET
{
this
,
"minET"
, {},
"ET cut"
};
54
Gaudi::Property<ConfiguredValue<float>>
m_minETovpt
{
this
,
"minETovpt"
, {},
"ET / pt cut"
};
55
56
Gaudi::Property<ConfiguredValue<float>>
m_minAbsEta
{
this
,
"minAbsEta"
, {},
"Low cut on |eta| for generic tracks"
};
57
Gaudi::Property<ConfiguredValue<float>>
m_minEta
{
this
,
"minEta"
, {},
"Lower cut on eta for generic tracks"
};
58
Gaudi::Property<ConfiguredValue<float>>
m_maxEta
{
this
,
"maxEta"
, {},
"Higher cut on eta for generic tracks"
};
59
60
Gaudi::Property<ConfiguredValue<float>>
m_minD0
{
this
,
"minD0"
, {},
"Lower cut on d0 for generic tracks"
};
61
Gaudi::Property<ConfiguredValue<float>>
m_maxD0
{
this
,
"maxD0"
, {},
"Higher cut on d0 for generic tracks"
};
62
Gaudi::Property<ConfiguredValue<float>>
m_minZ0
{
this
,
"minZ0"
, {},
"Lower cut on z0 for generic tracks"
};
63
Gaudi::Property<ConfiguredValue<float>>
m_maxZ0
{
this
,
"maxZ0"
, {},
"Higher cut on z0 for generic tracks"
};
64
Gaudi::Property<ConfiguredValue<float>>
m_minAbsD0
{
this
,
"minAbsD0"
, {},
"Lower cut on |d0| for generic tracks"
};
65
Gaudi::Property<ConfiguredValue<float>>
m_maxAbsD0
{
this
,
"maxAbsD0"
, {},
"Higher cut on |d0| for generic tracks"
};
66
Gaudi::Property<ConfiguredValue<float>>
m_minAbsZ0
{
this
,
"minAbsZ0"
, {},
"Lower cut on |z0| for generic tracks"
};
67
Gaudi::Property<ConfiguredValue<float>>
m_maxAbsZ0
{
this
,
"maxAbsZ0"
, {},
"Higher cut on |z0| for generic tracks"
};
68
69
70
Gaudi::Property<ConfiguredValue<float>>
m_minPhi
{
this
,
"minPhi"
, {},
"Lower cut on phi for generic tracks"
};
71
Gaudi::Property<ConfiguredValue<float>>
m_maxPhi
{
this
,
"maxPhi"
, {},
"Higher cut on phi for generic tracks"
};
73
// Gaudi::Property<ConfiguredValue<float>> m_minAbsPhi { this, "minAbsPhi", {}., "Lower cut on |phi| for generic tracks" };
74
// Gaudi::Property<ConfiguredValue<float>> m_maxAbsPhi { this, "maxAbsPhi", {}., "Higher cut on |phi| for generic tracks" };
75
76
Gaudi::Property<ConfiguredValue<float>>
m_minQoPT
{
this
,
"minQoPT"
, {},
"Lower cut on q/pt for generic tracks"
};
77
Gaudi::Property<ConfiguredValue<float>>
m_maxQoPT
{
this
,
"maxQoPT"
, {},
"Higher cut on q/pt for generic tracks"
};
78
79
Gaudi::Property<ConfiguredValue<float>>
m_minAbsQoPT
{
this
,
"minAbsQoPT"
, {},
"Lower cut on |q/pt| for generic tracks"
};
80
Gaudi::Property<ConfiguredValue<float>>
m_maxAbsQoPT
{
this
,
"maxAbsQoPT"
, {},
"Higher cut on |q/pt| for generic tracks"
};
81
82
Gaudi::Property<bool>
m_highestPTOnly
{
this
,
"HighestPTOnly"
,
false
,
"use only the highest PT track"
};
83
84
bool
m_initialized
=
false
;
85
};
86
87
}
// namespace IDTPM2
88
89
#endif
// IDTPM2_GENERICTRACKSELECTOR_H
AsgTool.h
ConfiguredValueUtils.h
IInDetTrackSelectionTool.h
ITrackSelector.h
emacs: this is -*- c++ -*-
IDTPM2::GenericTrackSelector::m_maxZ0
Gaudi::Property< ConfiguredValue< float > > m_maxZ0
Definition
GenericTrackSelector.h:63
IDTPM2::GenericTrackSelector::m_minAbsEta
Gaudi::Property< ConfiguredValue< float > > m_minAbsEta
Definition
GenericTrackSelector.h:56
IDTPM2::GenericTrackSelector::m_maxQoPT
Gaudi::Property< ConfiguredValue< float > > m_maxQoPT
Definition
GenericTrackSelector.h:77
IDTPM2::GenericTrackSelector::m_minPhi
Gaudi::Property< ConfiguredValue< float > > m_minPhi
Definition
GenericTrackSelector.h:70
IDTPM2::GenericTrackSelector::m_maxAbsQoPT
Gaudi::Property< ConfiguredValue< float > > m_maxAbsQoPT
Definition
GenericTrackSelector.h:80
IDTPM2::GenericTrackSelector::m_highestPTOnly
Gaudi::Property< bool > m_highestPTOnly
Definition
GenericTrackSelector.h:82
IDTPM2::GenericTrackSelector::m_minETovpt
Gaudi::Property< ConfiguredValue< float > > m_minETovpt
Definition
GenericTrackSelector.h:54
IDTPM2::GenericTrackSelector::m_minAbsZ0
Gaudi::Property< ConfiguredValue< float > > m_minAbsZ0
Definition
GenericTrackSelector.h:66
IDTPM2::GenericTrackSelector::m_maxAbsD0
Gaudi::Property< ConfiguredValue< float > > m_maxAbsD0
Definition
GenericTrackSelector.h:65
IDTPM2::GenericTrackSelector::m_minET
Gaudi::Property< ConfiguredValue< float > > m_minET
Definition
GenericTrackSelector.h:53
IDTPM2::GenericTrackSelector::m_minPt
Gaudi::Property< ConfiguredValue< float > > m_minPt
Definition
GenericTrackSelector.h:50
IDTPM2::GenericTrackSelector::m_maxEta
Gaudi::Property< ConfiguredValue< float > > m_maxEta
Definition
GenericTrackSelector.h:58
IDTPM2::GenericTrackSelector::selectTrack
virtual bool selectTrack(const TrackView &t) const
Definition
GenericTrackSelector.cxx:41
IDTPM2::GenericTrackSelector::m_minAbsD0
Gaudi::Property< ConfiguredValue< float > > m_minAbsD0
Definition
GenericTrackSelector.h:64
IDTPM2::GenericTrackSelector::m_maxD0
Gaudi::Property< ConfiguredValue< float > > m_maxD0
Definition
GenericTrackSelector.h:61
IDTPM2::GenericTrackSelector::m_minZ0
Gaudi::Property< ConfiguredValue< float > > m_minZ0
Definition
GenericTrackSelector.h:62
IDTPM2::GenericTrackSelector::m_minAbsQoPT
Gaudi::Property< ConfiguredValue< float > > m_minAbsQoPT
Definition
GenericTrackSelector.h:79
IDTPM2::GenericTrackSelector::m_maxPt
Gaudi::Property< ConfiguredValue< float > > m_maxPt
Definition
GenericTrackSelector.h:51
IDTPM2::GenericTrackSelector::highestPTonly
virtual bool highestPTonly() const
select the highest PT track only
Definition
GenericTrackSelector.h:46
IDTPM2::GenericTrackSelector::m_maxPhi
Gaudi::Property< ConfiguredValue< float > > m_maxPhi
Definition
GenericTrackSelector.h:71
IDTPM2::GenericTrackSelector::ASG_TOOL_CLASS
ASG_TOOL_CLASS(GenericTrackSelector, ITrackSelector)
IDTPM2::GenericTrackSelector::GenericTrackSelector
GenericTrackSelector(const std::string &name)
Definition
GenericTrackSelector.cxx:27
IDTPM2::GenericTrackSelector::m_minEta
Gaudi::Property< ConfiguredValue< float > > m_minEta
Definition
GenericTrackSelector.h:57
IDTPM2::GenericTrackSelector::m_minD0
Gaudi::Property< ConfiguredValue< float > > m_minD0
Definition
GenericTrackSelector.h:60
IDTPM2::GenericTrackSelector::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition
GenericTrackSelector.cxx:32
IDTPM2::GenericTrackSelector::m_minQoPT
Gaudi::Property< ConfiguredValue< float > > m_minQoPT
Abs phi ???? why would anyone ever want abs(phi) ??
Definition
GenericTrackSelector.h:76
IDTPM2::GenericTrackSelector::m_initialized
bool m_initialized
Definition
GenericTrackSelector.h:84
IDTPM2::GenericTrackSelector::m_maxAbsZ0
Gaudi::Property< ConfiguredValue< float > > m_maxAbsZ0
Definition
GenericTrackSelector.h:67
IDTPM2::ITrackSelector
Definition
ITrackSelector.h:24
TrackView
forward declaration required for function prototype
Definition
TrackView.h:43
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
IDTPM2
Search the ancestor history, looking for an ancestor that satifies the predicate ....
Definition
AnalysisR4.h:31
Generated on
for ATLAS Offline Software by
1.17.0