ATLAS Offline Software
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 
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"};
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
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:23
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
MuPatTrackBuilder::m_edmHelperSvc
ServiceHandle< Muon::IMuonEDMHelperSvc > m_edmHelperSvc
helper Tool
Definition: MuPatTrackBuilder.h:33
IMuonTrackFinder.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
GenericMonitoringTool.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackCollection.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
MuPatTrackBuilder::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: MuPatTrackBuilder.h:38
AthReentrantAlgorithm.h
IMuonEDMHelperSvc.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
MuPatTrackBuilder::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: MuPatTrackBuilder.cxx:36
MuPatTrackBuilder::m_trackMaker
ToolHandle< Muon::IMuonTrackFinder > m_trackMaker
Actual tool to do the track finding.
Definition: MuPatTrackBuilder.h:31
MuPatTrackBuilder::MuPatTrackBuilder
MuPatTrackBuilder(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuPatTrackBuilder.cxx:19
SegmentCollection.h
MuPatTrackBuilder
Definition: MuPatTrackBuilder.h:20
MuPatTrackBuilder::m_spectroTrackKey
SG::WriteHandleKey< TrackCollection > m_spectroTrackKey
Track output Key for tracks strictly in MS.
Definition: MuPatTrackBuilder.h:29
ServiceHandle< Muon::IMuonEDMHelperSvc >