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 class TrackerTopology;
22 
25 class MuonTrackLoader;
26 
28 
29  public:
30 
33  typedef std::pair<const Trajectory*, reco::TrackRef> TrackCand;
34 
35  public:
36 
38  MuonTrackFinder(MuonTrajectoryBuilder* ConcreteMuonTrajectoryBuilder,
39  MuonTrackLoader *trackLoader);
40 
42  MuonTrackFinder(MuonTrajectoryBuilder* ConcreteMuonTrajectoryBuilder,
43  MuonTrackLoader *trackLoader,
44  MuonTrajectoryCleaner* cleaner);
45 
47  virtual ~MuonTrackFinder();
48 
51  edm::Event&,
52  const edm::EventSetup&);
53 
57  void reconstruct(const std::vector<TrackCand>&, edm::Event&, const edm::EventSetup&);
58 
59  private:
60 
62  void setEvent(const edm::Event&);
63 
66 
68  void load(const CandidateContainer&, edm::Event&, const TrackerTopology &ttopo);
69 
70  private:
71 
73 
75 
77 
78 };
79 #endif
std::vector< Trajectory * > TrajectoryContainer
Definition: MuonCandidate.h:19
std::pair< const Trajectory *, reco::TrackRef > TrackCand
Definition: Event.h:16
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...
edm::OrphanHandle< reco::TrackCollection > load(const TrajectoryContainer &, edm::Event &, const TrackerTopology &ttopo)
convert the trajectories into tracks and load them in to the event
MuonTrackLoader * theTrackLoader
std::vector< MuonCandidate * > CandidateContainer
Definition: MuonCandidate.h:20
MuonCandidate::TrajectoryContainer TrajectoryContainer
MuonTrajectoryBuilder * theTrajBuilder
MuonTrajectoryCleaner * theTrajCleaner
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
MuonCandidate::CandidateContainer CandidateContainer