ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
MuonIdentification
MuonCombinedAlgs
src
MuonSegContainerMergerAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONCOMBINEDALGS_MUONSEGMENETMERGERALG_H
6
#define MUONCOMBINEDALGS_MUONSEGMENETMERGERALG_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "GaudiKernel/ToolHandle.h"
10
#include "
MuonCombinedEvent/InDetCandidateCollection.h
"
11
#include "
MuonCombinedEvent/InDetCandidateToTagMap.h
"
12
#include "
MuonCombinedEvent/MuonCandidateCollection.h
"
13
#include "
MuonCombinedEvent/MuonTagToSegMap.h
"
14
#include "
TrkToolInterfaces/ITrackAmbiguityProcessorTool.h
"
15
22
23
class
MuonSegContainerMergerAlg
:
public
AthReentrantAlgorithm
{
24
public
:
25
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
26
27
~MuonSegContainerMergerAlg
() =
default
;
28
29
virtual
StatusCode
initialize
()
override
;
30
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
31
32
private
:
34
SG::ReadHandleKeyArray<MuonCandidateCollection>
m_muonCandidateKeys
{
this
,
"MuonCandidateMaps"
, {
"MuonCandidates"
},
"Muon candidates"
};
36
SG::ReadHandleKeyArray<MuonCombined::InDetCandidateToTagMap>
m_tagMaps
{
37
this
,
"TagMaps"
, {
"muidcoTagMap"
,
"stacoTagMap"
,
"muGirlTagMap"
,
"caloTagMap"
,
"segmentTagMap"
},
"ID candidate to tag maps"
};
38
41
SG::ReadHandleKeyArray<Trk::SegmentCollection>
m_inputSegContainerName
{
42
this
,
"InputSegmentContainers"
, {
"TrackMuonSegments"
},
"Container names of muon segments not used in muon reconstruction"
};
43
45
SG::WriteHandleKey<Trk::SegmentCollection>
m_segTrkContainerName
{
this
,
"TrackSegmentContainerName"
,
"TrkMuonSegments"
,
46
"Track segments"
};
47
SG::WriteHandleKey<MuonCombined::MuonTagToSegMap>
m_assocMapKey
{
this
,
"AssocMapKey"
,
"MuonTagSegMap"
};
48
50
SG::WriteHandleKey<Trk::SegmentCollection>
m_unassocTrkContainerName
{
this
,
"UnassociatedSegmentKey"
,
"UnAssocMuonTrkSegments"
};
51
52
ToolHandle<Trk::ITrackAmbiguityProcessorTool>
m_ambiguityProcessor
{
this
,
"AmbiguityProcessor"
,
""
};
53
54
Gaudi::Property<bool>
m_saveUnassocSegs
{
this
,
"saveUnusedSegments"
,
true
,
55
"Dumps segments that were not fed into muon reconstruction into a second container"
};
56
Gaudi::Property<bool>
m_solveAmbi
{
this
,
"solveAmbiguities"
,
true
,
"Solves the ambiguities between unassociated segments"
};
57
};
58
59
#endif
AthReentrantAlgorithm.h
ITrackAmbiguityProcessorTool.h
InDetCandidateCollection.h
InDetCandidateToTagMap.h
MuonCandidateCollection.h
MuonTagToSegMap.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuonSegContainerMergerAlg
The MuonSegContainerMergerAlg merges all MuonSegments assocaited with the combined muon tags into a s...
Definition
MuonSegContainerMergerAlg.h:23
MuonSegContainerMergerAlg::m_inputSegContainerName
SG::ReadHandleKeyArray< Trk::SegmentCollection > m_inputSegContainerName
Optionally segments from containers that are not associated with any segment candidate are dumped int...
Definition
MuonSegContainerMergerAlg.h:41
MuonSegContainerMergerAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
MuonSegContainerMergerAlg.cxx:44
MuonSegContainerMergerAlg::m_solveAmbi
Gaudi::Property< bool > m_solveAmbi
Definition
MuonSegContainerMergerAlg.h:56
MuonSegContainerMergerAlg::m_assocMapKey
SG::WriteHandleKey< MuonCombined::MuonTagToSegMap > m_assocMapKey
Definition
MuonSegContainerMergerAlg.h:47
MuonSegContainerMergerAlg::m_saveUnassocSegs
Gaudi::Property< bool > m_saveUnassocSegs
Definition
MuonSegContainerMergerAlg.h:54
MuonSegContainerMergerAlg::initialize
virtual StatusCode initialize() override
Definition
MuonSegContainerMergerAlg.cxx:20
MuonSegContainerMergerAlg::m_segTrkContainerName
SG::WriteHandleKey< Trk::SegmentCollection > m_segTrkContainerName
Name of the bulk segment output container.
Definition
MuonSegContainerMergerAlg.h:45
MuonSegContainerMergerAlg::~MuonSegContainerMergerAlg
~MuonSegContainerMergerAlg()=default
MuonSegContainerMergerAlg::m_ambiguityProcessor
ToolHandle< Trk::ITrackAmbiguityProcessorTool > m_ambiguityProcessor
Definition
MuonSegContainerMergerAlg.h:52
MuonSegContainerMergerAlg::m_tagMaps
SG::ReadHandleKeyArray< MuonCombined::InDetCandidateToTagMap > m_tagMaps
List of all InDetCandidate tags MuidCo, MuGirl from all muon reconstruction streams.
Definition
MuonSegContainerMergerAlg.h:36
MuonSegContainerMergerAlg::m_unassocTrkContainerName
SG::WriteHandleKey< Trk::SegmentCollection > m_unassocTrkContainerName
Name of the unassociated segment container name.
Definition
MuonSegContainerMergerAlg.h:50
MuonSegContainerMergerAlg::m_muonCandidateKeys
SG::ReadHandleKeyArray< MuonCandidateCollection > m_muonCandidateKeys
Name of all MuonCandidate tags (Main / LRT / EMEO).
Definition
MuonSegContainerMergerAlg.h:34
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
SG::ReadHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Definition
StoreGate/StoreGate/ReadHandleKeyArray.h:32
Generated on
for ATLAS Offline Software by
1.17.0