#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... | |
TrajectoryContainer | 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 |
const edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > | theMuonRecHitBuilderToken |
std::string | thePropagatorName |
const MuonServiceProxy * | theService |
CosmicMuonSmoother * | theSmoother |
edm::EDGetTokenT< reco::TrackCollection > | theTkTrackToken |
edm::ESHandle< TransientTrackingRecHitBuilder > | theTrackerRecHitBuilder |
const edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > | theTrackerRecHitBuilderToken |
edm::Handle< reco::TrackCollection > | theTrackerTracks |
GlobalMuonTrackMatcher * | theTrackMatcher |
bool | tkTrajsAvailable |
Definition at line 37 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef MuonTransientTrackingRecHit::ConstMuonRecHitContainer GlobalCosmicMuonTrajectoryBuilder::ConstMuonRecHitContainer |
Definition at line 47 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef MuonTransientTrackingRecHit::ConstMuonRecHitPointer GlobalCosmicMuonTrajectoryBuilder::ConstMuonRecHitPointer |
Definition at line 45 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef TransientTrackingRecHit::ConstRecHitContainer GlobalCosmicMuonTrajectoryBuilder::ConstRecHitContainer |
Definition at line 40 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef TransientTrackingRecHit::ConstRecHitPointer GlobalCosmicMuonTrajectoryBuilder::ConstRecHitPointer |
Definition at line 42 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef MuonTransientTrackingRecHit::MuonRecHitContainer GlobalCosmicMuonTrajectoryBuilder::MuonRecHitContainer |
Definition at line 46 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef MuonTransientTrackingRecHit::MuonRecHitPointer GlobalCosmicMuonTrajectoryBuilder::MuonRecHitPointer |
Definition at line 44 of file GlobalCosmicMuonTrajectoryBuilder.h.
Definition at line 39 of file GlobalCosmicMuonTrajectoryBuilder.h.
Definition at line 41 of file GlobalCosmicMuonTrajectoryBuilder.h.
typedef std::pair<const Trajectory*, reco::TrackRef> GlobalCosmicMuonTrajectoryBuilder::TrackCand |
Definition at line 48 of file GlobalCosmicMuonTrajectoryBuilder.h.
GlobalCosmicMuonTrajectoryBuilder::GlobalCosmicMuonTrajectoryBuilder | ( | const edm::ParameterSet & | par, |
const MuonServiceProxy * | service, | ||
edm::ConsumesCollector & | iC | ||
) |
Constructor.
Definition at line 29 of file GlobalCosmicMuonTrajectoryBuilder.cc.
References category_, edm::ConsumesCollector::consumes(), edm::ParameterSet::getParameter(), HLT_2022v15_cff::GlobalMuonTrackMatcher, thePropagatorName, theService, theSmoother, theTkTrackToken, 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_, runTheMatrix::const, DetId::det(), trajectoryStateTransform::innerStateOnSurface(), TrajectoryStateOnSurface::isValid(), LogTrace, DetId::Muon, edm::ESHandle< T >::product(), mps_fire::result, theMuonRecHitBuilder, thePropagatorName, theService, theTrackerRecHitBuilder, HLT_2022v15_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_2022v15_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(), runTheMatrix::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 61 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 theMuonRecHitBuilder, theMuonRecHitBuilderToken, theService, theTkTrackToken, theTrackerRecHitBuilder, theTrackerRecHitBuilderToken, and theTrackerTracks.
|
inlineprivate |
Definition at line 76 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().
|
inlineoverridevirtual |
dummy implementation, unused in this class
Implements MuonTrajectoryBuilder.
Definition at line 59 of file GlobalCosmicMuonTrajectoryBuilder.h.
|
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().
|
inlineprivate |
Definition at line 78 of file GlobalCosmicMuonTrajectoryBuilder.h.
References smoother(), and CosmicMuonSmoother::utilities().
|
private |
Definition at line 101 of file GlobalCosmicMuonTrajectoryBuilder.h.
|
private |
Definition at line 103 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder(), match(), sortHits(), and trajectories().
|
private |
Definition at line 95 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), and setEvent().
|
private |
Definition at line 94 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by setEvent().
|
private |
Definition at line 88 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder(), and propagator().
|
private |
Definition at line 82 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder(), isTraversing(), match(), propagator(), setEvent(), and trajectories().
|
private |
Definition at line 84 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by GlobalCosmicMuonTrajectoryBuilder(), smoother(), trajectories(), and ~GlobalCosmicMuonTrajectoryBuilder().
|
private |
Definition at line 89 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by GlobalCosmicMuonTrajectoryBuilder(), and setEvent().
|
private |
Definition at line 92 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by getTransientRecHits(), and setEvent().
|
private |
Definition at line 91 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by setEvent().
|
private |
Definition at line 97 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by match(), setEvent(), and trajectories().
|
private |
Definition at line 86 of file GlobalCosmicMuonTrajectoryBuilder.h.
Referenced by GlobalCosmicMuonTrajectoryBuilder(), match(), and ~GlobalCosmicMuonTrajectoryBuilder().
|
private |
Definition at line 99 of file GlobalCosmicMuonTrajectoryBuilder.h.