#include <MuonTrackFinder.h>
Public Types | |
typedef MuonCandidate::CandidateContainer | CandidateContainer |
typedef std::pair< const Trajectory *, reco::TrackRef > | TrackCand |
typedef MuonCandidate::TrajectoryContainer | TrajectoryContainer |
Public Member Functions | |
MuonTrackFinder (MuonTrajectoryBuilder *ConcreteMuonTrajectoryBuilder, MuonTrackLoader *trackLoader) | |
Constructor, with default cleaner. For the STA reconstruction the trackLoader must have the propagator. More... | |
MuonTrackFinder (MuonTrajectoryBuilder *ConcreteMuonTrajectoryBuilder, MuonTrackLoader *trackLoader, MuonTrajectoryCleaner *cleaner) | |
Constructor, with user-defined cleaner. For the STA reconstruction the trackLoader must have the propagator. More... | |
edm::OrphanHandle < reco::TrackCollection > | reconstruct (const edm::Handle< edm::View< TrajectorySeed > > &, edm::Event &) |
reconstruct standalone tracks starting from a collection of seeds More... | |
void | reconstruct (const std::vector< TrackCand > &, edm::Event &) |
virtual | ~MuonTrackFinder () |
destructor More... | |
Private Member Functions | |
edm::OrphanHandle < reco::TrackCollection > | load (const TrajectoryContainer &, edm::Event &) |
convert the trajectories into tracks and load them in to the event More... | |
void | load (const CandidateContainer &, edm::Event &) |
convert the trajectories into tracks and load them in to the event More... | |
void | setEvent (const edm::Event &) |
percolate the Event Setup More... | |
Private Attributes | |
MuonTrackLoader * | theTrackLoader |
MuonTrajectoryBuilder * | theTrajBuilder |
MuonTrajectoryCleaner * | theTrajCleaner |
Track finder for the Muon Reco
Concrete Track finder for the Muon Reco
Definition at line 26 of file MuonTrackFinder.h.
Definition at line 31 of file MuonTrackFinder.h.
typedef std::pair<const Trajectory*, reco::TrackRef> MuonTrackFinder::TrackCand |
Definition at line 32 of file MuonTrackFinder.h.
Definition at line 30 of file MuonTrackFinder.h.
MuonTrackFinder::MuonTrackFinder | ( | MuonTrajectoryBuilder * | ConcreteMuonTrajectoryBuilder, |
MuonTrackLoader * | trackLoader | ||
) |
Constructor, with default cleaner. For the STA reconstruction the trackLoader must have the propagator.
Definition at line 29 of file MuonTrackFinder.cc.
MuonTrackFinder::MuonTrackFinder | ( | MuonTrajectoryBuilder * | ConcreteMuonTrajectoryBuilder, |
MuonTrackLoader * | trackLoader, | ||
MuonTrajectoryCleaner * | cleaner | ||
) |
Constructor, with user-defined cleaner. For the STA reconstruction the trackLoader must have the propagator.
Definition at line 37 of file MuonTrackFinder.cc.
|
virtual |
destructor
Definition at line 46 of file MuonTrackFinder.cc.
References LogTrace, theTrackLoader, theTrajBuilder, and theTrajCleaner.
|
private |
convert the trajectories into tracks and load them in to the event
Definition at line 62 of file MuonTrackFinder.cc.
References MuonTrackLoader::loadTracks(), and theTrackLoader.
Referenced by reconstruct().
|
private |
convert the trajectories into tracks and load them in to the event
Definition at line 69 of file MuonTrackFinder.cc.
References MuonTrackLoader::loadTracks(), and theTrackLoader.
edm::OrphanHandle< reco::TrackCollection > MuonTrackFinder::reconstruct | ( | const edm::Handle< edm::View< TrajectorySeed > > & | seeds, |
edm::Event & | event | ||
) |
reconstruct standalone tracks starting from a collection of seeds
Definition at line 78 of file MuonTrackFinder.cc.
References edm::View< T >::begin(), MuonTrajectoryCleaner::clean(), edm::View< T >::end(), load(), LogTrace, metname, fileCollector::seed, setEvent(), theTrajBuilder, theTrajCleaner, and MuonTrajectoryBuilder::trajectories().
Referenced by GlobalCosmicMuonProducer::produce().
void MuonTrackFinder::reconstruct | ( | const std::vector< TrackCand > & | staCandColl, |
edm::Event & | event | ||
) |
reconstruct global tracks starting from a collection of standalone tracks and one of trakectories. If the latter is invalid, trajectories are refitted.
Definition at line 116 of file MuonTrackFinder.cc.
References MuonTrajectoryCleaner::clean(), load(), LogTrace, metname, setEvent(), theTrajBuilder, theTrajCleaner, and MuonTrajectoryBuilder::trajectories().
|
private |
percolate the Event Setup
Definition at line 56 of file MuonTrackFinder.cc.
References MuonTrajectoryBuilder::setEvent(), and theTrajBuilder.
Referenced by reconstruct().
|
private |
Definition at line 74 of file MuonTrackFinder.h.
Referenced by load(), and ~MuonTrackFinder().
|
private |
Definition at line 70 of file MuonTrackFinder.h.
Referenced by reconstruct(), setEvent(), and ~MuonTrackFinder().
|
private |
Definition at line 72 of file MuonTrackFinder.h.
Referenced by reconstruct(), and ~MuonTrackFinder().