CMS 3D CMS Logo

MuonTrackFinder.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackingTools_MuonTrackFinder_H
2 #define RecoMuon_TrackingTools_MuonTrackFinder_H
3 
17 
19 
20 #include <vector>
21 
24 class MuonTrackLoader;
25 
27 public:
30  typedef std::pair<const Trajectory*, reco::TrackRef> TrackCand;
31 
32 public:
34  MuonTrackFinder(std::unique_ptr<MuonTrajectoryBuilder> ConcreteMuonTrajectoryBuilder,
35  std::unique_ptr<MuonTrackLoader> trackLoader,
37 
39  MuonTrackFinder(std::unique_ptr<MuonTrajectoryBuilder> ConcreteMuonTrajectoryBuilder,
40  std::unique_ptr<MuonTrackLoader> trackLoader,
41  std::unique_ptr<MuonTrajectoryCleaner> cleaner,
43 
45  virtual ~MuonTrackFinder();
46 
49  edm::Event&,
50  const edm::EventSetup&);
51 
55  void reconstruct(const std::vector<TrackCand>&, edm::Event&, const edm::EventSetup&);
56 
57 private:
59  void setEvent(const edm::Event&);
60 
63 
65  void load(CandidateContainer&, edm::Event&, const TrackerTopology& ttopo);
66 
67 private:
69 
70  std::unique_ptr<MuonTrajectoryBuilder> theTrajBuilder;
71 
72  std::unique_ptr<MuonTrajectoryCleaner> theTrajCleaner;
73 
74  std::unique_ptr<MuonTrackLoader> theTrackLoader;
75 };
76 #endif
TrackExtraFwd.h
MuonTrackFinder::setEvent
void setEvent(const edm::Event &)
percolate the Event Setup
Definition: MuonTrackFinder.cc:53
MuonCandidate::TrajectoryContainer
std::vector< std::unique_ptr< Trajectory > > TrajectoryContainer
Definition: MuonCandidate.h:17
TrackerTopology
Definition: TrackerTopology.h:16
MuonTrackFinder::theTrajBuilder
std::unique_ptr< MuonTrajectoryBuilder > theTrajBuilder
Definition: MuonTrackFinder.h:70
MuonTrackFinder::reconstruct
edm::OrphanHandle< reco::TrackCollection > reconstruct(const edm::Handle< edm::View< TrajectorySeed > > &, edm::Event &, const edm::EventSetup &)
reconstruct standalone tracks starting from a collection of seeds
Definition: MuonTrackFinder.cc:68
edm::Handle
Definition: AssociativeIterator.h:50
MuonTrackFinder::CandidateContainer
MuonCandidate::CandidateContainer CandidateContainer
Definition: MuonTrackFinder.h:29
TrackerTopology.h
MuonTrackLoader
Definition: MuonTrackLoader.h:43
TrackerTopologyRcd.h
TrackFwd.h
MuonTrackFinder::theTrajCleaner
std::unique_ptr< MuonTrajectoryCleaner > theTrajCleaner
Definition: MuonTrackFinder.h:72
MuonTrackFinder::TrackCand
std::pair< const Trajectory *, reco::TrackRef > TrackCand
Definition: MuonTrackFinder.h:30
MuonTrajectoryBuilder
Definition: MuonTrajectoryBuilder.h:21
edm::View
Definition: CaloClusterFwd.h:14
MuonCandidate.h
MuonTrackFinder::theTtopoToken
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > theTtopoToken
Definition: MuonTrackFinder.h:68
FrameworkfwdMostUsed.h
MuonTrackFinder::MuonTrackFinder
MuonTrackFinder(std::unique_ptr< MuonTrajectoryBuilder > ConcreteMuonTrajectoryBuilder, std::unique_ptr< MuonTrackLoader > trackLoader, edm::ConsumesCollector iC)
Constructor, with default cleaner. For the STA reconstruction the trackLoader must have the propagato...
Definition: MuonTrackFinder.cc:29
MuonCandidate::CandidateContainer
std::vector< std::unique_ptr< MuonCandidate > > CandidateContainer
Definition: MuonCandidate.h:18
MuonTrajectoryCleaner
Definition: MuonTrajectoryCleaner.h:16
edm::EventSetup
Definition: EventSetup.h:58
TrajectorySeedCollection.h
MuonTrackFinder::theTrackLoader
std::unique_ptr< MuonTrackLoader > theTrackLoader
Definition: MuonTrackFinder.h:74
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
MuonTrackFinder::~MuonTrackFinder
virtual ~MuonTrackFinder()
destructor
Definition: MuonTrackFinder.cc:48
Trajectory.h
edm::OrphanHandle< reco::TrackCollection >
MuonTrackFinder::load
edm::OrphanHandle< reco::TrackCollection > load(TrajectoryContainer &, edm::Event &, const TrackerTopology &ttopo)
convert the trajectories into tracks and load them in to the event
Definition: MuonTrackFinder.cc:56
MuonTrackFinder::TrajectoryContainer
MuonCandidate::TrajectoryContainer TrajectoryContainer
Definition: MuonTrackFinder.h:28
MuonTrackFinder
Definition: MuonTrackFinder.h:26
edm::Event
Definition: Event.h:73
edm::ConsumesCollector
Definition: ConsumesCollector.h:45