ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonTrackBuilding
MuonTrackFindingTools
MuonTrackFindingTools
MlMsTrackSeeder.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 MUONTRACKFINDINGTOOLS_MLMSTRACKSEEDER_H
5
#define MUONTRACKFINDINGTOOLS_MLMSTRACKSEEDER_H
6
7
#include "
AthenaBaseComps/AthMessaging.h
"
8
#include "MuonTrackFindingTools/MsTrackSeeder.h"
9
10
#include <memory>
11
#include <string>
12
13
namespace
MuonR4
{
14
15
class
MlMsTrackSeeder
:
public
AthMessaging
{
16
public
:
17
struct
Config
{
18
MsTrackSeeder::Config
baselineSeeder
{};
19
std::string
candidateDecoration
{
"trackCandidateIds"
};
20
unsigned
int
minSegmentsPerCandidate
{2};
21
bool
fallbackToBaselineIfUndecorated
{
true
};
22
bool
fallbackToBaselineIfNoCandidates
{
false
};
23
bool
runCandidatesInParallel
{
true
};
24
};
25
26
MlMsTrackSeeder
(
const
std::string& msgName,
Config
&& cfg);
27
28
const
MsTrackSeeder&
baselineSeeder
()
const
{
return
m_baselineSeeder
; }
29
30
std::unique_ptr<MsTrackSeedContainer>
findTrackSeeds
(
const
EventContext& ctx,
31
const
xAOD::MuonSegmentContainer
& segments)
const
;
32
33
private
:
34
Config
m_cfg
{};
35
MsTrackSeeder
m_baselineSeeder
;
36
};
37
38
}
// namespace MuonR4
39
40
#endif
AthMessaging.h
AthMessaging::AthMessaging
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Definition
AthMessaging.cxx:13
MuonR4::MlMsTrackSeeder::m_cfg
Config m_cfg
Definition
MlMsTrackSeeder.h:34
MuonR4::MlMsTrackSeeder::MlMsTrackSeeder
MlMsTrackSeeder(const std::string &msgName, Config &&cfg)
Definition
MlMsTrackSeeder.cxx:13
MuonR4::MlMsTrackSeeder::m_baselineSeeder
MsTrackSeeder m_baselineSeeder
Definition
MlMsTrackSeeder.h:35
MuonR4::MlMsTrackSeeder::baselineSeeder
const MsTrackSeeder & baselineSeeder() const
Definition
MlMsTrackSeeder.h:28
MuonR4::MlMsTrackSeeder::findTrackSeeds
std::unique_ptr< MsTrackSeedContainer > findTrackSeeds(const EventContext &ctx, const xAOD::MuonSegmentContainer &segments) const
Definition
MlMsTrackSeeder.cxx:18
MuonR4
This header ties the generic definitions in this package.
Definition
GlobalPattern.h:14
xAOD::MuonSegmentContainer
MuonSegmentContainer_v1 MuonSegmentContainer
Definition of the current "MuonSegment container version".
Definition
MuonSegmentContainer.h:14
Config
Definition
dumpNPs.cxx:47
MuonR4::MlMsTrackSeeder::Config
Definition
MlMsTrackSeeder.h:17
MuonR4::MlMsTrackSeeder::Config::fallbackToBaselineIfUndecorated
bool fallbackToBaselineIfUndecorated
Definition
MlMsTrackSeeder.h:21
MuonR4::MlMsTrackSeeder::Config::fallbackToBaselineIfNoCandidates
bool fallbackToBaselineIfNoCandidates
Definition
MlMsTrackSeeder.h:22
MuonR4::MlMsTrackSeeder::Config::baselineSeeder
MsTrackSeeder::Config baselineSeeder
Definition
MlMsTrackSeeder.h:18
MuonR4::MlMsTrackSeeder::Config::minSegmentsPerCandidate
unsigned int minSegmentsPerCandidate
Definition
MlMsTrackSeeder.h:20
MuonR4::MlMsTrackSeeder::Config::candidateDecoration
std::string candidateDecoration
Definition
MlMsTrackSeeder.h:19
MuonR4::MlMsTrackSeeder::Config::runCandidatesInParallel
bool runCandidatesInParallel
Definition
MlMsTrackSeeder.h:23
Generated on
for ATLAS Offline Software by
1.17.0