ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
MuonIdentification
MuonCombinedAlgs
src
MuonCombinedAlg.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_MUONCOMBINEDALG_H
6
#define MUONCOMBINEDALGS_MUONCOMBINEDALG_H
7
8
9
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
10
11
#include "
MuonCombinedEvent/InDetCandidateCollection.h
"
12
#include "
MuonCombinedEvent/InDetCandidateToTagMap.h
"
13
#include "
MuonCombinedEvent/MuonCandidateCollection.h
"
14
15
#include "
StoreGate/ReadHandleKey.h
"
16
#include "
StoreGate/WriteHandleKey.h
"
17
#include "
TrkTrack/TrackCollection.h
"
18
19
#include "
MuidInterfaces/IMuonAlignmentUncertTool.h
"
20
#include "
MuonCombinedToolInterfaces/IMuonCombinedTagTool.h
"
21
#include "
MuonRecHelperTools/MuonEDMPrinterTool.h
"
22
23
class
MuonCombinedAlg
:
public
AthReentrantAlgorithm
{
24
public
:
25
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
26
27
~MuonCombinedAlg
() =
default
;
28
29
StatusCode
execute
(
const
EventContext& ctx)
const override
;
30
StatusCode
initialize
()
override
;
31
32
private
:
35
bool
pass_prematching
(
const
MuonCombined::MuonCandidate
& muonCandidate,
36
const
MuonCombined::InDetCandidate
& idCandidate)
const
;
37
38
SG::ReadHandleKey<InDetCandidateCollection>
m_indetCandidateCollectionName
{
this
,
"InDetCandidateLocation"
,
"InDetCandidates"
,
39
"name of ID candidate collection"
};
40
SG::ReadHandleKey<MuonCandidateCollection>
m_muonCandidateCollectionName
{
this
,
"MuonCandidateLocation"
,
"MuonCandidates"
,
41
"name of muon candidate collection"
};
42
SG::WriteHandleKeyArray<MuonCombined::InDetCandidateToTagMap>
m_combTagMaps
{
43
this
,
"CombinedTagMaps"
, {
"muidcoTagMap"
,
"stacoTagMap"
},
"combined muon tag maps"
};
44
SG::WriteHandleKey<TrackCollection>
m_muidCombinedTracks
{
this
,
"MuidCombinedTracksLocation"
,
"MuidCombinedTracks"
,
45
"Muidco combined Tracks"
};
46
SG::WriteHandleKey<TrackCollection>
m_muidMETracks
{
this
,
"MuidMETracksLocation"
,
"MuidMETracks"
,
"Muidco ME Tracks"
};
47
48
// helpers, managers, tools
49
PublicToolHandle<Muon::MuonEDMPrinterTool>
m_printer
{
this
,
"Printer"
,
"Muon::MuonEDMPrinterTool/MuonEDMPrinterTool"
};
50
ToolHandleArray<MuonCombined::IMuonCombinedTagTool>
m_muonCombinedTagTools
{
this
,
"MuonCombinedTagTools"
, {}};
51
53
PublicToolHandle<Muon::IMuonAlignmentUncertTool>
m_alignUncertTool
{
this
,
"AlignmentUncertTool"
,
""
};
54
55
Gaudi::Property<float>
m_deltaEtaPreSelection
{
this
,
"DeltaEtaPreSelection"
, 0.5};
56
Gaudi::Property<float>
m_deltaPhiPreSelection
{
this
,
"DeltaPhiPreSelection"
, 1};
57
Gaudi::Property<float>
m_ptBalance
{
this
,
"PtBalancePreSelection"
, -1.};
58
};
59
60
#endif
AthReentrantAlgorithm.h
IMuonAlignmentUncertTool.h
IMuonCombinedTagTool.h
InDetCandidateCollection.h
InDetCandidateToTagMap.h
MuonCandidateCollection.h
MuonEDMPrinterTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrackCollection.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuonCombinedAlg
Definition
MuonCombinedAlg.h:23
MuonCombinedAlg::m_printer
PublicToolHandle< Muon::MuonEDMPrinterTool > m_printer
Definition
MuonCombinedAlg.h:49
MuonCombinedAlg::m_alignUncertTool
PublicToolHandle< Muon::IMuonAlignmentUncertTool > m_alignUncertTool
Use this tool to retrieve the last and first measurments of the ID and MS, respectively.
Definition
MuonCombinedAlg.h:53
MuonCombinedAlg::m_muonCandidateCollectionName
SG::ReadHandleKey< MuonCandidateCollection > m_muonCandidateCollectionName
Definition
MuonCombinedAlg.h:40
MuonCombinedAlg::m_muidMETracks
SG::WriteHandleKey< TrackCollection > m_muidMETracks
Definition
MuonCombinedAlg.h:46
MuonCombinedAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
MuonCombinedAlg.cxx:22
MuonCombinedAlg::m_indetCandidateCollectionName
SG::ReadHandleKey< InDetCandidateCollection > m_indetCandidateCollectionName
Definition
MuonCombinedAlg.h:38
MuonCombinedAlg::m_deltaPhiPreSelection
Gaudi::Property< float > m_deltaPhiPreSelection
Definition
MuonCombinedAlg.h:56
MuonCombinedAlg::m_muidCombinedTracks
SG::WriteHandleKey< TrackCollection > m_muidCombinedTracks
Definition
MuonCombinedAlg.h:44
MuonCombinedAlg::~MuonCombinedAlg
~MuonCombinedAlg()=default
MuonCombinedAlg::m_combTagMaps
SG::WriteHandleKeyArray< MuonCombined::InDetCandidateToTagMap > m_combTagMaps
Definition
MuonCombinedAlg.h:42
MuonCombinedAlg::pass_prematching
bool pass_prematching(const MuonCombined::MuonCandidate &muonCandidate, const MuonCombined::InDetCandidate &idCandidate) const
Checks whether the Id & the muon candidate are compatible to attempt a combination of the two as a si...
Definition
MuonCombinedAlg.cxx:76
MuonCombinedAlg::m_ptBalance
Gaudi::Property< float > m_ptBalance
Definition
MuonCombinedAlg.h:57
MuonCombinedAlg::initialize
StatusCode initialize() override
Definition
MuonCombinedAlg.cxx:11
MuonCombinedAlg::m_muonCombinedTagTools
ToolHandleArray< MuonCombined::IMuonCombinedTagTool > m_muonCombinedTagTools
Definition
MuonCombinedAlg.h:50
MuonCombinedAlg::m_deltaEtaPreSelection
Gaudi::Property< float > m_deltaEtaPreSelection
Definition
MuonCombinedAlg.h:55
MuonCombined::InDetCandidate
Definition
InDetCandidate.h:18
MuonCombined::MuonCandidate
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h:25
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
SG::WriteHandleKeyArray
HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer > WriteHandleKeyArray
Definition
WriteHandleKeyArray.h:32
Generated on
for ATLAS Offline Software by
1.17.0