ATLAS Offline Software
Loading...
Searching...
No Matches
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
13#include "GaudiKernel/ServiceHandle.h"
14#include "GaudiKernel/ToolHandle.h"
19
21public:
22 MuPatTrackBuilder(const std::string& name, ISvcLocator* pSvcLocator);
23 virtual StatusCode initialize() override;
24 virtual StatusCode execute(const EventContext& ctx) const override;
25
26private:
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"};
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
Header file to be included by clients of the Monitored infrastructure.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode execute(const EventContext &ctx) const override
ServiceHandle< Muon::IMuonEDMHelperSvc > m_edmHelperSvc
helper Tool
MuPatTrackBuilder(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteHandleKey< TrackCollection > m_spectroTrackKey
Track output Key for tracks strictly in MS.
SG::ReadHandleKey< Trk::SegmentCollection > m_segmentKey
Key of input MuonSegmentCombination collection.
virtual StatusCode initialize() override
ToolHandle< GenericMonitoringTool > m_monTool
ToolHandle< Muon::IMuonTrackFinder > m_trackMaker
Actual tool to do the track finding.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.