#include <GlobalCosmicMuonTrajectoryBuilder.h>
Public Types | |
typedef MuonTransientTrackingRecHit::ConstMuonRecHitContainer | ConstMuonRecHitContainer |
typedef MuonTransientTrackingRecHit::ConstMuonRecHitPointer | ConstMuonRecHitPointer |
typedef TransientTrackingRecHit::ConstRecHitContainer | ConstRecHitContainer |
typedef TransientTrackingRecHit::ConstRecHitPointer | ConstRecHitPointer |
typedef MuonTransientTrackingRecHit::MuonRecHitContainer | MuonRecHitContainer |
typedef MuonTransientTrackingRecHit::MuonRecHitPointer | MuonRecHitPointer |
typedef TransientTrackingRecHit::RecHitContainer | RecHitContainer |
typedef TransientTrackingRecHit::RecHitPointer | RecHitPointer |
typedef std::pair< const Trajectory *, reco::TrackRef > | TrackCand |
Public Types inherited from MuonTrajectoryBuilder | |
typedef MuonCandidate::CandidateContainer | CandidateContainer |
typedef std::pair< const Trajectory *, reco::TrackRef > | TrackCand |
typedef MuonCandidate::TrajectoryContainer | TrajectoryContainer |
Public Member Functions | |
GlobalCosmicMuonTrajectoryBuilder (const edm::ParameterSet &, const MuonServiceProxy *service, edm::ConsumesCollector &iC) | |
Constructor. More... | |
std::vector< TrackCand > | match (const TrackCand &, const edm::Handle< reco::TrackCollection > &) |
check if tk and muon Tracks are matched More... | |
const Propagator * | propagator () const |
void | setEvent (const edm::Event &) override |
pass the Event to the algo at each event More... | |
std::vector< Trajectory * > | trajectories (const TrajectorySeed &) override |
dummy implementation, unused in this class More... | |
CandidateContainer | trajectories (const TrackCand &) override |
choose tk Track and build combined trajectories More... | |
~GlobalCosmicMuonTrajectoryBuilder () override | |
Destructor. More... | |
Public Member Functions inherited from MuonTrajectoryBuilder | |
MuonTrajectoryBuilder () | |
constructor More... | |
virtual | ~MuonTrajectoryBuilder () |
destructor More... | |
Private Member Functions | |
ConstRecHitContainer | getTransientRecHits (const reco::Track &) const |
bool | isTraversing (const reco::Track &tk) const |
CosmicMuonSmoother * | smoother () const |
void | sortHits (ConstRecHitContainer &, ConstRecHitContainer &, ConstRecHitContainer &) |
const CosmicMuonUtilities * | utilities () const |
Private Attributes | |
const std::vector< Trajectory > * | allTrackerTrajs |
std::string | category_ |
edm::ESHandle< TransientTrackingRecHitBuilder > | theMuonRecHitBuilder |
std::string | theMuonRecHitBuilderName |
std::string | thePropagatorName |
const MuonServiceProxy * | theService |
CosmicMuonSmoother * | theSmoother |
edm::EDGetTokenT< reco::TrackCollection > | theTkTrackToken |
edm::ESHandle< TransientTrackingRecHitBuilder > | theTrackerRecHitBuilder |
std::string | theTrackerRecHitBuilderName |
edm::Handle< reco::TrackCollection > | theTrackerTracks |
GlobalMuonTrackMatcher * | theTrackMatcher |
bool | tkTrajsAvailable |
Definition at line 32 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef MuonTransientTrackingRecHit::ConstMuonRecHitContainer GlobalCosmicMuonTrajectoryBuilder::ConstMuonRecHitContainer |
Definition at line 43 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef MuonTransientTrackingRecHit::ConstMuonRecHitPointer GlobalCosmicMuonTrajectoryBuilder::ConstMuonRecHitPointer |
Definition at line 41 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef TransientTrackingRecHit::ConstRecHitContainer GlobalCosmicMuonTrajectoryBuilder::ConstRecHitContainer |
Definition at line 36 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef TransientTrackingRecHit::ConstRecHitPointer GlobalCosmicMuonTrajectoryBuilder::ConstRecHitPointer |
Definition at line 38 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef MuonTransientTrackingRecHit::MuonRecHitContainer GlobalCosmicMuonTrajectoryBuilder::MuonRecHitContainer |
Definition at line 42 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef MuonTransientTrackingRecHit::MuonRecHitPointer GlobalCosmicMuonTrajectoryBuilder::MuonRecHitPointer |
Definition at line 40 of file GlobalCosmicMuonTrajectoryBuilder.h.
Definition at line 35 of file GlobalCosmicMuonTrajectoryBuilder.h.
Definition at line 37 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef std::pair<const Trajectory*,reco::TrackRef> GlobalCosmicMuonTrajectoryBuilder::TrackCand |
Definition at line 44 of file GlobalCosmicMuonTrajectoryBuilder.h.
GlobalCosmicMuonTrajectoryBuilder::GlobalCosmicMuonTrajectoryBuilder | ( | const edm::ParameterSet & | par, |
const MuonServiceProxy * | service, | ||
edm::ConsumesCollector & | iC | ||
) |
Constructor.
Definition at line 30 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References category_, edm::ConsumesCollector::consumes(), edm::ParameterSet::getParameter(), GlobalMuonTrackMatcher_cff::GlobalMuonTrackMatcher, theMuonRecHitBuilderName, thePropagatorName, theService, theSmoother, theTkTrackToken, theTrackerRecHitBuilderName, and theTrackMatcher.
|
override |
Destructor.
Definition at line 51 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References theSmoother, and theTrackMatcher.
|
private |
Definition at line 300 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References TransientTrackingRecHitBuilder::build(), category_, DetId::det(), trajectoryStateTransform::innerStateOnSurface(), TrajectoryStateOnSurface::isValid(), LogTrace, DetId::Muon, edm::ESHandle< T >::product(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), mps_fire::result, theMuonRecHitBuilder, thePropagatorName, theService, theTrackerRecHitBuilder, and DetId::Tracker.
Referenced by trajectories().
|
private |
Definition at line 443 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References align_cfg::firstValid, PV3DBase< T, PVType, FrameType >::mag(), position, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), theService, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by match().
std::vector< GlobalCosmicMuonTrajectoryBuilder::TrackCand > GlobalCosmicMuonTrajectoryBuilder::match | ( | const TrackCand & | mu, |
const edm::Handle< reco::TrackCollection > & | tktracks | ||
) |
check if tk and muon Tracks are matched
Definition at line 326 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), deltar::bestMatch(), category_, Basic3DVector< T >::dot(), MillePedeFileConverter_cfg::e, TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), mps_fire::i, trajectoryStateTransform::innerStateOnSurface(), isTraversing(), keep, LogTrace, PV3DBase< T, PVType, FrameType >::mag(), mag(), GlobalMuonTrackMatcher::match(), trajectoryStateTransform::outerStateOnSurface(), jets_cff::quality, mps_fire::result, theService, theTrackerTracks, and theTrackMatcher.
Referenced by trajectories().
|
inline |
Definition at line 55 of file GlobalCosmicMuonTrajectoryBuilder.h.
References edm::match(), CombinatorialSeedGeneratorForCosmicsRegionalReconstruction_cfi::thePropagatorName, and HiRegitMuonDetachedTripletStep_cff::trajectories.
|
overridevirtual |
pass the Event to the algo at each event
Implements MuonTrajectoryBuilder.
Definition at line 60 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References theMuonRecHitBuilder, theMuonRecHitBuilderName, theService, theTkTrackToken, theTrackerRecHitBuilder, theTrackerRecHitBuilderName, and theTrackerTracks.
|
inlineprivate |
Definition at line 71 of file GlobalCosmicMuonTrajectoryBuilder.h.
|
private |
Definition at line 201 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References category_, LogTrace, mag(), PV3DBase< T, PVType, FrameType >::perp(), groupFilesInBlocks::reverse, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by trajectories().
|
inlineoverridevirtual |
dummy implementation, unused in this class
Implements MuonTrajectoryBuilder.
Definition at line 53 of file GlobalCosmicMuonTrajectoryBuilder.h.
|
overridevirtual |
choose tk Track and build combined trajectories
Implements MuonTrajectoryBuilder.
Definition at line 83 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References category_, CosmicMuonSmoother::fit(), getTransientRecHits(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), hfClusterShapes_cfi::hits, trajectoryStateTransform::innerStateOnSurface(), edm::Ref< C, T, F >::isNull(), TrajectoryStateOnSurface::isValid(), edm::HandleBase::isValid(), LogTrace, match(), electrons_cff::matched, Trajectory::measurements(), trajectoryStateTransform::outerStateOnSurface(), PV3DBase< T, PVType, FrameType >::perp(), mps_fire::result, groupFilesInBlocks::reverse, SurveyInfoScenario_cff::seed, sortHits(), theService, theSmoother, theTrackerTracks, CosmicMuonSmoother::trajectories(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inlineprivate |
Definition at line 73 of file GlobalCosmicMuonTrajectoryBuilder.h.
|
private |
Definition at line 96 of file GlobalCosmicMuonTrajectoryBuilder.h.
|
private |
Definition at line 98 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder(), match(), sortHits(), and trajectories().
|
private |
Definition at line 90 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), and setEvent().
|
private |
Definition at line 89 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by GlobalCosmicMuonTrajectoryBuilder(), and setEvent().
|
private |
Definition at line 83 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), and GlobalCosmicMuonTrajectoryBuilder().
|
private |
Definition at line 77 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder(), isTraversing(), match(), setEvent(), and trajectories().
|
private |
Definition at line 79 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by GlobalCosmicMuonTrajectoryBuilder(), trajectories(), and ~GlobalCosmicMuonTrajectoryBuilder().
|
private |
Definition at line 84 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by GlobalCosmicMuonTrajectoryBuilder(), and setEvent().
|
private |
Definition at line 87 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), and setEvent().
|
private |
Definition at line 86 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by GlobalCosmicMuonTrajectoryBuilder(), and setEvent().
|
private |
Definition at line 92 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by match(), setEvent(), and trajectories().
|
private |
Definition at line 81 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by GlobalCosmicMuonTrajectoryBuilder(), match(), and ~GlobalCosmicMuonTrajectoryBuilder().
|
private |
Definition at line 94 of file GlobalCosmicMuonTrajectoryBuilder.h.