test
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 
15 
17 
18 #include <vector>
19 
20 namespace edm {class ParameterSet; class Event; class EventSetup;}
21 
24 class MuonTrackLoader;
25 
27 
28  public:
29 
32  typedef std::pair<const Trajectory*, reco::TrackRef> TrackCand;
33 
34  public:
35 
37  MuonTrackFinder(MuonTrajectoryBuilder* ConcreteMuonTrajectoryBuilder,
38  MuonTrackLoader *trackLoader);
39 
41  MuonTrackFinder(MuonTrajectoryBuilder* ConcreteMuonTrajectoryBuilder,
42  MuonTrackLoader *trackLoader,
43  MuonTrajectoryCleaner* cleaner);
44 
46  virtual ~MuonTrackFinder();
47 
50  edm::Event&);
51 
55  void reconstruct(const std::vector<TrackCand>&, edm::Event&);
56 
57  private:
58 
60  void setEvent(const edm::Event&);
61 
64 
66  void load(const CandidateContainer&, edm::Event&);
67 
68  private:
69 
71 
73 
75 
76 };
77 #endif
std::vector< Trajectory * > TrajectoryContainer
Definition: MuonCandidate.h:19
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:20
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