#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 46 of file FastTSGFromPropagation.h.
FastTSGFromPropagation::FastTSGFromPropagation | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | iC | ||
) |
constructor
Definition at line 48 of file FastTSGFromPropagation.cc.
References edm::ParameterSet::getParameter(), theCategory, and theMeasurementTrackerEventTag.
FastTSGFromPropagation::FastTSGFromPropagation | ( | const edm::ParameterSet & | par, |
const MuonServiceProxy * | service, | ||
edm::ConsumesCollector & | iC | ||
) |
Definition at line 55 of file FastTSGFromPropagation.cc.
References edm::ParameterSet::getParameter(), theCategory, and theMeasurementTrackerEventTag.
|
virtual |
destructor
Definition at line 62 of file FastTSGFromPropagation.cc.
References LogTrace, theCategory, theErrorMatrixAdjuster, theEstimator, theNavigation, and theUpdator.
|
private |
adjust the error matrix of the FTS
Definition at line 520 of file FastTSGFromPropagation.cc.
References FreeTrajectoryState::curvilinearError(), MuonErrorMatrix::get(), 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 542 of file FastTSGFromPropagation.cc.
References TrajectoryStateOnSurface::curvilinearError(), MuonErrorMatrix::get(), 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 433 of file FastTSGFromPropagation.cc.
Referenced by trackerSeeds().
|
private |
create a seed from a trajectory state
Definition at line 440 of file FastTSGFromPropagation.cc.
References oppositeToMomentum, and trajectoryStateTransform::persistentState().
|
private |
Definition at line 503 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 81 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 481 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 456 of file FastTSGFromPropagation.cc.
References GeometricSearchDet::compatibleDets(), estimator(), propagator(), query::result, and theMeasTrackerEvent.
Referenced by trackerSeeds().
|
private |
Definition at line 511 of file FastTSGFromPropagation.cc.
References RecoTauCleanerPlugins::pt, and theFlexErrorRescaling.
Referenced by trackerSeeds().
|
virtual |
initialize
Reimplemented from TrackerSeedGenerator.
Definition at line 294 of file FastTSGFromPropagation.cc.
References Chi2MeasurementEstimatorESProducer_cfi::Chi2MeasurementEstimator, geometry, MuonErrorMatrix::get(), edm::ParameterSet::getParameter(), fff_monitoring::service, AlCaHLTBitMon_QueryRunRegistry::string, theAdjustAtIp, theCacheId_MT, theCacheId_TG, theConfig, theErrorMatrixAdjuster, theEstimator, theFixedErrorRescaling, theFlexErrorRescaling, theGeometry, theHitProducer, theMaxChi2, theNavigation, thePropagatorName, theResetMethod, theSelectStateFlag, theService, theSigmaZ, theSimTrackCollectionLabel, theTracker, theTTRHBuilder, theUpdateStateFlag, theUpdator, and theUseVertexStateFlag.
|
private |
Definition at line 394 of file FastTSGFromPropagation.cc.
References adjust(), alongMomentum, trajectoryStateTransform::innerStateOnSurface(), oppositeToMomentum, and theService.
Referenced by outerTkState().
|
private |
Definition at line 415 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 488 of file FastTSGFromPropagation.cc.
References edm::HandleBase::isValid(), theBeamSpot, theSelectStateFlag, theSigmaZ, and zDis().
Referenced by trackerSeeds().
|
inlineprivate |
Definition at line 83 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 355 of file FastTSGFromPropagation.cc.
References beamSpot_, edm::Event::getByLabel(), LogTrace, theBeamSpot, theCacheId_MT, theCacheId_TG, theCategory, theGSRecHits, theHitProducer, theMeasTracker, theMeasTrackerEvent, theMeasurementTrackerEventTag, theNavigation, theService, theSimTrackCollectionLabel, 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 566 of file FastTSGFromPropagation.cc.
References cond::rpcobgas::detid, i, j, gen::k, TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), m, LocalTrajectoryError::matrix(), and TrajectoryStateOnSurface::surfaceSide().
|
inlineprivate |
Definition at line 77 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 73 of file FastTSGFromPropagation.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), DeDxDiscriminatorTools::charge(), CoreSimTrack::charge(), GSSiTrackerRecHit2DLocalPos::clone(), DirectTrackerNavigation::compatibleLayers(), createSeed(), PTrajectoryStateOnDet::detId(), estimator(), PV3DBase< T, PVType, FrameType >::eta(), findMeasurements_new(), TrajectoryStateOnSurface::freeState(), g, TrackingRecHit::geographicalId(), getRescalingFactor(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrackerRecHit::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 79 of file FastTSGFromPropagation.h.
References theUpdator.
Referenced by trackerSeeds().
|
private |
select valid measurements
Definition at line 448 of file FastTSGFromPropagation.cc.
Referenced by findMeasurements().
|
private |
Definition at line 507 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 176 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 171 of file FastTSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 179 of file FastTSGFromPropagation.h.
Referenced by passSelection(), and setEvent().
|
private |
Definition at line 128 of file FastTSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 129 of file FastTSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 131 of file FastTSGFromPropagation.h.
Referenced by FastTSGFromPropagation(), setEvent(), trackerSeeds(), and ~FastTSGFromPropagation().
|
private |
Definition at line 175 of file FastTSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 169 of file FastTSGFromPropagation.h.
Referenced by adjust(), init(), and ~FastTSGFromPropagation().
|
private |
Definition at line 146 of file FastTSGFromPropagation.h.
Referenced by estimator(), init(), and ~FastTSGFromPropagation().
|
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 140 of file FastTSGFromPropagation.h.
Referenced by init(), and trackerSeeds().
|
private |
Definition at line 181 of file FastTSGFromPropagation.h.
Referenced by setEvent(), and trackerSeeds().
|
private |
Definition at line 161 of file FastTSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 150 of file FastTSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 137 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 182 of file FastTSGFromPropagation.h.
Referenced by findMeasurements_new(), and setEvent().
|
private |
Definition at line 177 of file FastTSGFromPropagation.h.
Referenced by FastTSGFromPropagation(), and setEvent().
|
private |
Definition at line 139 of file FastTSGFromPropagation.h.
Referenced by init(), setEvent(), trackerSeeds(), and ~FastTSGFromPropagation().
|
private |
Definition at line 167 of file FastTSGFromPropagation.h.
Referenced by init(), and propagator().
|
private |
Definition at line 163 of file FastTSGFromPropagation.h.
Referenced by adjust(), init(), and trackerSeeds().
|
private |
Definition at line 165 of file FastTSGFromPropagation.h.
Referenced by init(), and passSelection().
|
private |
Definition at line 142 of file FastTSGFromPropagation.h.
Referenced by init(), innerState(), outerTkState(), propagator(), setEvent(), and trackerSeeds().
|
private |
Definition at line 173 of file FastTSGFromPropagation.h.
Referenced by init(), and passSelection().
|
private |
Definition at line 160 of file FastTSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 180 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 133 of file FastTSGFromPropagation.h.
Referenced by setEvent(), and tkLayerMeasurements().
|
private |
Definition at line 135 of file FastTSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 148 of file FastTSGFromPropagation.h.
|
private |
Definition at line 183 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 144 of file FastTSGFromPropagation.h.
Referenced by init(), updator(), and ~FastTSGFromPropagation().
|
private |
Definition at line 156 of file FastTSGFromPropagation.h.
Referenced by init(), and outerTkState().