1 #ifndef CosmicMuonTrajectoryBuilder_H
2 #define CosmicMuonTrajectoryBuilder_H
void reverseTrajectoryPropagationDirection(Trajectory &) const
reverse the propagation direction of a trajectory
MuonCandidate::CandidateContainer CandidateContainer
const Propagator * propagator() const
double t0(const DTRecSegment4D *deseg) const
std::pair< const Trajectory *, reco::TrackRef > TrackCand
MuonBestMeasurementFinder * bestMeasurementFinder() const
CosmicMuonSmoother * theSmoother
void estimateDirection(Trajectory &) const
check the direction of trajectory by checking eta spread
TrajectoryStateOnSurface intermediateState(const TrajectoryStateOnSurface &) const
edm::Handle< CSCRecHit2DCollection > cschits_
unsigned long long theCacheId_DG
MuonTrajectoryUpdator * backwardUpdator() const
std::vector< Trajectory * > trajectories(const TrajectorySeed &)
build trajectories from seed
std::string thePropagatorName
edm::Handle< DTRecHitCollection > dthits_
const Propagator * propagatorOpposite() const
MuonDetLayerMeasurements * theLayerMeasurements
bool theTraversingMuonFlag
const CosmicMuonUtilities * utilities() const
DirectMuonNavigation * theNavigation
CosmicMuonSmoother * smoother() const
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
DirectMuonNavigation * navigation() const
void flipTrajectory(Trajectory &) const
flip a trajectory with refit (the momentum direction is opposite)
MuonTrajectoryUpdator * updator() const
void reverseTrajectory(Trajectory &) const
reverse a trajectory without refit (out the measurements order changed)
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
MuonBestMeasurementFinder * theBestMeasurementFinder
MuonTrajectoryUpdator * theBKUpdator
void incrementChamberCounters(const DetLayer *layer, int &dtChambers, int &cscChambers, int &rpcChambers, int &totalChambers)
void getDirectionByTime(Trajectory &) const
check the direction of trajectory by checking the timing
PropagationDirection checkDirectionByT0(const DTRecSegment4D *, const DTRecSegment4D *) const
edm::ParameterSet theNavigationPSet
MuonTrajectoryUpdator * theUpdator
const MuonServiceProxy * theService
virtual ~CosmicMuonTrajectoryBuilder()
Destructor.
void selectHits(MuonTransientTrackingRecHit::MuonRecHitContainer &) const
CosmicMuonTrajectoryBuilder(const edm::ParameterSet &, const MuonServiceProxy *service, edm::ConsumesCollector &iC)
Constructor.
const Propagator * propagatorAlong() const
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
virtual CandidateContainer trajectories(const TrackCand &)
dummy implementation, unused in this class
std::vector< TrajectoryMeasurement > findBestMeasurements(const DetLayer *, const TrajectoryStateOnSurface &, const Propagator *, const MeasurementEstimator *)
void buildSecondHalf(Trajectory &)
bool selfDuplicate(const Trajectory &) const
check if the trajectory iterates the same hit more than once
const CosmicMuonUtilities * utilities() const
MuonTransientTrackingRecHit::MuonRecHitContainer unusedHits(const DetLayer *, const TrajectoryMeasurement &) const
void build(const TrajectoryStateOnSurface &, const NavigationDirection &, Trajectory &)
std::vector< MuonRecHitPointer > MuonRecHitContainer
edm::ESHandle< Propagator > propagator(std::string propagatorName) const
get the propagator
virtual void setEvent(const edm::Event &)
pass the Event to the algo at each event