#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 &, const edm::EventSetup &) |
reconstruct standalone tracks starting from a collection of seeds More... | |
void | reconstruct (const std::vector< TrackCand > &, edm::Event &, const edm::EventSetup &) |
virtual | ~MuonTrackFinder () |
destructor More... | |
Private Member Functions | |
edm::OrphanHandle < reco::TrackCollection > | load (const TrajectoryContainer &, edm::Event &, const TrackerTopology &ttopo) |
convert the trajectories into tracks and load them in to the event More... | |
void | load (const CandidateContainer &, edm::Event &, const TrackerTopology &ttopo) |
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 27 of file MuonTrackFinder.h.
Definition at line 32 of file MuonTrackFinder.h.
typedef std::pair<const Trajectory*, reco::TrackRef> MuonTrackFinder::TrackCand |
Definition at line 33 of file MuonTrackFinder.h.
Definition at line 31 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 32 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 40 of file MuonTrackFinder.cc.
|
virtual |
destructor
Definition at line 49 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 65 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 73 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, | ||
const edm::EventSetup & | es | ||
) |
reconstruct standalone tracks starting from a collection of seeds
Definition at line 83 of file MuonTrackFinder.cc.
References edm::View< T >::begin(), MuonTrajectoryCleaner::clean(), edm::View< T >::end(), edm::EventSetup::get(), 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, | ||
const edm::EventSetup & | es | ||
) |
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 125 of file MuonTrackFinder.cc.
References MuonTrajectoryCleaner::clean(), edm::EventSetup::get(), load(), LogTrace, metname, setEvent(), theTrajBuilder, theTrajCleaner, and MuonTrajectoryBuilder::trajectories().
|
private |
percolate the Event Setup
Definition at line 59 of file MuonTrackFinder.cc.
References MuonTrajectoryBuilder::setEvent(), and theTrajBuilder.
Referenced by reconstruct().
|
private |
Definition at line 76 of file MuonTrackFinder.h.
Referenced by load(), and ~MuonTrackFinder().
|
private |
Definition at line 72 of file MuonTrackFinder.h.
Referenced by reconstruct(), setEvent(), and ~MuonTrackFinder().
|
private |
Definition at line 74 of file MuonTrackFinder.h.
Referenced by reconstruct(), and ~MuonTrackFinder().