#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... | |
CandidateContainer | trajectories (const TrackCand &) override |
choose tk Track and build combined trajectories More... | |
TrajectoryContainer | trajectories (const TrajectorySeed &) override |
dummy implementation, unused in this class 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 36 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef MuonTransientTrackingRecHit::ConstMuonRecHitContainer GlobalCosmicMuonTrajectoryBuilder::ConstMuonRecHitContainer |
Definition at line 46 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef MuonTransientTrackingRecHit::ConstMuonRecHitPointer GlobalCosmicMuonTrajectoryBuilder::ConstMuonRecHitPointer |
Definition at line 44 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef TransientTrackingRecHit::ConstRecHitContainer GlobalCosmicMuonTrajectoryBuilder::ConstRecHitContainer |
Definition at line 39 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef TransientTrackingRecHit::ConstRecHitPointer GlobalCosmicMuonTrajectoryBuilder::ConstRecHitPointer |
Definition at line 41 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef MuonTransientTrackingRecHit::MuonRecHitContainer GlobalCosmicMuonTrajectoryBuilder::MuonRecHitContainer |
Definition at line 45 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef MuonTransientTrackingRecHit::MuonRecHitPointer GlobalCosmicMuonTrajectoryBuilder::MuonRecHitPointer |
Definition at line 43 of file GlobalCosmicMuonTrajectoryBuilder.h.
Definition at line 38 of file GlobalCosmicMuonTrajectoryBuilder.h.
Definition at line 40 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef std::pair<const Trajectory*, reco::TrackRef> GlobalCosmicMuonTrajectoryBuilder::TrackCand |
Definition at line 47 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(), HLT_FULL_cff::GlobalMuonTrackMatcher, theMuonRecHitBuilderName, thePropagatorName, theService, theSmoother, theTkTrackToken, theTrackerRecHitBuilderName, and theTrackMatcher.
|
override |
Destructor.
Definition at line 52 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References theSmoother, and theTrackMatcher.
|
private |
Definition at line 317 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References TransientTrackingRecHitBuilder::build(), category_, DetId::det(), trajectoryStateTransform::innerStateOnSurface(), TrajectoryStateOnSurface::isValid(), LogTrace, DetId::Muon, edm::ESHandle< T >::product(), mps_fire::result, theMuonRecHitBuilder, thePropagatorName, theService, theTrackerRecHitBuilder, HLT_FULL_cff::track, and DetId::Tracker.
Referenced by trajectories().
|
private |
Definition at line 467 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References align_cfg::firstValid, PV3DBase< T, PVType, FrameType >::mag(), position, theService, HLT_FULL_cff::track, 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 344 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(), amptDefaultParameters_cff::mu, trajectoryStateTransform::outerStateOnSurface(), quality, mps_fire::result, theService, theTrackerTracks, and theTrackMatcher.
Referenced by trajectories().
|
inline |
Definition at line 60 of file GlobalCosmicMuonTrajectoryBuilder.h.
References MuonServiceProxy::propagator(), thePropagatorName, and theService.
|
overridevirtual |
pass the Event to the algo at each event
Implements MuonTrajectoryBuilder.
Definition at line 62 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References get, theMuonRecHitBuilder, theMuonRecHitBuilderName, theService, theTkTrackToken, theTrackerRecHitBuilder, theTrackerRecHitBuilderName, and theTrackerTracks.
|
inlineprivate |
Definition at line 75 of file GlobalCosmicMuonTrajectoryBuilder.h.
References theSmoother.
Referenced by utilities().
|
private |
Definition at line 209 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References category_, hfClusterShapes_cfi::hits, 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().
|
overridevirtual |
choose tk Track and build combined trajectories
Implements MuonTrajectoryBuilder.
Definition at line 84 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(), muonTagProbeFilters_cff::matched, eostools::move(), trajectoryStateTransform::outerStateOnSurface(), PV3DBase< T, PVType, FrameType >::perp(), mps_fire::result, groupFilesInBlocks::reverse, fileCollector::seed, sortHits(), theService, theSmoother, theTrackerTracks, CosmicMuonSmoother::trajectories(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inlineoverridevirtual |
dummy implementation, unused in this class
Implements MuonTrajectoryBuilder.
Definition at line 58 of file GlobalCosmicMuonTrajectoryBuilder.h.
|
inlineprivate |
Definition at line 77 of file GlobalCosmicMuonTrajectoryBuilder.h.
References smoother(), and CosmicMuonSmoother::utilities().
|
private |
Definition at line 100 of file GlobalCosmicMuonTrajectoryBuilder.h.
|
private |
Definition at line 102 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder(), match(), sortHits(), and trajectories().
|
private |
Definition at line 94 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), and setEvent().
|
private |
Definition at line 93 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by GlobalCosmicMuonTrajectoryBuilder(), and setEvent().
|
private |
Definition at line 87 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder(), and propagator().
|
private |
Definition at line 81 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder(), isTraversing(), match(), propagator(), setEvent(), and trajectories().
|
private |
Definition at line 83 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by GlobalCosmicMuonTrajectoryBuilder(), smoother(), trajectories(), and ~GlobalCosmicMuonTrajectoryBuilder().
|
private |
Definition at line 88 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by GlobalCosmicMuonTrajectoryBuilder(), and setEvent().
|
private |
Definition at line 91 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), and setEvent().
|
private |
Definition at line 90 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by GlobalCosmicMuonTrajectoryBuilder(), and setEvent().
|
private |
Definition at line 96 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by match(), setEvent(), and trajectories().
|
private |
Definition at line 85 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by GlobalCosmicMuonTrajectoryBuilder(), match(), and ~GlobalCosmicMuonTrajectoryBuilder().
|
private |
Definition at line 98 of file GlobalCosmicMuonTrajectoryBuilder.h.