#include <FastTSGFromPropagation.h>
Classes | |
struct | increasingEstimate |
struct | isInvalid |
Public Member Functions | |
FastTSGFromPropagation (const edm::ParameterSet &pset, edm::ConsumesCollector &iC) | |
constructor More... | |
FastTSGFromPropagation (const edm::ParameterSet &par, const MuonServiceProxy *, edm::ConsumesCollector &iC) | |
void | init (const MuonServiceProxy *) override |
initialize More... | |
void | setEvent (const edm::Event &) override |
set an event More... | |
void | trackerSeeds (const TrackCand &, const TrackingRegion &, const TrackerTopology *tTopo, std::vector< TrajectorySeed > &) override |
generate seed(s) for a track More... | |
~FastTSGFromPropagation () override | |
destructor More... | |
Public Member Functions inherited from TrackerSeedGenerator | |
const edm::Event * | getEvent () const |
TrackerSeedGenerator () | |
virtual void | trackerSeeds (const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &) |
virtual | ~TrackerSeedGenerator () |
destructor More... | |
Private Member Functions | |
void | adjust (FreeTrajectoryState &) const |
adjust the error matrix of the FTS More... | |
void | adjust (TrajectoryStateOnSurface &) const |
adjust the error matrix of the TSOS More... | |
TrajectorySeed | createSeed (const TrajectoryStateOnSurface &, const DetId &) const |
create a hitless seed from a trajectory state More... | |
TrajectorySeed | createSeed (const TrajectoryStateOnSurface &tsos, const edm::OwnVector< TrackingRecHit > &container, const DetId &id) const |
create a seed from a trajectory state More... | |
double | dxyDis (const TrajectoryStateOnSurface &tsos) const |
const Chi2MeasurementEstimator * | estimator () const |
std::vector< TrajectoryMeasurement > | findMeasurements (const DetLayer *, const TrajectoryStateOnSurface &) const |
look for measurements on the first compatible layer More... | |
std::vector< TrajectoryMeasurement > | findMeasurements_new (const DetLayer *, const TrajectoryStateOnSurface &) const |
look for measurements on the first compatible layer (faster way) More... | |
void | getRescalingFactor (const TrackCand &staMuon) |
TrajectoryStateOnSurface | innerState (const TrackCand &) const |
TrajectoryStateOnSurface | outerTkState (const TrackCand &) const |
bool | passSelection (const TrajectoryStateOnSurface &) const |
check some quantity and beam-spot compatibility and decide to continue More... | |
edm::ESHandle< Propagator > | propagator () const |
void | stateOnDet (const TrajectoryStateOnSurface &ts, unsigned int detid, PTrajectoryStateOnDet &pts) const |
A mere copy (without memory leak) of an existing tracking method. More... | |
const LayerMeasurements * | tkLayerMeasurements () const |
const TrajectoryStateUpdator * | updator () const |
void | validMeasurements (std::vector< TrajectoryMeasurement > &) const |
select valid measurements More... | |
double | zDis (const TrajectoryStateOnSurface &tsos) const |
Additional Inherited Members | |
Public Types inherited from TrackerSeedGenerator | |
typedef std::vector< TrajectorySeed > | BTSeedCollection |
typedef std::pair< const Trajectory *, reco::TrackRef > | TrackCand |
Protected Attributes inherited from TrackerSeedGenerator | |
const edm::Event * | theEvent |
const MuonServiceProxy * | theProxyService |
Emulate TSGFromPropagation in RecoMuon
Tracker Seed Generator by propagating and updating a standAlone muon to the first 2 (or 1) rechits it meets in tracker system
Emulate TSGFromPropagation in RecoMuon
Definition at line 50 of file FastTSGFromPropagation.h.
FastTSGFromPropagation::FastTSGFromPropagation | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | iC | ||
) |
constructor
Definition at line 46 of file FastTSGFromPropagation.cc.
FastTSGFromPropagation::FastTSGFromPropagation | ( | const edm::ParameterSet & | par, |
const MuonServiceProxy * | service, | ||
edm::ConsumesCollector & | iC | ||
) |
Definition at line 49 of file FastTSGFromPropagation.cc.
|
override |
destructor
Definition at line 58 of file FastTSGFromPropagation.cc.
References LogTrace, and theCategory.
|
private |
adjust the error matrix of the FTS
Definition at line 505 of file FastTSGFromPropagation.cc.
References FreeTrajectoryState::curvilinearError(), FreeTrajectoryState::momentum(), MuonErrorMatrix::multiply(), FreeTrajectoryState::parameters(), FreeTrajectoryState::rescaleError(), theErrorMatrixAdjuster, theFixedErrorRescaling, theFlexErrorRescaling, and theResetMethod.
Referenced by innerState(), outerTkState(), and propagator().
|
private |
adjust the error matrix of the TSOS
Definition at line 527 of file FastTSGFromPropagation.cc.
References TrajectoryStateOnSurface::curvilinearError(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalParameters(), MuonErrorMatrix::multiply(), TrajectoryStateOnSurface::rescaleError(), TrajectoryStateOnSurface::surface(), TrajectoryStateOnSurface::surfaceSide(), theErrorMatrixAdjuster, theFixedErrorRescaling, theFlexErrorRescaling, theResetMethod, and TrajectoryStateOnSurface::weight().
|
private |
create a hitless seed from a trajectory state
Definition at line 418 of file FastTSGFromPropagation.cc.
Referenced by propagator(), and trackerSeeds().
|
private |
create a seed from a trajectory state
Definition at line 425 of file FastTSGFromPropagation.cc.
References oppositeToMomentum, and trajectoryStateTransform::persistentState().
|
private |
Definition at line 488 of file FastTSGFromPropagation.cc.
References TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by propagator().
|
inlineprivate |
Definition at line 84 of file FastTSGFromPropagation.h.
References theEstimator.
Referenced by findMeasurements(), findMeasurements_new(), and trackerSeeds().
|
private |
look for measurements on the first compatible layer
Definition at line 466 of file FastTSGFromPropagation.cc.
References estimator(), LayerMeasurements::measurements(), propagator(), mps_fire::result, tkLayerMeasurements(), and validMeasurements().
Referenced by propagator().
|
private |
look for measurements on the first compatible layer (faster way)
Definition at line 441 of file FastTSGFromPropagation.cc.
References GeometricSearchDet::compatibleDets(), estimator(), propagator(), mps_fire::result, and theMeasTrackerEvent.
Referenced by propagator(), and trackerSeeds().
|
private |
Definition at line 496 of file FastTSGFromPropagation.cc.
References EnergyCorrector::pt, and theFlexErrorRescaling.
Referenced by propagator(), and trackerSeeds().
|
overridevirtual |
initialize
Reimplemented from TrackerSeedGenerator.
Definition at line 284 of file FastTSGFromPropagation.cc.
References Chi2MeasurementEstimator_cfi::Chi2MeasurementEstimator, TSGForRoadSearch_cfi::errorMatrixPset, geometry, edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, theAdjustAtIp, theCacheId_MT, theCacheId_TG, theConfig, theErrorMatrixAdjuster, theEstimator, theFixedErrorRescaling, theFlexErrorRescaling, theGeometry, theMaxChi2, theNavigation, thePropagatorName, theResetMethod, theSelectStateFlag, theService, theSigmaZ, theTracker, theTTRHBuilder, theUpdateStateFlag, theUpdator, and theUseVertexStateFlag.
|
private |
Definition at line 379 of file FastTSGFromPropagation.cc.
References adjust(), alongMomentum, trajectoryStateTransform::innerStateOnSurface(), oppositeToMomentum, and theService.
Referenced by outerTkState().
|
private |
Definition at line 400 of file FastTSGFromPropagation.cc.
References adjust(), trajectoryStateTransform::initialFreeState(), innerState(), propagator(), mps_fire::result, theService, and theUseVertexStateFlag.
Referenced by trackerSeeds().
|
private |
check some quantity and beam-spot compatibility and decide to continue
Definition at line 473 of file FastTSGFromPropagation.cc.
References edm::HandleBase::isValid(), theBeamSpot, theSelectStateFlag, theSigmaZ, reco::BeamSpot::z0(), and zDis().
Referenced by propagator(), and trackerSeeds().
|
inlineprivate |
Definition at line 86 of file FastTSGFromPropagation.h.
References adjust(), createSeed(), dxyDis(), findMeasurements(), findMeasurements_new(), getRescalingFactor(), passSelection(), MuonServiceProxy::propagator(), thePropagatorName, theService, validMeasurements(), and zDis().
Referenced by findMeasurements(), findMeasurements_new(), outerTkState(), and trackerSeeds().
|
overridevirtual |
set an event
Reimplemented from TrackerSeedGenerator.
Definition at line 342 of file FastTSGFromPropagation.cc.
References beamSpot_, edm::Event::getByToken(), LogTrace, edm::ESHandle< T >::product(), recHitCombinations, recHitCombinationsToken_, theBeamSpot, theCacheId_MT, theCacheId_TG, theCategory, theMeasTracker, theMeasTrackerEvent, theMeasurementTrackerEventToken_, theNavigation, theService, theSimTrackCollectionToken_, theSimTracks, theTkLayerMeasurements, theTracker, and theUpdateStateFlag.
|
private |
A mere copy (without memory leak) of an existing tracking method.
should check if corresponds to m
Definition at line 551 of file FastTSGFromPropagation.cc.
References TrajectoryStateOnSurface::globalMomentum(), mps_fire::i, gen::k, TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), funct::m, LocalTrajectoryError::matrix(), PV3DBase< T, PVType, FrameType >::perp(), and TrajectoryStateOnSurface::surfaceSide().
|
inlineprivate |
Definition at line 80 of file FastTSGFromPropagation.h.
References theTkLayerMeasurements.
Referenced by findMeasurements().
|
override |
generate seed(s) for a track
Definition at line 62 of file FastTSGFromPropagation.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), TransientTrackingRecHitBuilder::build(), CoreSimTrack::charge(), ALCARECOTkAlJpsiMuMu_cff::charge, FastTrackerRecHit::clone(), createSeed(), PTrajectoryStateOnDet::detId(), estimator(), PV3DBase< T, PVType, FrameType >::eta(), findMeasurements_new(), TrajectoryStateOnSurface::freeState(), g, TrackingRecHit::geographicalId(), getRescalingFactor(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrajectorySeedHitCandidate::hit(), triggerObjects_cff::id, TrackerGeometry::idToDet(), createfilelist::int, TrajectoryStateOnSurface::isValid(), LogTrace, nullptr, oppositeToMomentum, outerTkState(), passSelection(), PV3DBase< T, PVType, FrameType >::perp(), position, propagator(), edm::OwnVector< T, P >::push_back(), DetId::rawId(), rpcPointValidation_cfi::recHit, recHitCombinations, fastTrackingUtilities::setRecHitCombinationIndex(), tkConvValidator_cfi::simTracks, GeomDet::surface(), theCategory, theGeometry, theNavigation, theResetMethod, theService, theTTRHBuilder, theUpdateStateFlag, SimTrack::trackerSurfaceMomentum(), SimTrack::trackerSurfacePosition(), trajectoryStateTransform::transientState(), TrajectoryStateUpdator::update(), updator(), and PV3DBase< T, PVType, FrameType >::y().
|
inlineprivate |
Definition at line 82 of file FastTSGFromPropagation.h.
References theUpdator.
Referenced by trackerSeeds().
|
private |
select valid measurements
Definition at line 433 of file FastTSGFromPropagation.cc.
Referenced by findMeasurements(), and propagator().
|
private |
Definition at line 492 of file FastTSGFromPropagation.cc.
References TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), PV3DBase< T, PVType, FrameType >::perp(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by passSelection(), and propagator().
|
private |
Definition at line 177 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 182 of file FastTSGFromPropagation.h.
Referenced by setEvent(), and trackerSeeds().
|
private |
Definition at line 176 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 170 of file FastTSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 180 of file FastTSGFromPropagation.h.
Referenced by passSelection(), and setEvent().
|
private |
Definition at line 131 of file FastTSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 132 of file FastTSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 134 of file FastTSGFromPropagation.h.
Referenced by setEvent(), trackerSeeds(), and ~FastTSGFromPropagation().
|
private |
Definition at line 174 of file FastTSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 168 of file FastTSGFromPropagation.h.
|
private |
Definition at line 150 of file FastTSGFromPropagation.h.
Referenced by estimator(), and init().
|
private |
Definition at line 156 of file FastTSGFromPropagation.h.
|
private |
Definition at line 154 of file FastTSGFromPropagation.h.
Referenced by adjust(), getRescalingFactor(), and init().
|
private |
Definition at line 144 of file FastTSGFromPropagation.h.
Referenced by init(), and trackerSeeds().
|
private |
Definition at line 152 of file FastTSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 140 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 183 of file FastTSGFromPropagation.h.
Referenced by findMeasurements_new(), and setEvent().
|
private |
Definition at line 178 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 142 of file FastTSGFromPropagation.h.
Referenced by init(), setEvent(), and trackerSeeds().
|
private |
Definition at line 166 of file FastTSGFromPropagation.h.
Referenced by init(), and propagator().
|
private |
Definition at line 162 of file FastTSGFromPropagation.h.
Referenced by adjust(), init(), and trackerSeeds().
|
private |
Definition at line 164 of file FastTSGFromPropagation.h.
Referenced by init(), and passSelection().
|
private |
Definition at line 146 of file FastTSGFromPropagation.h.
Referenced by init(), innerState(), outerTkState(), propagator(), setEvent(), and trackerSeeds().
|
private |
Definition at line 172 of file FastTSGFromPropagation.h.
Referenced by init(), and passSelection().
|
private |
Definition at line 175 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 181 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 136 of file FastTSGFromPropagation.h.
Referenced by setEvent(), and tkLayerMeasurements().
|
private |
Definition at line 138 of file FastTSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 184 of file FastTSGFromPropagation.h.
Referenced by init(), and trackerSeeds().
|
private |
Definition at line 160 of file FastTSGFromPropagation.h.
Referenced by init(), setEvent(), and trackerSeeds().
|
private |
Definition at line 148 of file FastTSGFromPropagation.h.
|
private |
Definition at line 158 of file FastTSGFromPropagation.h.
Referenced by init(), and outerTkState().