ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonReconstruction
MuonTrackMakers
MuonTrackMakerAlgs
MuonSegmentTrackMaker
src
MuPatTrackBuilder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUPATTRACKBUILDER_H
6
#define MUPATTRACKBUILDER_H
7
8
#include <string>
9
10
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
11
#include "
AthenaMonitoringKernel/GenericMonitoringTool.h
"
12
#include "
AthenaMonitoringKernel/Monitored.h
"
13
#include "GaudiKernel/ServiceHandle.h"
14
#include "GaudiKernel/ToolHandle.h"
15
#include "
MuonRecHelperTools/IMuonEDMHelperSvc.h
"
16
#include "
MuonRecToolInterfaces/IMuonTrackFinder.h
"
17
#include "
TrkSegment/SegmentCollection.h
"
18
#include "
TrkTrack/TrackCollection.h
"
19
20
class
MuPatTrackBuilder
:
public
AthReentrantAlgorithm
{
21
public
:
22
MuPatTrackBuilder
(
const
std::string& name, ISvcLocator* pSvcLocator);
23
virtual
StatusCode
initialize
()
override
;
24
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
25
26
private
:
27
SG::ReadHandleKey<Trk::SegmentCollection>
m_segmentKey
{
this
,
"MuonSegmentCollection"
,
"MooreSegments"
,
28
"Input segment location"
};
29
SG::WriteHandleKey<TrackCollection>
m_spectroTrackKey
{
this
,
"SpectrometerTrackOutputLocation"
,
30
"MuonSpectrometerTracks"
};
31
ToolHandle<Muon::IMuonTrackFinder>
m_trackMaker
{
this
,
"TrackSteering"
,
"Muon::MuonTrackFinder/MuonTrackSteering"
,
32
"Actual tool to do the track finding"
};
33
ServiceHandle<Muon::IMuonEDMHelperSvc>
m_edmHelperSvc
{
34
this
,
"edmHelper"
,
"Muon::MuonEDMHelperSvc/MuonEDMHelperSvc"
,
35
"Handle to the service providing the IMuonEDMHelperSvc interface"
};
36
37
// Monitoring tool
38
ToolHandle<GenericMonitoringTool>
m_monTool
{
this
,
"MonTool"
,
""
,
"Monitoring tool"
};
39
};
40
41
#endif
AthReentrantAlgorithm.h
GenericMonitoringTool.h
IMuonEDMHelperSvc.h
IMuonTrackFinder.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
SegmentCollection.h
TrackCollection.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuPatTrackBuilder::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
MuPatTrackBuilder.cxx:35
MuPatTrackBuilder::m_edmHelperSvc
ServiceHandle< Muon::IMuonEDMHelperSvc > m_edmHelperSvc
helper Tool
Definition
MuPatTrackBuilder.h:33
MuPatTrackBuilder::MuPatTrackBuilder
MuPatTrackBuilder(const std::string &name, ISvcLocator *pSvcLocator)
Definition
MuPatTrackBuilder.cxx:18
MuPatTrackBuilder::m_spectroTrackKey
SG::WriteHandleKey< TrackCollection > m_spectroTrackKey
Track output Key for tracks strictly in MS.
Definition
MuPatTrackBuilder.h:29
MuPatTrackBuilder::m_segmentKey
SG::ReadHandleKey< Trk::SegmentCollection > m_segmentKey
Key of input MuonSegmentCombination collection.
Definition
MuPatTrackBuilder.h:27
MuPatTrackBuilder::initialize
virtual StatusCode initialize() override
Definition
MuPatTrackBuilder.cxx:22
MuPatTrackBuilder::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
MuPatTrackBuilder.h:38
MuPatTrackBuilder::m_trackMaker
ToolHandle< Muon::IMuonTrackFinder > m_trackMaker
Actual tool to do the track finding.
Definition
MuPatTrackBuilder.h:31
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
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0