ATLAS Offline Software
Loading...
Searching...
No Matches
MuonAmbiTrackSelectionTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUON_MUONAMBITRACKSELECTIONTOOL_H
6#define MUON_MUONAMBITRACKSELECTIONTOOL_H
7
8#include <map>
9#include <vector>
10
12#include "GaudiKernel/ServiceHandle.h"
13#include "GaudiKernel/ToolHandle.h"
17
18namespace Trk {
19 class Track;
20}
21
22namespace Muon {
23
33
35 public:
36 MuonAmbiTrackSelectionTool(const std::string &, const std::string &, const IInterface *);
37
40
42 virtual StatusCode initialize() override;
43
44 virtual std::tuple<Trk::Track *, bool> getCleanedOutTrack(const Trk::Track *track, const Trk::TrackScore score,
45 Trk::ClusterSplitProbabilityContainer &splitProbContainer,
46 Trk::PRDtoTrackMap &prd_to_track_map, int trackId = -1,
47 int subtrackId = -1) const override;
48
49 private:
50 PublicToolHandle<Muon::MuonEDMPrinterTool> m_printer{
51 this,
52 "Printer",
53 "Muon::MuonEDMPrinterTool/MuonEDMPrinterTool",
54 };
56 this,
57 "MuonIdHelperSvc",
58 "Muon::MuonIdHelperSvc/MuonIdHelperSvc",
59 };
60
62 Gaudi::Property<double> m_maxOverlapFraction{this, "MaxOverlapFraction", 0.1};
63
65 Gaudi::Property<bool> m_keepPartial{this, "KeepPartialOverlaps", true};
66
68 Gaudi::Property<bool> m_keepMoreThanOne{this, "KeepMoreThanOneShare", true};
69 };
70} // namespace Muon
71
72#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
PublicToolHandle< Muon::MuonEDMPrinterTool > m_printer
virtual StatusCode initialize() override
standard Athena-Algorithm method
Gaudi::Property< bool > m_keepPartial
flag to keep partial overlaps
virtual std::tuple< Trk::Track *, bool > getCleanedOutTrack(const Trk::Track *track, const Trk::TrackScore score, Trk::ClusterSplitProbabilityContainer &splitProbContainer, Trk::PRDtoTrackMap &prd_to_track_map, int trackId=-1, int subtrackId=-1) const override
Performs cleaning of a track from already used hits.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
MuonAmbiTrackSelectionTool(const std::string &, const std::string &, const IInterface *)
virtual ~MuonAmbiTrackSelectionTool()
default destructor
Gaudi::Property< double > m_maxOverlapFraction
maximum hit overlap fraction between two track, if higher track will be rejected
Gaudi::Property< bool > m_keepMoreThanOne
flag to keep overlaps which share more than one presicion layer
Container to associate Cluster with cluster splitting probabilities.
Interface for building new tracks using information about shared and already associated hits.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Ensure that the ATLAS eigen extensions are properly loaded.
float TrackScore
Definition TrackScore.h:10