CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
22 namespace edm {class ParameterSet; class Event; class EventSetup;}
23 
26 class MuonTrackLoader;
27 
29 
30  public:
31 
34  typedef std::pair<const Trajectory*, reco::TrackRef> TrackCand;
35 
36  public:
37 
39  MuonTrackFinder(MuonTrajectoryBuilder* ConcreteMuonTrajectoryBuilder,
40  MuonTrackLoader *trackLoader);
41 
43  MuonTrackFinder(MuonTrajectoryBuilder* ConcreteMuonTrajectoryBuilder,
44  MuonTrackLoader *trackLoader,
45  MuonTrajectoryCleaner* cleaner);
46 
48  virtual ~MuonTrackFinder();
49 
52  edm::Event&);
53 
57  void reconstruct(const std::vector<TrackCand>&, edm::Event&);
58 
59  private:
60 
62  void setEvent(const edm::Event&);
63 
66 
68  void load(const CandidateContainer&, edm::Event&);
69 
70  private:
71 
73 
75 
77 
78 };
79 #endif
std::vector< Trajectory * > TrajectoryContainer
Definition: MuonCandidate.h:21
std::pair< const Trajectory *, reco::TrackRef > TrackCand
void setEvent(const edm::Event &)
percolate the Event Setup
virtual ~MuonTrackFinder()
destructor
MuonTrackFinder(MuonTrajectoryBuilder *ConcreteMuonTrajectoryBuilder, MuonTrackLoader *trackLoader)
Constructor, with default cleaner. For the STA reconstruction the trackLoader must have the propagato...
MuonTrackLoader * theTrackLoader
std::vector< MuonCandidate * > CandidateContainer
Definition: MuonCandidate.h:22
MuonCandidate::TrajectoryContainer TrajectoryContainer
edm::OrphanHandle< reco::TrackCollection > load(const TrajectoryContainer &, edm::Event &)
convert the trajectories into tracks and load them in to the event
MuonTrajectoryBuilder * theTrajBuilder
MuonTrajectoryCleaner * theTrajCleaner
edm::OrphanHandle< reco::TrackCollection > reconstruct(const edm::Handle< edm::View< TrajectorySeed > > &, edm::Event &)
reconstruct standalone tracks starting from a collection of seeds
MuonCandidate::CandidateContainer CandidateContainer