#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 |
virtual void | setEvent (const edm::Event &) |
pass the Event to the algo at each event More... | |
std::vector< Trajectory * > | trajectories (const TrajectorySeed &) |
dummy implementation, unused in this class More... | |
virtual CandidateContainer | trajectories (const TrackCand &) |
choose tk Track and build combined trajectories More... | |
virtual | ~GlobalCosmicMuonTrajectoryBuilder () |
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.
|
virtual |
Destructor.
Definition at line 51 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References theSmoother, and theTrackMatcher.
|
private |
Definition at line 300 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References category_, DetId::det(), trajectoryStateTransform::innerStateOnSurface(), TrajectoryStateOnSurface::isValid(), LogTrace, DetId::Muon, edm::ESHandle< class >::product(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), query::result, theMuonRecHitBuilder, thePropagatorName, theService, theTrackerRecHitBuilder, and DetId::Tracker.
Referenced by trajectories().
|
private |
Definition at line 443 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References ecalTPGAnalyzer_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(), category_, Basic3DVector< T >::dot(), alignCSCRings::e, TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), i, trajectoryStateTransform::innerStateOnSurface(), isTraversing(), getDQMSummary::iter, keep, LogTrace, PV3DBase< T, PVType, FrameType >::mag(), mag(), GlobalMuonTrackMatcher::match(), trajectoryStateTransform::outerStateOnSurface(), query::result, theService, theTrackerTracks, and theTrackMatcher.
Referenced by trajectories().
|
inline |
Definition at line 55 of file GlobalCosmicMuonTrajectoryBuilder.h.
References MuonServiceProxy::propagator(), thePropagatorName, and theService.
|
virtual |
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.
References theSmoother.
Referenced by utilities().
|
private |
Definition at line 201 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References category_, LogTrace, mag(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by trajectories().
|
inlinevirtual |
dummy implementation, unused in this class
Implements MuonTrajectoryBuilder.
Definition at line 53 of file GlobalCosmicMuonTrajectoryBuilder.h.
|
virtual |
choose tk Track and build combined trajectories
Implements MuonTrajectoryBuilder.
Definition at line 83 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References prof2calltree::back, category_, CosmicMuonSmoother::fit(), prof2calltree::front, getTransientRecHits(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), trajectoryStateTransform::innerStateOnSurface(), edm::Ref< C, T, F >::isNull(), TrajectoryStateOnSurface::isValid(), edm::HandleBase::isValid(), LogTrace, match(), Trajectory::measurements(), trajectoryStateTransform::outerStateOnSurface(), PV3DBase< T, PVType, FrameType >::perp(), query::result, fileCollector::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.
References smoother(), and CosmicMuonSmoother::utilities().
|
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(), GlobalCosmicMuonTrajectoryBuilder(), and propagator().
|
private |
Definition at line 77 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder(), isTraversing(), match(), propagator(), setEvent(), and trajectories().
|
private |
Definition at line 79 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by GlobalCosmicMuonTrajectoryBuilder(), smoother(), 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.