ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigMonitoring
TrigIDR4Monitoring
src
TrackViewMatchingTool.h
Go to the documentation of this file.
1
/* emacs: this is -*- c++ -*- */
14
15
#ifndef IDTPM2_TRACKVIEWMATCHINGTOOL_H
16
#define IDTPM2_TRACKVIEWMATCHINGTOOL_H
17
18
#include "
AthenaBaseComps/AthAlgTool.h
"
19
#include "
TrigInDetAnalysis/TIDAAssociator.h
"
20
#include "
TrackView.h
"
21
22
#include "
ConfiguredValueUtils.h
"
23
24
#include <memory>
25
#include <string>
26
27
28
29
namespace
IDTPM2
{
30
31
template
<
typename
T,
typename
R=T>
32
class
TMatchingTool
:
public
AthAlgTool
{
33
34
public
:
35
36
TMatchingTool
(
const
std::string&
type
,
37
const
std::string& name,
38
const
IInterface* parent );
39
40
virtual
~TMatchingTool
() =
default
;
41
42
virtual
StatusCode
initialize
()
override
;
43
46
std::unique_ptr<TIDA::Associator<T,R> >
clone
()
const
;
47
48
std::unique_ptr<TIDA::Associator<T,R> >
uclone
()
const
;
49
50
protected
:
51
52
Gaudi::Property<std::string>
m_matcherType
{
this
,
"MatcherType"
,
"Default"
,
53
"Matcher algorithm: DeltaR, DeltaPhi, DeltaRZ, DeltaRZSinTheta, Sigma, SecondBestpT, Default"
};
54
57
ConfiguredValueProperty<float>
m_dr
{
this
,
"DeltaR"
, {},
"Primary distance parameter"
};
58
ConfiguredValueProperty<float>
m_deta
{
this
,
"DeltaEta"
, {},
"Delta eta parameter"
};
59
ConfiguredValueProperty<float>
m_dphi
{
this
,
"DeltaPhi"
, {},
"Delta phi parameter"
};
60
ConfiguredValueProperty<float>
m_dzed
{
this
,
"DeltaZed"
, {},
"Delta zed parameter"
};
61
ConfiguredValueProperty<float>
m_dpt
{
this
,
"DeltaPt"
, {},
"Delta pt parameter"
};
62
ConfiguredValueProperty<float>
m_dsigma
{
this
,
"DeltaSigma"
, {},
"Delta sigma parameter"
};
63
ConfiguredValueProperty<float>
m_prob
{
this
,
"Prob"
, {},
"Match probability"
};
64
65
std::unique_ptr<TIDA::Associator<T,R> >
m_matcher
;
66
67
};
68
69
70
71
using
TrackViewMatchingTool
=
TMatchingTool<const TrackView>
;
72
73
}
74
75
#endif
// IDTPM2_TRACKVIEWMATCHINGTOOL_H
AthAlgTool.h
ConfiguredValueUtils.h
TIDAAssociator.h
TrackView.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
ConfiguredValueProperty
Definition
ConfiguredValueUtils.h:56
IDTPM2::TMatchingTool
Definition
TrackViewMatchingTool.h:32
IDTPM2::TMatchingTool< const TrackView >::m_dpt
ConfiguredValueProperty< float > m_dpt
Definition
TrackViewMatchingTool.h:61
IDTPM2::TMatchingTool< const TrackView >::m_dzed
ConfiguredValueProperty< float > m_dzed
Definition
TrackViewMatchingTool.h:60
IDTPM2::TMatchingTool< const TrackView >::m_matcherType
Gaudi::Property< std::string > m_matcherType
Definition
TrackViewMatchingTool.h:52
IDTPM2::TMatchingTool< const TrackView >::m_prob
ConfiguredValueProperty< float > m_prob
Definition
TrackViewMatchingTool.h:63
IDTPM2::TMatchingTool::TMatchingTool
TMatchingTool(const std::string &type, const std::string &name, const IInterface *parent)
in a different merge request, so can uncomment later, once it is in the release to avoid a conflict
Definition
TrackViewMatchingTool.cxx:19
IDTPM2::TMatchingTool< const TrackView >::m_dr
ConfiguredValueProperty< float > m_dr
Definition
TrackViewMatchingTool.h:57
IDTPM2::TMatchingTool< const TrackView >::m_deta
ConfiguredValueProperty< float > m_deta
Definition
TrackViewMatchingTool.h:58
IDTPM2::TMatchingTool::~TMatchingTool
virtual ~TMatchingTool()=default
IDTPM2::TMatchingTool< const TrackView >::m_dsigma
ConfiguredValueProperty< float > m_dsigma
Definition
TrackViewMatchingTool.h:62
IDTPM2::TMatchingTool::initialize
virtual StatusCode initialize() override
Definition
TrackViewMatchingTool.cxx:27
IDTPM2::TMatchingTool< const TrackView >::m_dphi
ConfiguredValueProperty< float > m_dphi
Definition
TrackViewMatchingTool.h:59
IDTPM2::TMatchingTool::clone
std::unique_ptr< TIDA::Associator< T, R > > clone() const
Return a fresh clone of the template matcher.
Definition
TrackViewMatchingTool.cxx:54
IDTPM2::TMatchingTool< const TrackView >::m_matcher
std::unique_ptr< TIDA::Associator< const TrackView, const TrackView > > m_matcher
Definition
TrackViewMatchingTool.h:65
IDTPM2::TMatchingTool::uclone
std::unique_ptr< TIDA::Associator< T, R > > uclone() const
Definition
TrackViewMatchingTool.cxx:58
IDTPM2
emacs: this is -*- c++ -*-
Definition
OfflineTruthMatcher.h:29
IDTPM2::TrackViewMatchingTool
TMatchingTool< const TrackView > TrackViewMatchingTool
Definition
TrackViewMatchingTool.h:71
type
Generated on
for ATLAS Offline Software by
1.17.0