#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 (std::unique_ptr< MuonTrajectoryBuilder > ConcreteMuonTrajectoryBuilder, std::unique_ptr< MuonTrackLoader > trackLoader) | |
Constructor, with default cleaner. For the STA reconstruction the trackLoader must have the propagator. More... | |
MuonTrackFinder (std::unique_ptr< MuonTrajectoryBuilder > ConcreteMuonTrajectoryBuilder, std::unique_ptr< MuonTrackLoader > trackLoader, std::unique_ptr< 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 | |
void | load (CandidateContainer &, edm::Event &, const TrackerTopology &ttopo) |
convert the trajectories into tracks and load them in to the event More... | |
edm::OrphanHandle< reco::TrackCollection > | load (TrajectoryContainer &, 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 | |
std::unique_ptr< MuonTrackLoader > | theTrackLoader |
std::unique_ptr< MuonTrajectoryBuilder > | theTrajBuilder |
std::unique_ptr< MuonTrajectoryCleaner > | theTrajCleaner |
Track finder for the Muon Reco
Concrete Track finder for the Muon Reco
Definition at line 31 of file MuonTrackFinder.h.
Definition at line 34 of file MuonTrackFinder.h.
typedef std::pair<const Trajectory*, reco::TrackRef> MuonTrackFinder::TrackCand |
Definition at line 35 of file MuonTrackFinder.h.
Definition at line 33 of file MuonTrackFinder.h.
MuonTrackFinder::MuonTrackFinder | ( | std::unique_ptr< MuonTrajectoryBuilder > | ConcreteMuonTrajectoryBuilder, |
std::unique_ptr< 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 | ( | std::unique_ptr< MuonTrajectoryBuilder > | ConcreteMuonTrajectoryBuilder, |
std::unique_ptr< MuonTrackLoader > | trackLoader, | ||
std::unique_ptr< MuonTrajectoryCleaner > | cleaner | ||
) |
Constructor, with user-defined cleaner. For the STA reconstruction the trackLoader must have the propagator.
Definition at line 39 of file MuonTrackFinder.cc.
|
virtual |
|
private |
convert the trajectories into tracks and load them in to the event
Definition at line 62 of file MuonTrackFinder.cc.
References theTrackLoader.
|
private |
convert the trajectories into tracks and load them in to the event
Definition at line 55 of file MuonTrackFinder.cc.
References theTrackLoader, and FastTrackerRecHitMaskProducer_cfi::trajectories.
Referenced by reconstruct().
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 67 of file MuonTrackFinder.cc.
References edm::EventSetup::get(), get, load(), LogTrace, metname, eostools::move(), SurveyInfoScenario_cff::seed, InitialStep_cff::seeds, setEvent(), theTrajBuilder, and theTrajCleaner.
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 103 of file MuonTrackFinder.cc.
References edm::EventSetup::get(), get, load(), LogTrace, metname, QuarkoniaTrackSelector_cfi::muonCandidates, setEvent(), theTrajBuilder, and theTrajCleaner.
|
private |
percolate the Event Setup
Definition at line 52 of file MuonTrackFinder.cc.
References theTrajBuilder.
Referenced by reconstruct().
|
private |
Definition at line 75 of file MuonTrackFinder.h.
Referenced by load().
|
private |
Definition at line 71 of file MuonTrackFinder.h.
Referenced by reconstruct(), and setEvent().
|
private |
Definition at line 73 of file MuonTrackFinder.h.
Referenced by reconstruct().