#include <TSGForRoadSearch.h>
Public Types | |
typedef std::vector< TrajectorySeed > | BTSeedCollection |
typedef std::pair< const Trajectory *, reco::TrackRef > | TrackCand |
Public Types inherited from TrackerSeedGenerator | |
typedef std::vector< TrajectorySeed > | BTSeedCollection |
typedef std::pair< const Trajectory *, reco::TrackRef > | TrackCand |
Public Member Functions | |
void | init (const MuonServiceProxy *service) override |
initialize the service More... | |
void | setEvent (const edm::Event &event) override |
set the event: update the MeasurementTracker More... | |
void | trackerSeeds (const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &) override |
generated seed(s) for a track. the tracking region is not used. More... | |
TSGForRoadSearch (const edm::ParameterSet &pset, edm::ConsumesCollector &IC) | |
~TSGForRoadSearch () override | |
Public Member Functions inherited from TrackerSeedGenerator | |
const edm::Event * | getEvent () const |
TrackerSeedGenerator () | |
virtual | ~TrackerSeedGenerator () |
destructor More... | |
Private Member Functions | |
bool | IPfts (const reco::Track &, FreeTrajectoryState &) |
get the FTS for a Track: adjusting the error matrix if requested More... | |
void | makeSeeds_0 (const reco::Track &, std::vector< TrajectorySeed > &) |
oseed from inside-out: innermost Strip layer More... | |
void | makeSeeds_1 (const reco::Track &, std::vector< TrajectorySeed > &) |
not implemented More... | |
void | makeSeeds_2 (const reco::Track &, std::vector< TrajectorySeed > &) |
not implemented More... | |
void | makeSeeds_3 (const reco::Track &, std::vector< TrajectorySeed > &) |
outside-in: outermost Strip layer More... | |
void | makeSeeds_4 (const reco::Track &, std::vector< TrajectorySeed > &) |
inside-out: innermost Pixel/Strip layer More... | |
bool | notAtIPtsos (TrajectoryStateOnSurface &state) |
make the adjustement away from PCA state if requested More... | |
void | pushTrajectorySeed (const reco::Track &muon, std::vector< DetLayer::DetWithState > &compatible, PropagationDirection direction, std::vector< TrajectorySeed > &result) const |
add the seed(s) to the collection of seeds More... | |
Private Attributes | |
bool | theAdjustAtIp |
adjust the state at IP or where it is defined for the seed More... | |
std::string | theCategory |
Chi2MeasurementEstimator * | theChi2Estimator |
edm::ParameterSet | theConfig |
bool | theCopyMuonRecHit |
MuonErrorMatrix * | theErrorMatrixAdjuster |
edm::ESHandle< GeometricSearchTracker > | theGeometricSearchTracker |
edm::ESGetToken< GeometricSearchTracker, TrackerRecoGeometryRecord > | theGeometricSearchTrackerToken |
bool | theManySeeds |
const MeasurementTrackerEvent * | theMeasurementTrackerEvent |
edm::InputTag | theMeasurementTrackerEventTag |
edm::EDGetTokenT< MeasurementTrackerEvent > | theMeasurementTrackerEventToken |
unsigned int | theOption |
std::string | thePropagatorCompatibleName |
std::string | thePropagatorName |
const MuonServiceProxy * | theProxyService |
TrajectoryStateUpdator * | theUpdator |
Additional Inherited Members | |
Protected Attributes inherited from TrackerSeedGenerator | |
const edm::Event * | theEvent |
const MuonServiceProxy * | theProxyService |
Description: this class generates hit-less TrajectorySeed from a given Track. the original error matrix of the Track is adjusted (configurable). this class is principally used for muon HLT. for options are available:
regular operation is one seed per track, but optionnaly, more than one seed can be madefor one track.
Definition at line 46 of file TSGForRoadSearch.h.
typedef std::vector<TrajectorySeed> TSGForRoadSearch::BTSeedCollection |
Definition at line 48 of file TSGForRoadSearch.h.
typedef std::pair<const Trajectory *, reco::TrackRef> TSGForRoadSearch::TrackCand |
Definition at line 49 of file TSGForRoadSearch.h.
TSGForRoadSearch::TSGForRoadSearch | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | IC | ||
) |
Definition at line 26 of file TSGForRoadSearch.cc.
References Chi2MeasurementEstimator_cfi::Chi2MeasurementEstimator, edm::ConsumesCollector::consumes(), HLT_2024v12_cff::errorMatrixPset, edm::ParameterSet::getParameter(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, theAdjustAtIp, theCategory, theChi2Estimator, theCopyMuonRecHit, theErrorMatrixAdjuster, theManySeeds, theMeasurementTrackerEvent, theMeasurementTrackerEventTag, theMeasurementTrackerEventToken, theOption, thePropagatorCompatibleName, thePropagatorName, and theUpdator.
|
override |
Definition at line 61 of file TSGForRoadSearch.cc.
References theChi2Estimator, theErrorMatrixAdjuster, and theUpdator.
|
overridevirtual |
initialize the service
Reimplemented from TrackerSeedGenerator.
Definition at line 69 of file TSGForRoadSearch.cc.
References theProxyService.
|
private |
get the FTS for a Track: adjusting the error matrix if requested
Definition at line 112 of file TSGForRoadSearch.cc.
References MuonErrorMatrix::adjust(), trajectoryStateTransform::initialFreeState(), LogDebug, MuonServiceProxy::magneticField(), theAdjustAtIp, theCategory, theErrorMatrixAdjuster, and theProxyService.
Referenced by makeSeeds_0(), makeSeeds_3(), and makeSeeds_4().
|
private |
oseed from inside-out: innermost Strip layer
Definition at line 132 of file TSGForRoadSearch.cc.
References alongMomentum, GeometricSearchDet::compatibleDetsV(), SurfaceOrientation::inner, IPfts(), LogDebug, GeometricSearchTracker::negTecLayers(), GeometricSearchTracker::negTidLayers(), notAtIPtsos(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, GeometricSearchTracker::posTecLayers(), GeometricSearchTracker::posTidLayers(), Propagator::propagate(), MuonServiceProxy::propagator(), pushTrajectorySeed(), mps_fire::result, DetLayer::subDetector(), GeomDetEnumerators::subDetGeom, GeomDetEnumerators::TEC, theCategory, theChi2Estimator, theGeometricSearchTracker, thePropagatorCompatibleName, thePropagatorName, theProxyService, GeomDetEnumerators::TIB, GeometricSearchTracker::tibLayers(), GeomDetEnumerators::TID, GeomDetEnumerators::TOB, and z.
Referenced by makeSeeds_4(), and trackerSeeds().
|
private |
not implemented
Definition at line 202 of file TSGForRoadSearch.cc.
References theCategory.
Referenced by trackerSeeds().
|
private |
not implemented
Definition at line 207 of file TSGForRoadSearch.cc.
References theCategory.
Referenced by trackerSeeds().
|
private |
outside-in: outermost Strip layer
Definition at line 215 of file TSGForRoadSearch.cc.
References GeometricSearchDet::compatibleDetsV(), IPfts(), LogDebug, LogTrace, GeometricSearchTracker::negTecLayers(), notAtIPtsos(), oppositeToMomentum, SurfaceOrientation::outer, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, GloballyPositioned< T >::position(), position, GeometricSearchTracker::posTecLayers(), edm::ESHandle< T >::product(), MuonServiceProxy::propagator(), pushTrajectorySeed(), mps_fire::result, DetLayer::subDetector(), GeomDetEnumerators::subDetGeom, GeometricSearchDet::surface(), GeomDetEnumerators::TEC, theCategory, theChi2Estimator, theGeometricSearchTracker, thePropagatorCompatibleName, thePropagatorName, theProxyService, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, GeomDetEnumerators::TOB, GeometricSearchTracker::tobLayers(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by trackerSeeds().
|
private |
inside-out: innermost Pixel/Strip layer
Definition at line 316 of file TSGForRoadSearch.cc.
References alongMomentum, GeometricSearchDet::compatibleDetsV(), SurfaceOrientation::inner, IPfts(), LogDebug, makeSeeds_0(), GeometricSearchTracker::negPixelForwardLayers(), GeometricSearchTracker::negTecLayers(), GeometricSearchTracker::negTidLayers(), notAtIPtsos(), GeomDetEnumerators::PixelBarrel, GeometricSearchTracker::pixelBarrelLayers(), GeomDetEnumerators::PixelEndcap, position, GeometricSearchTracker::posPixelForwardLayers(), GeometricSearchTracker::posTecLayers(), GeometricSearchTracker::posTidLayers(), Propagator::propagate(), MuonServiceProxy::propagator(), pushTrajectorySeed(), mps_fire::result, GeomDetEnumerators::subDetGeom, GeomDetEnumerators::TEC, theCategory, theChi2Estimator, theGeometricSearchTracker, thePropagatorCompatibleName, thePropagatorName, theProxyService, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, GeomDetEnumerators::TOB, and z.
Referenced by trackerSeeds().
|
private |
make the adjustement away from PCA state if requested
Definition at line 103 of file TSGForRoadSearch.cc.
References MuonErrorMatrix::adjust(), LogDebug, theAdjustAtIp, theCategory, and theErrorMatrixAdjuster.
Referenced by makeSeeds_0(), makeSeeds_3(), and makeSeeds_4().
|
private |
add the seed(s) to the collection of seeds
Definition at line 458 of file TSGForRoadSearch.cc.
References edm::OwnVector< T, P >::clear(), MeasurementDetWithData::fastMeasurements(), GeomDet::geographicalId(), MeasurementTrackerEvent::idToDet(), LogDebug, trajectoryStateTransform::persistentState(), MuonServiceProxy::propagator(), edm::OwnVector< T, P >::push_back(), DetId::rawId(), mps_fire::result, theCategory, theChi2Estimator, theCopyMuonRecHit, theManySeeds, theMeasurementTrackerEvent, thePropagatorCompatibleName, theProxyService, theUpdator, createJobs::tmp, and TrajectoryStateUpdator::update().
Referenced by makeSeeds_0(), makeSeeds_3(), and makeSeeds_4().
|
overridevirtual |
set the event: update the MeasurementTracker
Reimplemented from TrackerSeedGenerator.
Definition at line 71 of file TSGForRoadSearch.cc.
References data, MuonServiceProxy::eventSetup(), edm::EventSetup::getHandle(), theGeometricSearchTracker, theGeometricSearchTrackerToken, theMeasurementTrackerEvent, theMeasurementTrackerEventToken, and theProxyService.
|
overridevirtual |
generated seed(s) for a track. the tracking region is not used.
Reimplemented from TrackerSeedGenerator.
Definition at line 80 of file TSGForRoadSearch.cc.
References makeSeeds_0(), makeSeeds_1(), makeSeeds_2(), makeSeeds_3(), makeSeeds_4(), mps_fire::result, and theOption.
|
private |
adjust the state at IP or where it is defined for the seed
Definition at line 83 of file TSGForRoadSearch.h.
Referenced by IPfts(), notAtIPtsos(), and TSGForRoadSearch().
|
private |
Definition at line 108 of file TSGForRoadSearch.h.
Referenced by IPfts(), makeSeeds_0(), makeSeeds_1(), makeSeeds_2(), makeSeeds_3(), makeSeeds_4(), notAtIPtsos(), pushTrajectorySeed(), and TSGForRoadSearch().
|
private |
Definition at line 107 of file TSGForRoadSearch.h.
Referenced by makeSeeds_0(), makeSeeds_3(), makeSeeds_4(), pushTrajectorySeed(), TSGForRoadSearch(), and ~TSGForRoadSearch().
|
private |
Definition at line 90 of file TSGForRoadSearch.h.
|
private |
Definition at line 103 of file TSGForRoadSearch.h.
Referenced by pushTrajectorySeed(), and TSGForRoadSearch().
|
private |
Definition at line 110 of file TSGForRoadSearch.h.
Referenced by IPfts(), notAtIPtsos(), TSGForRoadSearch(), and ~TSGForRoadSearch().
|
private |
Definition at line 92 of file TSGForRoadSearch.h.
Referenced by makeSeeds_0(), makeSeeds_3(), makeSeeds_4(), and setEvent().
|
private |
Definition at line 93 of file TSGForRoadSearch.h.
Referenced by setEvent().
|
private |
Definition at line 104 of file TSGForRoadSearch.h.
Referenced by pushTrajectorySeed(), and TSGForRoadSearch().
|
private |
Definition at line 97 of file TSGForRoadSearch.h.
Referenced by pushTrajectorySeed(), setEvent(), and TSGForRoadSearch().
|
private |
Definition at line 95 of file TSGForRoadSearch.h.
Referenced by TSGForRoadSearch().
|
private |
Definition at line 96 of file TSGForRoadSearch.h.
Referenced by setEvent(), and TSGForRoadSearch().
|
private |
Definition at line 102 of file TSGForRoadSearch.h.
Referenced by trackerSeeds(), and TSGForRoadSearch().
|
private |
Definition at line 106 of file TSGForRoadSearch.h.
Referenced by makeSeeds_0(), makeSeeds_3(), makeSeeds_4(), pushTrajectorySeed(), and TSGForRoadSearch().
|
private |
Definition at line 105 of file TSGForRoadSearch.h.
Referenced by makeSeeds_0(), makeSeeds_3(), makeSeeds_4(), and TSGForRoadSearch().
|
private |
Definition at line 100 of file TSGForRoadSearch.h.
Referenced by init(), IPfts(), makeSeeds_0(), makeSeeds_3(), makeSeeds_4(), pushTrajectorySeed(), and setEvent().
|
private |
Definition at line 99 of file TSGForRoadSearch.h.
Referenced by pushTrajectorySeed(), TSGForRoadSearch(), and ~TSGForRoadSearch().