#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, edm::ConsumesCollector iC) | |
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, edm::ConsumesCollector iC) | |
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 (TrajectoryContainer &, edm::Event &, const TrackerTopology &ttopo) |
convert the trajectories into tracks and load them in to the event More... | |
void | load (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 | |
std::unique_ptr< MuonTrackLoader > | theTrackLoader |
std::unique_ptr < MuonTrajectoryBuilder > | theTrajBuilder |
std::unique_ptr < MuonTrajectoryCleaner > | theTrajCleaner |
const edm::ESGetToken < TrackerTopology, TrackerTopologyRcd > | theTtopoToken |
Track finder for the Muon Reco
Concrete Track finder for the Muon Reco
Definition at line 26 of file MuonTrackFinder.h.
Definition at line 29 of file MuonTrackFinder.h.
typedef std::pair<const Trajectory*, reco::TrackRef> MuonTrackFinder::TrackCand |
Definition at line 30 of file MuonTrackFinder.h.
Definition at line 28 of file MuonTrackFinder.h.
MuonTrackFinder::MuonTrackFinder | ( | std::unique_ptr< MuonTrajectoryBuilder > | ConcreteMuonTrajectoryBuilder, |
std::unique_ptr< MuonTrackLoader > | trackLoader, | ||
edm::ConsumesCollector | iC | ||
) |
Constructor, with default cleaner. For the STA reconstruction the trackLoader must have the propagator.
Definition at line 29 of file MuonTrackFinder.cc.
MuonTrackFinder::MuonTrackFinder | ( | std::unique_ptr< MuonTrajectoryBuilder > | ConcreteMuonTrajectoryBuilder, |
std::unique_ptr< MuonTrackLoader > | trackLoader, | ||
std::unique_ptr< MuonTrajectoryCleaner > | cleaner, | ||
edm::ConsumesCollector | iC | ||
) |
Constructor, with user-defined cleaner. For the STA reconstruction the trackLoader must have the propagator.
Definition at line 38 of file MuonTrackFinder.cc.
|
virtual |
|
private |
convert the trajectories into tracks and load them in to the event
Definition at line 56 of file MuonTrackFinder.cc.
References theTrackLoader.
Referenced by reconstruct().
|
private |
convert the trajectories into tracks and load them in to the event
Definition at line 63 of file MuonTrackFinder.cc.
References 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 68 of file MuonTrackFinder.cc.
References edm::EventSetup::getData(), load(), LogTrace, metname, eostools::move(), fileCollector::seed, DetachedQuadStep_cff::seeds, setEvent(), theTrajBuilder, theTrajCleaner, and theTtopoToken.
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::getData(), load(), LogTrace, metname, setEvent(), theTrajBuilder, theTrajCleaner, and theTtopoToken.
|
private |
percolate the Event Setup
Definition at line 53 of file MuonTrackFinder.cc.
References theTrajBuilder.
Referenced by reconstruct().
|
private |
Definition at line 74 of file MuonTrackFinder.h.
Referenced by load().
|
private |
Definition at line 70 of file MuonTrackFinder.h.
Referenced by reconstruct(), and setEvent().
|
private |
Definition at line 72 of file MuonTrackFinder.h.
Referenced by reconstruct().
|
private |
Definition at line 68 of file MuonTrackFinder.h.
Referenced by reconstruct().