#include <TSGFromPropagation.h>
Classes | |
struct | increasingEstimate |
struct | isInvalid |
Public Member Functions | |
void | init (const MuonServiceProxy *) |
initialize More... | |
void | setEvent (const edm::Event &) |
set an event More... | |
void | trackerSeeds (const TrackCand &, const TrackingRegion &, const TrackerTopology *, std::vector< TrajectorySeed > &) |
generate seed(s) for a track More... | |
TSGFromPropagation (const edm::ParameterSet &pset, edm::ConsumesCollector &iC) | |
constructor More... | |
TSGFromPropagation (const edm::ParameterSet &par, edm::ConsumesCollector &iC, const MuonServiceProxy *) | |
virtual | ~TSGFromPropagation () |
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 |
const LayerMeasurements * | tkLayerMeasurements () const |
const TrajectoryStateUpdator * | updator () const |
void | validMeasurements (std::vector< TrajectoryMeasurement > &) const |
select valid measurements More... | |
double | zDis (const TrajectoryStateOnSurface &tsos) const |
Private Attributes | |
edm::Handle< reco::BeamSpot > | beamSpot |
bool | theAdjustAtIp |
edm::InputTag | theBeamSpotInputTag |
unsigned long long | theCacheId_MT |
unsigned long long | theCacheId_TG |
std::string | theCategory |
edm::ParameterSet | theConfig |
MuonErrorMatrix * | theErrorMatrixAdjuster |
const Chi2MeasurementEstimator * | theEstimator |
double | theFixedErrorRescaling |
double | theFlexErrorRescaling |
double | theMaxChi2 |
edm::ESHandle< MeasurementTracker > | theMeasTracker |
edm::Handle < MeasurementTrackerEvent > | theMeasTrackerEvent |
std::string | theMeasTrackerName |
edm::InputTag | theMeasurementTrackerEventTag |
const DirectTrackerNavigation * | theNavigation |
std::string | thePropagatorName |
std::string | theResetMethod |
bool | theSelectStateFlag |
const MuonServiceProxy * | theService |
double | theSigmaZ |
LayerMeasurements | theTkLayerMeasurements |
edm::ESHandle < GeometricSearchTracker > | theTracker |
TrajectoryStateTransform * | theTSTransformer |
bool | theUpdateStateFlag |
const TrajectoryStateUpdator * | theUpdator |
bool | theUseVertexStateFlag |
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 |
Tracker Seed Generator by propagating and updating a standAlone muon to the first 2 (or 1) rechits it meets in tracker system
Definition at line 30 of file TSGFromPropagation.h.
TSGFromPropagation::TSGFromPropagation | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | iC | ||
) |
constructor
Definition at line 29 of file TSGFromPropagation.cc.
TSGFromPropagation::TSGFromPropagation | ( | const edm::ParameterSet & | par, |
edm::ConsumesCollector & | iC, | ||
const MuonServiceProxy * | service | ||
) |
Definition at line 31 of file TSGFromPropagation.cc.
References edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, theCategory, theMeasTrackerName, and theMeasurementTrackerEventTag.
|
virtual |
destructor
Definition at line 38 of file TSGFromPropagation.cc.
References LogTrace, theCategory, theErrorMatrixAdjuster, theEstimator, theNavigation, and theUpdator.
|
private |
adjust the error matrix of the FTS
Definition at line 348 of file TSGFromPropagation.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 370 of file TSGFromPropagation.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 261 of file TSGFromPropagation.cc.
Referenced by trackerSeeds().
|
private |
create a seed from a trajectory state
Definition at line 268 of file TSGFromPropagation.cc.
References oppositeToMomentum, and trajectoryStateTransform::persistentState().
|
private |
Definition at line 331 of file TSGFromPropagation.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 60 of file TSGFromPropagation.h.
References theEstimator.
Referenced by findMeasurements(), findMeasurements_new(), and trackerSeeds().
|
private |
look for measurements on the first compatible layer
Definition at line 309 of file TSGFromPropagation.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 284 of file TSGFromPropagation.cc.
References GeometricSearchDet::compatibleDets(), estimator(), propagator(), query::result, theMeasTrackerEvent, and validMeasurements().
Referenced by trackerSeeds().
|
private |
Definition at line 339 of file TSGFromPropagation.cc.
References RecoTauCleanerPlugins::pt, and theFlexErrorRescaling.
Referenced by trackerSeeds().
|
virtual |
initialize
Reimplemented from TrackerSeedGenerator.
Definition at line 133 of file TSGFromPropagation.cc.
References Chi2MeasurementEstimatorESProducer_cfi::Chi2MeasurementEstimator, MuonErrorMatrix::get(), edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, theAdjustAtIp, theBeamSpotInputTag, theCacheId_MT, theCacheId_TG, theConfig, theErrorMatrixAdjuster, theEstimator, theFixedErrorRescaling, theFlexErrorRescaling, theMaxChi2, theNavigation, thePropagatorName, theResetMethod, theSelectStateFlag, theService, theSigmaZ, theTracker, theUpdateStateFlag, theUpdator, and theUseVertexStateFlag.
|
private |
Definition at line 221 of file TSGFromPropagation.cc.
References adjust(), alongMomentum, trajectoryStateTransform::innerStateOnSurface(), MuonServiceProxy::magneticField(), oppositeToMomentum, theService, and MuonServiceProxy::trackingGeometry().
Referenced by outerTkState().
|
private |
Definition at line 243 of file TSGFromPropagation.cc.
References adjust(), trajectoryStateTransform::initialFreeState(), innerState(), MuonServiceProxy::magneticField(), MuonServiceProxy::propagator(), propagator(), query::result, theService, and theUseVertexStateFlag.
Referenced by trackerSeeds().
|
private |
check some quantity and beam-spot compatibility and decide to continue
Definition at line 316 of file TSGFromPropagation.cc.
References beamSpot, edm::HandleBase::isValid(), theSelectStateFlag, theSigmaZ, and zDis().
Referenced by trackerSeeds().
|
inlineprivate |
Definition at line 62 of file TSGFromPropagation.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 187 of file TSGFromPropagation.cc.
References beamSpot, MuonServiceProxy::eventSetup(), edm::EventSetup::get(), edm::Event::getByLabel(), LogTrace, theBeamSpotInputTag, theCacheId_MT, theCacheId_TG, theCategory, theMeasTracker, theMeasTrackerEvent, theMeasTrackerName, theMeasurementTrackerEventTag, theNavigation, theService, theTkLayerMeasurements, theTracker, and theUpdateStateFlag.
|
inlineprivate |
Definition at line 56 of file TSGFromPropagation.h.
References theTkLayerMeasurements.
Referenced by findMeasurements().
void TSGFromPropagation::trackerSeeds | ( | const TrackCand & | staMuon, |
const TrackingRegion & | region, | ||
const TrackerTopology * | tTopo, | ||
std::vector< TrajectorySeed > & | result | ||
) |
generate seed(s) for a track
Definition at line 48 of file TSGFromPropagation.cc.
References DirectTrackerNavigation::compatibleLayers(), createSeed(), estimator(), PV3DBase< T, PVType, FrameType >::eta(), findMeasurements_new(), TrajectoryStateOnSurface::freeState(), getRescalingFactor(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), i, TrajectoryStateOnSurface::isValid(), LogTrace, oppositeToMomentum, outerTkState(), passSelection(), PV3DBase< T, PVType, FrameType >::perp(), propagator(), edm::OwnVector< T, P >::push_back(), theCategory, theNavigation, theResetMethod, theUpdateStateFlag, TrajectoryStateUpdator::update(), and updator().
|
inlineprivate |
Definition at line 58 of file TSGFromPropagation.h.
References theUpdator.
Referenced by trackerSeeds().
|
private |
select valid measurements
Definition at line 276 of file TSGFromPropagation.cc.
Referenced by findMeasurements(), and findMeasurements_new().
|
private |
Definition at line 335 of file TSGFromPropagation.cc.
References TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), PV3DBase< T, PVType, FrameType >::perp(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by passSelection().
|
private |
Definition at line 155 of file TSGFromPropagation.h.
Referenced by passSelection(), and setEvent().
|
private |
Definition at line 149 of file TSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 156 of file TSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 107 of file TSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 108 of file TSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 110 of file TSGFromPropagation.h.
Referenced by setEvent(), trackerSeeds(), TSGFromPropagation(), and ~TSGFromPropagation().
|
private |
Definition at line 153 of file TSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 147 of file TSGFromPropagation.h.
Referenced by adjust(), init(), and ~TSGFromPropagation().
|
private |
Definition at line 127 of file TSGFromPropagation.h.
Referenced by estimator(), init(), and ~TSGFromPropagation().
|
private |
Definition at line 135 of file TSGFromPropagation.h.
|
private |
Definition at line 133 of file TSGFromPropagation.h.
Referenced by adjust(), getRescalingFactor(), and init().
|
private |
Definition at line 131 of file TSGFromPropagation.h.
Referenced by init().
|
private |
Definition at line 117 of file TSGFromPropagation.h.
Referenced by setEvent().
|
private |
Definition at line 119 of file TSGFromPropagation.h.
Referenced by findMeasurements_new(), and setEvent().
|
private |
Definition at line 116 of file TSGFromPropagation.h.
Referenced by setEvent(), and TSGFromPropagation().
|
private |
Definition at line 118 of file TSGFromPropagation.h.
Referenced by setEvent(), and TSGFromPropagation().
|
private |
Definition at line 121 of file TSGFromPropagation.h.
Referenced by init(), setEvent(), trackerSeeds(), and ~TSGFromPropagation().
|
private |
Definition at line 145 of file TSGFromPropagation.h.
Referenced by init(), and propagator().
|
private |
Definition at line 141 of file TSGFromPropagation.h.
Referenced by adjust(), init(), and trackerSeeds().
|
private |
Definition at line 143 of file TSGFromPropagation.h.
Referenced by init(), and passSelection().
|
private |
Definition at line 123 of file TSGFromPropagation.h.
Referenced by init(), innerState(), outerTkState(), propagator(), and setEvent().
|
private |
Definition at line 151 of file TSGFromPropagation.h.
Referenced by init(), and passSelection().
|
private |
Definition at line 112 of file TSGFromPropagation.h.
Referenced by setEvent(), and tkLayerMeasurements().
|
private |
Definition at line 114 of file TSGFromPropagation.h.
Referenced by init(), and setEvent().
|
private |
Definition at line 129 of file TSGFromPropagation.h.
|
private |
Definition at line 139 of file TSGFromPropagation.h.
Referenced by init(), setEvent(), and trackerSeeds().
|
private |
Definition at line 125 of file TSGFromPropagation.h.
Referenced by init(), updator(), and ~TSGFromPropagation().
|
private |
Definition at line 137 of file TSGFromPropagation.h.
Referenced by init(), and outerTkState().