#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 *) |
initialize More... | |
void | setEvent (const edm::Event &) |
set an event More... | |
void | trackerSeeds (const TrackCand &, const TrackingRegion &, const TrackerTopology *tTopo, std::vector< TrajectorySeed > &) |
generate seed(s) for a track More... | |
virtual | ~FastTSGFromPropagation () |
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 47 of file FastTSGFromPropagation.h.
FastTSGFromPropagation::FastTSGFromPropagation | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | iC | ||
) |
constructor
Definition at line 47 of file FastTSGFromPropagation.cc.
FastTSGFromPropagation::FastTSGFromPropagation | ( | const edm::ParameterSet & | par, |
const MuonServiceProxy * | service, | ||
edm::ConsumesCollector & | iC | ||
) |
Definition at line 50 of file FastTSGFromPropagation.cc.
|
virtual |
destructor
Definition at line 59 of file FastTSGFromPropagation.cc.
References LogTrace, and theCategory.
|
private |
adjust the error matrix of the FTS
Definition at line 506 of file FastTSGFromPropagation.cc.
References FreeTrajectoryState::curvilinearError(), FreeTrajectoryState::momentum(), MuonErrorMatrix::multiply(), FreeTrajectoryState::parameters(), FreeTrajectoryState::rescaleError(), theErrorMatrixAdjuster, theFixedErrorRescaling, theFlexErrorRescaling, and theResetMethod.
Referenced by innerState(), and outerTkState().
|
private |
adjust the error matrix of the TSOS
Definition at line 528 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 419 of file FastTSGFromPropagation.cc.
Referenced by trackerSeeds().
|
private |
create a seed from a trajectory state
Definition at line 426 of file FastTSGFromPropagation.cc.
References oppositeToMomentum, and trajectoryStateTransform::persistentState().
|
private |
Definition at line 489 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().
|
inlineprivate |
Definition at line 82 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 467 of file FastTSGFromPropagation.cc.
References estimator(), LayerMeasurements::measurements(), propagator(), query::result, tkLayerMeasurements(), and validMeasurements().
|
private |
look for measurements on the first compatible layer (faster way)
Definition at line 442 of file FastTSGFromPropagation.cc.
References GeometricSearchDet::compatibleDets(), estimator(), propagator(), query::result, and theMeasTrackerEvent.
Referenced by trackerSeeds().
|
private |
Definition at line 497 of file FastTSGFromPropagation.cc.
References EnergyCorrector::pt, and theFlexErrorRescaling.
Referenced by trackerSeeds().
|
virtual |
initialize
Reimplemented from TrackerSeedGenerator.
Definition at line 284 of file FastTSGFromPropagation.cc.
References Chi2MeasurementEstimatorESProducer_cfi::Chi2MeasurementEstimator, 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 380 of file FastTSGFromPropagation.cc.
References adjust(), alongMomentum, trajectoryStateTransform::innerStateOnSurface(), oppositeToMomentum, and theService.
Referenced by outerTkState().
|
private |
Definition at line 401 of file FastTSGFromPropagation.cc.
References adjust(), trajectoryStateTransform::initialFreeState(), innerState(), propagator(), query::result, theService, and theUseVertexStateFlag.
Referenced by trackerSeeds().
|
private |
check some quantity and beam-spot compatibility and decide to continue
Definition at line 474 of file FastTSGFromPropagation.cc.
References edm::HandleBase::isValid(), theBeamSpot, theSelectStateFlag, theSigmaZ, and zDis().
Referenced by trackerSeeds().
|
inlineprivate |
Definition at line 84 of file FastTSGFromPropagation.h.
References MuonServiceProxy::propagator(), thePropagatorName, and theService.
Referenced by findMeasurements(), findMeasurements_new(), outerTkState(), and trackerSeeds().
|
virtual |
set an event
Reimplemented from TrackerSeedGenerator.
Definition at line 342 of file FastTSGFromPropagation.cc.
References beamSpot_, edm::Event::getByToken(), LogTrace, theBeamSpot, theCacheId_MT, theCacheId_TG, theCategory, theGSRecHits, theHitProducer, 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 552 of file FastTSGFromPropagation.cc.
References cond::rpcobgas::detid, TrajectoryStateOnSurface::globalMomentum(), i, j, relval_steps::k, TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), visualization-live-secondInstance_cfg::m, LocalTrajectoryError::matrix(), PV3DBase< T, PVType, FrameType >::perp(), and TrajectoryStateOnSurface::surfaceSide().
|
inlineprivate |
Definition at line 78 of file FastTSGFromPropagation.h.
References theTkLayerMeasurements.
Referenced by findMeasurements().
void FastTSGFromPropagation::trackerSeeds | ( | const TrackCand & | staMuon, |
const TrackingRegion & | region, | ||
const TrackerTopology * | tTopo, | ||
std::vector< TrajectorySeed > & | result | ||
) |
generate seed(s) for a track
Definition at line 63 of file FastTSGFromPropagation.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), CoreSimTrack::charge(), GSSiTrackerRecHit2DLocalPos::clone(), createSeed(), PTrajectoryStateOnDet::detId(), estimator(), PV3DBase< T, PVType, FrameType >::eta(), findMeasurements_new(), TrajectoryStateOnSurface::freeState(), g, TrackingRecHit::geographicalId(), getRescalingFactor(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrajectorySeedHitCandidate::hit(), TrackerGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), LogTrace, oppositeToMomentum, outerTkState(), passSelection(), PV3DBase< T, PVType, FrameType >::perp(), position, propagator(), edm::OwnVector< T, P >::push_back(), DetId::rawId(), GeomDet::surface(), theCategory, theGeometry, theGSRecHits, theNavigation, theResetMethod, theService, theTTRHBuilder, theUpdateStateFlag, SimTrack::trackerSurfaceMomentum(), SimTrack::trackerSurfacePosition(), trajectoryStateTransform::transientState(), TrajectoryStateUpdator::update(), updator(), and PV3DBase< T, PVType, FrameType >::y().
|
inlineprivate |
Definition at line 80 of file FastTSGFromPropagation.h.
References theUpdator.
Referenced by trackerSeeds().
|
private |
select valid measurements
Definition at line 434 of file FastTSGFromPropagation.cc.
Referenced by findMeasurements().
|
private |
Definition at line 493 of file FastTSGFromPropagation.cc.
References TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), PV3DBase< T, PVType, FrameType >::perp(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by passSelection().
|
private |
Definition at line 175 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 168 of file FastTSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 178 of file FastTSGFromPropagation.h.
Referenced by passSelection(), and setEvent().
|
private |
Definition at line 129 of file FastTSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 130 of file FastTSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 132 of file FastTSGFromPropagation.h.
Referenced by setEvent(), trackerSeeds(), and ~FastTSGFromPropagation().
|
private |
Definition at line 172 of file FastTSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 166 of file FastTSGFromPropagation.h.
|
private |
Definition at line 148 of file FastTSGFromPropagation.h.
Referenced by estimator(), and init().
|
private |
Definition at line 154 of file FastTSGFromPropagation.h.
|
private |
Definition at line 152 of file FastTSGFromPropagation.h.
Referenced by adjust(), getRescalingFactor(), and init().
|
private |
Definition at line 142 of file FastTSGFromPropagation.h.
Referenced by init(), and trackerSeeds().
|
private |
Definition at line 180 of file FastTSGFromPropagation.h.
Referenced by setEvent(), and trackerSeeds().
|
private |
Definition at line 174 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 150 of file FastTSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 138 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 181 of file FastTSGFromPropagation.h.
Referenced by findMeasurements_new(), and setEvent().
|
private |
Definition at line 176 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 140 of file FastTSGFromPropagation.h.
Referenced by init(), setEvent(), and trackerSeeds().
|
private |
Definition at line 164 of file FastTSGFromPropagation.h.
Referenced by init(), and propagator().
|
private |
Definition at line 160 of file FastTSGFromPropagation.h.
Referenced by adjust(), init(), and trackerSeeds().
|
private |
Definition at line 162 of file FastTSGFromPropagation.h.
Referenced by init(), and passSelection().
|
private |
Definition at line 144 of file FastTSGFromPropagation.h.
Referenced by init(), innerState(), outerTkState(), propagator(), setEvent(), and trackerSeeds().
|
private |
Definition at line 170 of file FastTSGFromPropagation.h.
Referenced by init(), and passSelection().
|
private |
Definition at line 173 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 179 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 134 of file FastTSGFromPropagation.h.
Referenced by setEvent(), and tkLayerMeasurements().
|
private |
Definition at line 136 of file FastTSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 182 of file FastTSGFromPropagation.h.
Referenced by init(), and trackerSeeds().
|
private |
Definition at line 158 of file FastTSGFromPropagation.h.
Referenced by init(), setEvent(), and trackerSeeds().
|
private |
Definition at line 146 of file FastTSGFromPropagation.h.
|
private |
Definition at line 156 of file FastTSGFromPropagation.h.
Referenced by init(), and outerTkState().