#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) |
initialize the service More... | |
void | setEvent (const edm::Event &event) |
set the event: update the MeasurementTracker More... | |
void | trackerSeeds (const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &) |
generated seed(s) for a track. the tracking region is not used. More... | |
TSGForRoadSearch (const edm::ParameterSet &pset, edm::ConsumesCollector &IC) | |
virtual | ~TSGForRoadSearch () |
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 |
bool | theManySeeds |
edm::ESHandle< MeasurementTracker > | theMeasurementTracker |
const MeasurementTrackerEvent * | theMeasurementTrackerEvent |
edm::InputTag | theMeasurementTrackerEventTag |
edm::EDGetTokenT < MeasurementTrackerEvent > | theMeasurementTrackerEventToken |
unsigned int | theOption |
edm::ESHandle< Propagator > | theProp |
std::string | thePropagatorCompatibleName |
std::string | thePropagatorName |
edm::ESHandle< Propagator > | thePropCompatible |
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 49 of file TSGForRoadSearch.h.
typedef std::pair<const Trajectory*, reco::TrackRef> TSGForRoadSearch::TrackCand |
Definition at line 50 of file TSGForRoadSearch.h.
TSGForRoadSearch::TSGForRoadSearch | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | IC | ||
) |
Definition at line 28 of file TSGForRoadSearch.cc.
References Chi2MeasurementEstimatorESProducer_cfi::Chi2MeasurementEstimator, edm::ConsumesCollector::consumes(), edm::ParameterSet::empty(), edm::ParameterSet::getParameter(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, theAdjustAtIp, theCategory, theChi2Estimator, theCopyMuonRecHit, theErrorMatrixAdjuster, theManySeeds, theMeasurementTrackerEvent, theMeasurementTrackerEventTag, theMeasurementTrackerEventToken, theOption, thePropagatorCompatibleName, thePropagatorName, and theUpdator.
|
virtual |
Definition at line 59 of file TSGForRoadSearch.cc.
References theChi2Estimator, theErrorMatrixAdjuster, and theUpdator.
|
virtual |
initialize the service
Reimplemented from TrackerSeedGenerator.
Definition at line 66 of file TSGForRoadSearch.cc.
References theProxyService.
|
private |
get the FTS for a Track: adjusting the error matrix if requested
Definition at line 110 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 127 of file TSGForRoadSearch.cc.
References alongMomentum, GeometricSearchDet::compatibleDetsV(), TrajectoryStateOnSurface::globalPosition(), SurfaceOrientation::inner, IPfts(), TrajectoryStateOnSurface::isValid(), LogDebug, notAtIPtsos(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, MuonServiceProxy::propagator(), pushTrajectorySeed(), DetLayer::subDetector(), GeomDetEnumerators::TEC, theCategory, theChi2Estimator, theGeometricSearchTracker, thePropagatorCompatibleName, thePropagatorName, theProxyService, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, GeomDetEnumerators::TOB, detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by makeSeeds_4(), and trackerSeeds().
|
private |
not implemented
Definition at line 189 of file TSGForRoadSearch.cc.
References theCategory.
Referenced by trackerSeeds().
|
private |
not implemented
Definition at line 194 of file TSGForRoadSearch.cc.
References theCategory.
Referenced by trackerSeeds().
|
private |
outside-in: outermost Strip layer
Definition at line 202 of file TSGForRoadSearch.cc.
References GeometricSearchDet::compatibleDetsV(), IPfts(), LogDebug, LogTrace, notAtIPtsos(), oppositeToMomentum, SurfaceOrientation::outer, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, GloballyPositioned< T >::position(), position, edm::ESHandle< class >::product(), MuonServiceProxy::propagator(), pushTrajectorySeed(), DetLayer::subDetector(), GeometricSearchDet::surface(), GeomDetEnumerators::TEC, theCategory, theChi2Estimator, theGeometricSearchTracker, thePropagatorCompatibleName, thePropagatorName, theProxyService, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, GeomDetEnumerators::TOB, detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by trackerSeeds().
|
private |
inside-out: innermost Pixel/Strip layer
Definition at line 293 of file TSGForRoadSearch.cc.
References alongMomentum, prof2calltree::back, GeometricSearchDet::compatibleDetsV(), prof2calltree::front, TrajectoryStateOnSurface::globalPosition(), SurfaceOrientation::inner, IPfts(), TrajectoryStateOnSurface::isValid(), LogDebug, makeSeeds_0(), notAtIPtsos(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, position, MuonServiceProxy::propagator(), pushTrajectorySeed(), GeomDetEnumerators::TEC, theCategory, theChi2Estimator, theGeometricSearchTracker, thePropagatorCompatibleName, thePropagatorName, theProxyService, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, GeomDetEnumerators::TOB, detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by trackerSeeds().
|
private |
make the adjustement away from PCA state if requested
Definition at line 101 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 408 of file TSGForRoadSearch.cc.
References edm::OwnVector< T, P >::clear(), MeasurementDetWithData::fastMeasurements(), GeomDet::geographicalId(), MeasurementTrackerEvent::idToDet(), LogDebug, popcon2dropbox_job_conf::md, trajectoryStateTransform::persistentState(), MuonServiceProxy::propagator(), edm::OwnVector< T, P >::push_back(), DetId::rawId(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), reco::Track::recHitsSize(), theCategory, theChi2Estimator, theCopyMuonRecHit, theManySeeds, theMeasurementTrackerEvent, thePropagatorCompatibleName, theProxyService, theUpdator, tmp, and TrajectoryStateUpdator::update().
Referenced by makeSeeds_0(), makeSeeds_3(), and makeSeeds_4().
|
virtual |
set the event: update the MeasurementTracker
Reimplemented from TrackerSeedGenerator.
Definition at line 70 of file TSGForRoadSearch.cc.
References data, MuonServiceProxy::eventSetup(), edm::EventSetup::get(), edm::ESHandleBase::isValid(), theCategory, theGeometricSearchTracker, theManySeeds, theMeasurementTracker, theMeasurementTrackerEvent, theMeasurementTrackerEventToken, and theProxyService.
|
virtual |
generated seed(s) for a track. the tracking region is not used.
Reimplemented from TrackerSeedGenerator.
Definition at line 85 of file TSGForRoadSearch.cc.
References makeSeeds_0(), makeSeeds_1(), makeSeeds_2(), makeSeeds_3(), makeSeeds_4(), and theOption.
|
private |
adjust the state at IP or where it is defined for the seed
Definition at line 84 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(), setEvent(), 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 88 of file TSGForRoadSearch.h.
|
private |
Definition at line 101 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 91 of file TSGForRoadSearch.h.
Referenced by makeSeeds_0(), makeSeeds_3(), makeSeeds_4(), and setEvent().
|
private |
Definition at line 102 of file TSGForRoadSearch.h.
Referenced by pushTrajectorySeed(), setEvent(), and TSGForRoadSearch().
|
private |
Definition at line 90 of file TSGForRoadSearch.h.
Referenced by setEvent().
|
private |
Definition at line 95 of file TSGForRoadSearch.h.
Referenced by pushTrajectorySeed(), setEvent(), and TSGForRoadSearch().
|
private |
Definition at line 93 of file TSGForRoadSearch.h.
Referenced by TSGForRoadSearch().
|
private |
Definition at line 94 of file TSGForRoadSearch.h.
Referenced by setEvent(), and TSGForRoadSearch().
|
private |
Definition at line 100 of file TSGForRoadSearch.h.
Referenced by trackerSeeds(), and TSGForRoadSearch().
|
private |
Definition at line 104 of file TSGForRoadSearch.h.
|
private |
Definition at line 105 of file TSGForRoadSearch.h.
Referenced by makeSeeds_0(), makeSeeds_3(), makeSeeds_4(), pushTrajectorySeed(), and TSGForRoadSearch().
|
private |
Definition at line 103 of file TSGForRoadSearch.h.
Referenced by makeSeeds_0(), makeSeeds_3(), makeSeeds_4(), and TSGForRoadSearch().
|
private |
Definition at line 106 of file TSGForRoadSearch.h.
|
private |
Definition at line 98 of file TSGForRoadSearch.h.
Referenced by init(), IPfts(), makeSeeds_0(), makeSeeds_3(), makeSeeds_4(), pushTrajectorySeed(), and setEvent().
|
private |
Definition at line 97 of file TSGForRoadSearch.h.
Referenced by pushTrajectorySeed(), TSGForRoadSearch(), and ~TSGForRoadSearch().