Go to the documentation of this file. 1 #ifndef RecoMuon_GlobalTrackingTools_GlobalMuonRefitter_H
2 #define RecoMuon_GlobalTrackingTools_GlobalMuonRefitter_H
63 typedef std::vector<Trajectory>
TC;
64 typedef TC::const_iterator
TI;
double theRescaleErrorFactor
std::vector< Trajectory > transform(const reco::Track &newTrack, const reco::TransientTrack track, const TransientTrackingRecHit::ConstRecHitContainer &recHitsForReFit) const
refit the track with a new set of RecHits
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
edm::Handle< CSCSegmentCollection > CSCSegments
edm::EDGetTokenT< ME0SegmentCollection > theME0RecHitToken
void checkMuonHits(const reco::Track &, ConstRecHitContainer &, std::map< DetId, int > &) const
check muon RecHits, calculate chamber occupancy and select hits to be used in the final fit
edm::EDGetTokenT< GEMRecHitCollection > theGEMRecHitToken
edm::ESGetToken< TrajectoryFitter, TrajectoryFitterRecord > theFitterToken
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
edm::Handle< GEMRecHitCollection > theGEMRecHits
edm::Handle< DTRecHitCollection > theDTRecHits
edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > theMuonRecHitBuilderToken
GlobalMuonRefitter(const edm::ParameterSet &, const MuonServiceProxy *, edm::ConsumesCollector &)
constructor with Parameter Set and MuonServiceProxy
std::vector< ConstMuonRecHitPointer > ConstMuonRecHitContainer
std::vector< MuonRecHitPointer > MuonRecHitContainer
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
std::shared_ptr< TrackingRecHit const > RecHitPointer
void getFirstHits(const reco::Track &, ConstRecHitContainer &, ConstRecHitContainer &) const
get the RecHits in the tracker and the first muon chamber with hits
std::vector< int > theDYTthrs
MuonTransientTrackingRecHit::ConstMuonRecHitContainer ConstMuonRecHitContainer
ConstRecHitContainer getRidOfSelectStationHits(const ConstRecHitContainer &hits, const TrackerTopology *tTopo) const
TransientTrackingRecHit::RecHitContainer RecHitContainer
bool theTkTrajsAvailableFlag
std::shared_ptr< MuonTransientTrackingRecHit > MuonRecHitPointer
std::vector< ConstRecHitPointer > RecHitContainer
std::unique_ptr< TrajectoryFitter > theFitter
edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > theTrackerRecHitBuilderToken
edm::EDGetTokenT< CSCRecHit2DCollection > theCSCRecHitToken
int theTrackerSkipSection
edm::InputTag theCSCRecHitLabel
const TransientTrackingRecHitBuilder * theMuonRecHitBuilder
RefitDirection checkRecHitsOrdering(const ConstRecHitContainer &) const
const reco::DYTInfo * getDYTInfo()
edm::EDGetTokenT< DTRecSegment4DCollection > all4DSegmentsToken
edm::InputTag theGEMRecHitLabel
std::vector< ConstRecHitPointer > ConstRecHitContainer
TransientTrackingRecHit::RecHitPointer RecHitPointer
const TransientTrackingRecHitBuilder * theTrackerRecHitBuilder
edm::ParameterSet theDYTthrsParameters
const MuonServiceProxy * theService
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
RefitDirection theRefitDirection
std::vector< Trajectory > TC
std::string thePropagatorName
void setServices(const edm::EventSetup &)
set the services needed by the TrackTransformer
edm::InputTag theDTRecHitLabel
edm::EDGetTokenT< CSCSegmentCollection > CSCSegmentsToken
edm::InputTag theME0RecHitLabel
virtual void setEvent(const edm::Event &)
pass the Event to the algo at each event
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
void printHits(const ConstRecHitContainer &) const
print all RecHits of a trajectory
const MuonServiceProxy * service() const
unsigned long long theCacheId_TRH
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
edm::Handle< ME0SegmentCollection > theME0RecHits
const edm::Event * theEvent
std::vector< Trajectory > refit(const reco::Track &globalTrack, const int theMuonHitsOption, const TrackerTopology *tTopo) const
build combined trajectory from sta Track and tracker RecHits
MuonTransientTrackingRecHit::MuonRecHitPointer MuonRecHitPointer
edm::Handle< DTRecSegment4DCollection > all4DSegments
ConstRecHitContainer selectMuonHits(const Trajectory &, const std::map< DetId, int > &) const
select muon hits compatible with trajectory; check hits in chambers with showers
edm::Handle< CSCRecHit2DCollection > theCSCRecHits
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
virtual ~GlobalMuonRefitter()
destructor
edm::EDGetTokenT< DTRecHitCollection > theDTRecHitToken