#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... | |
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 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 51 of file FastTSGFromPropagation.h.
FastTSGFromPropagation::FastTSGFromPropagation | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | iC | ||
) |
constructor
Definition at line 48 of file FastTSGFromPropagation.cc.
FastTSGFromPropagation::FastTSGFromPropagation | ( | const edm::ParameterSet & | par, |
const MuonServiceProxy * | service, | ||
edm::ConsumesCollector & | iC | ||
) |
Definition at line 51 of file FastTSGFromPropagation.cc.
|
override |
destructor
Definition at line 72 of file FastTSGFromPropagation.cc.
References LogTrace, and theCategory.
|
private |
adjust the error matrix of the FTS
Definition at line 495 of file FastTSGFromPropagation.cc.
References MuonErrorMatrix::multiply(), theErrorMatrixAdjuster, theFixedErrorRescaling, theFlexErrorRescaling, and theResetMethod.
Referenced by innerState(), and outerTkState().
|
private |
adjust the error matrix of the TSOS
Definition at line 515 of file FastTSGFromPropagation.cc.
References MuonErrorMatrix::multiply(), theErrorMatrixAdjuster, theFixedErrorRescaling, theFlexErrorRescaling, and theResetMethod.
|
private |
create a hitless seed from a trajectory state
Definition at line 413 of file FastTSGFromPropagation.cc.
Referenced by trackerSeeds().
|
private |
create a seed from a trajectory state
Definition at line 418 of file FastTSGFromPropagation.cc.
References oppositeToMomentum, trajectoryStateTransform::persistentState(), and nano_mu_digi_cff::rawId.
|
private |
Definition at line 473 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 83 of file FastTSGFromPropagation.h.
References theEstimator.
Referenced by findMeasurements(), and trackerSeeds().
|
private |
look for measurements on the first compatible layer
Definition at line 431 of file FastTSGFromPropagation.cc.
References GeometricSearchDet::compatibleDets(), estimator(), propagator(), mps_fire::result, and theMeasTrackerEvent.
Referenced by trackerSeeds().
|
private |
Definition at line 484 of file FastTSGFromPropagation.cc.
References DiDispStaMuonMonitor_cfi::pt, and theFlexErrorRescaling.
Referenced by trackerSeeds().
|
overridevirtual |
initialize
Reimplemented from TrackerSeedGenerator.
Definition at line 307 of file FastTSGFromPropagation.cc.
References HLT_2024v10_cff::errorMatrixPset, edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, theAdjustAtIp, theCacheId_TG, theConfig, theErrorMatrixAdjuster, theEstimator, theFixedErrorRescaling, theFlexErrorRescaling, theGeometry, theGeometryToken, theMaxChi2, thePropagatorName, theResetMethod, theSelectStateFlag, theService, theSigmaZ, theTTRHBuilder, theTTRHBuilderToken, theUpdateStateFlag, theUpdator, and theUseVertexStateFlag.
|
private |
Definition at line 376 of file FastTSGFromPropagation.cc.
References adjust(), alongMomentum, trajectoryStateTransform::innerStateOnSurface(), oppositeToMomentum, and theService.
Referenced by outerTkState().
|
private |
Definition at line 395 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 458 of file FastTSGFromPropagation.cc.
References edm::HandleBase::isValid(), theBeamSpot, theSelectStateFlag, theSigmaZ, reco::BeamSpot::z0(), and zDis().
Referenced by trackerSeeds().
|
inlineprivate |
Definition at line 85 of file FastTSGFromPropagation.h.
References MuonServiceProxy::propagator(), thePropagatorName, and theService.
Referenced by findMeasurements(), outerTkState(), and trackerSeeds().
|
overridevirtual |
set an event
Reimplemented from TrackerSeedGenerator.
Definition at line 355 of file FastTSGFromPropagation.cc.
References beamSpot_, iEvent, LogTrace, recHitCombinations, recHitCombinationsToken_, theBeamSpot, theCacheId_TG, theCategory, theMeasTrackerEvent, theMeasurementTrackerEventToken_, theNavigation, theService, theSimTrackCollectionToken_, theSimTracks, theTrackerToken, and theUpdateStateFlag.
|
private |
A mere copy (without memory leak) of an existing tracking method.
should check if corresponds to m
Definition at line 535 of file FastTSGFromPropagation.cc.
References TrajectoryStateOnSurface::globalMomentum(), mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), visualization-live-secondInstance_cfg::m, LocalTrajectoryError::matrix(), PV3DBase< T, PVType, FrameType >::perp(), RPCpg::pts, and TrajectoryStateOnSurface::surfaceSide().
|
override |
generate seed(s) for a track
Definition at line 74 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(), TrajectoryStateOnSurface::freeState(), g, TrackingRecHit::geographicalId(), getRescalingFactor(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrajectorySeedHitCandidate::hit(), l1ctLayer2EG_cff::id, TrackerGeometry::idToDet(), createfilelist::int, TrajectoryStateOnSurface::isValid(), LogTrace, oppositeToMomentum, outerTkState(), passSelection(), PV3DBase< T, PVType, FrameType >::perp(), position, propagator(), edm::OwnVector< T, P >::push_back(), DetId::rawId(), rpcPointValidation_cfi::recHit, recHitCombinations, mps_fire::result, fastTrackingUtilities::setRecHitCombinationIndex(), TrackCandidateProducer_cfi::simTracks, 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 81 of file FastTSGFromPropagation.h.
References theUpdator.
Referenced by trackerSeeds().
|
private |
select valid measurements
Definition at line 425 of file FastTSGFromPropagation.cc.
|
private |
Definition at line 479 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 168 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 173 of file FastTSGFromPropagation.h.
Referenced by setEvent(), and trackerSeeds().
|
private |
Definition at line 167 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 161 of file FastTSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 171 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 131 of file FastTSGFromPropagation.h.
Referenced by setEvent(), trackerSeeds(), and ~FastTSGFromPropagation().
|
private |
Definition at line 165 of file FastTSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 159 of file FastTSGFromPropagation.h.
|
private |
Definition at line 141 of file FastTSGFromPropagation.h.
Referenced by estimator(), and init().
|
private |
Definition at line 147 of file FastTSGFromPropagation.h.
|
private |
Definition at line 145 of file FastTSGFromPropagation.h.
Referenced by adjust(), getRescalingFactor(), and init().
|
private |
Definition at line 135 of file FastTSGFromPropagation.h.
Referenced by init(), and trackerSeeds().
|
private |
Definition at line 178 of file FastTSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 143 of file FastTSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 174 of file FastTSGFromPropagation.h.
Referenced by findMeasurements(), and setEvent().
|
private |
Definition at line 169 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 133 of file FastTSGFromPropagation.h.
Referenced by setEvent(), and trackerSeeds().
|
private |
Definition at line 157 of file FastTSGFromPropagation.h.
Referenced by init(), and propagator().
|
private |
Definition at line 153 of file FastTSGFromPropagation.h.
Referenced by adjust(), init(), and trackerSeeds().
|
private |
Definition at line 155 of file FastTSGFromPropagation.h.
Referenced by init(), and passSelection().
|
private |
Definition at line 137 of file FastTSGFromPropagation.h.
Referenced by init(), innerState(), outerTkState(), propagator(), setEvent(), and trackerSeeds().
|
private |
Definition at line 163 of file FastTSGFromPropagation.h.
Referenced by init(), and passSelection().
|
private |
Definition at line 166 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 172 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 182 of file FastTSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 175 of file FastTSGFromPropagation.h.
Referenced by init(), and trackerSeeds().
|
private |
Definition at line 179 of file FastTSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 151 of file FastTSGFromPropagation.h.
Referenced by init(), setEvent(), and trackerSeeds().
|
private |
Definition at line 139 of file FastTSGFromPropagation.h.
|
private |
Definition at line 149 of file FastTSGFromPropagation.h.
Referenced by init(), and outerTkState().