1 #ifndef RecoMuon_TrackingTools_MuonTrackLoader_H 2 #define RecoMuon_TrackingTools_MuonTrackLoader_H 73 const std::vector<std::pair<Trajectory*, reco::TrackRef> >&,
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
std::unique_ptr< TrajectorySmoother > theSmoother
MuonTrackLoader(edm::ParameterSet ¶meterSet, edm::ConsumesCollector &iC, const MuonServiceProxy *service=nullptr)
Constructor for the STA reco the args must be specify!
std::unique_ptr< MuonUpdatorAtVertex > theUpdatorAtVtx
std::pair< bool, reco::Track > buildTrackAtPCA(const Trajectory &trajectory, const reco::BeamSpot &) const
Build a track at the PCA WITHOUT any vertex constriant.
reco::TrackExtra buildTrackExtra(const Trajectory &) const
bool theSmoothTkTrackFlag
static std::vector< const TrackingRecHit * > unpackHit(const TrackingRecHit &hit)
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
MuonCandidate::CandidateContainer CandidateContainer
edm::InputTag theBeamSpotInputTag
edm::OrphanHandle< reco::TrackCollection > loadTracks(TrajectoryContainer &, edm::Event &, const TrackerTopology &ttopo, const std::string &="", bool=true)
Convert the trajectories into tracks and load the tracks in the event.
virtual ~MuonTrackLoader()
Destructor.
MuonCandidate::TrajectoryContainer TrajectoryContainer
std::string theL2SeededTkLabel
Label for L2SeededTracks.
std::vector< std::unique_ptr< MuonCandidate > > CandidateContainer
edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > theTrackerRecHitBuilderToken
const MuonServiceProxy * theService
edm::ESGetToken< TrajectorySmoother, TrajectoryFitter::Record > theSmootherToken
std::pair< bool, reco::Track > buildTrackUpdatedAtPCA(const reco::Track &trackAtPCA, const reco::BeamSpot &) const
Takes a track at the PCA and applies the vertex constriant.
std::vector< std::unique_ptr< Trajectory > > TrajectoryContainer