#include <HICTrajectoryBuilder.h>
Public Types | |
typedef std::vector < TempTrajectory > | TempTrajectoryContainer |
typedef std::vector< Trajectory > | TrajectoryContainer |
Public Types inherited from BaseCkfTrajectoryBuilder | |
typedef std::vector < TempTrajectory > | TempTrajectoryContainer |
typedef std::vector< Trajectory > | TrajectoryContainer |
typedef TrajectoryContainer::iterator | TrajectoryIterator |
Public Types inherited from TrajectoryBuilder | |
typedef std::vector< Trajectory > | TrajectoryContainer |
typedef TrajectoryContainer::iterator | TrajectoryIterator |
Public Member Functions | |
HICTrajectoryBuilder (const edm::ParameterSet &conf, const edm::EventSetup &es, const TrajectoryStateUpdator *updator, const Propagator *propagatorAlong, const Propagator *propagatorOpposite, const Chi2MeasurementEstimatorBase *estimator, const TransientTrackingRecHitBuilder *RecHitBuilder, const MeasurementTracker *measurementTracker, const TrajectoryFilter *filter) | |
virtual void | setEvent (const edm::Event &event) const |
set Event for the internal MeasurementTracker data member More... | |
virtual void | settracker (const MeasurementTracker *measurementTracker) |
virtual TrajectoryContainer | trajectories (const TrajectorySeed &seed) const |
trajectories building starting from a seed More... | |
~HICTrajectoryBuilder () | |
Public Member Functions inherited from BaseCkfTrajectoryBuilder | |
BaseCkfTrajectoryBuilder (const edm::ParameterSet &conf, const TrajectoryStateUpdator *updator, const Propagator *propagatorAlong, const Propagator *propagatorOpposite, const Chi2MeasurementEstimatorBase *estimator, const TransientTrackingRecHitBuilder *RecHitBuilder, const MeasurementTracker *measurementTracker, const TrajectoryFilter *filter, const TrajectoryFilter *inOutFilter=0) | |
virtual void | setDebugger (CkfDebugger *dbg) const |
virtual void | unset () const |
virtual | ~BaseCkfTrajectoryBuilder () |
Public Member Functions inherited from TrajectoryBuilder | |
virtual void | rebuildSeedingRegion (const TrajectorySeed &, TrajectoryContainer &result) const |
virtual void | trajectories (const TrajectorySeed &seed, TrajectoryContainer &out) const |
virtual | ~TrajectoryBuilder () |
Protected Types | |
typedef TrajectoryMeasurement | TM |
typedef TrajectoryStateOnSurface | TSOS |
Protected Types inherited from BaseCkfTrajectoryBuilder | |
typedef FreeTrajectoryState | FTS |
typedef std::pair< TSOS, std::vector< const DetLayer * > > | StateAndLayers |
typedef TrajectoryMeasurement | TM |
typedef TrajectoryStateOnSurface | TSOS |
Private Member Functions | |
void | addToResult (TempTrajectory &traj, TrajectoryContainer &result) const |
TempTrajectory | createStartingTrajectory (const TrajectorySeed &seed) const |
std::vector < TrajectoryMeasurement > | findCompatibleMeasurements (const TempTrajectory &traj) const |
void | limitedCandidates (TempTrajectory &startingTraj, TrajectoryContainer &result) const |
bool | qualityFilter (const TempTrajectory &traj) const |
std::vector < TrajectoryMeasurement > | seedMeasurements (const TrajectorySeed &seed) const |
bool | toBeContinued (const TempTrajectory &traj) const |
bool | updateTrajectory (TempTrajectory &traj, const TM &tm) const |
Private Attributes | |
edm::ESHandle < GlobalTrackingGeometry > | globTkGeomHandle |
bool | theAlwaysUseInvalidHits |
const Propagator * | theBackwardPropagator |
const Chi2MeasurementEstimatorBase * | theEstimator |
edm::ESHandle< TrajectoryFitter > | theFitterTrack |
const Propagator * | theForwardPropagator |
cms::HICConst * | theHICConst |
bool | theIntermediateCleaning |
const LayerMeasurements * | theLayerMeasurements |
float | theLostHitPenalty |
int | theMaxCand |
int | theMaxConsecLostHit |
TrajectoryFilter * | theMaxHitsCondition |
int | theMaxLostHit |
const MeasurementTracker * | theMeasurementTracker |
int | theMinimumNumberOfHits |
TrajectoryFilter * | theMinPtCondition |
const Propagator * | thePropagatorAlong |
const Propagator * | thePropagatorOpposite |
edm::ESHandle< Propagator > | thePropagatorTrack |
edm::ESHandle< TrajectorySmoother > | theSmootherTrack |
const TransientTrackingRecHitBuilder * | theTTRHBuilder |
const TrajectoryStateUpdator * | theUpdator |
Definition at line 40 of file HICTrajectoryBuilder.h.
typedef std::vector<TempTrajectory> HICTrajectoryBuilder::TempTrajectoryContainer |
Definition at line 49 of file HICTrajectoryBuilder.h.
|
protected |
Definition at line 44 of file HICTrajectoryBuilder.h.
typedef std::vector<Trajectory> HICTrajectoryBuilder::TrajectoryContainer |
Definition at line 48 of file HICTrajectoryBuilder.h.
|
protected |
Definition at line 43 of file HICTrajectoryBuilder.h.
HICTrajectoryBuilder::HICTrajectoryBuilder | ( | const edm::ParameterSet & | conf, |
const edm::EventSetup & | es, | ||
const TrajectoryStateUpdator * | updator, | ||
const Propagator * | propagatorAlong, | ||
const Propagator * | propagatorOpposite, | ||
const Chi2MeasurementEstimatorBase * | estimator, | ||
const TransientTrackingRecHitBuilder * | RecHitBuilder, | ||
const MeasurementTracker * | measurementTracker, | ||
const TrajectoryFilter * | filter | ||
) |
Definition at line 46 of file HICTrajectoryBuilder.cc.
References gather_cfg::cout, edm::EventSetup::get(), globTkGeomHandle, theAlwaysUseInvalidHits, theFitterTrack, theIntermediateCleaning, theLostHitPenalty, theMaxCand, theMaxConsecLostHit, theMaxLostHit, theMinimumNumberOfHits, thePropagatorTrack, and theSmootherTrack.
HICTrajectoryBuilder::~HICTrajectoryBuilder | ( | ) |
Definition at line 84 of file HICTrajectoryBuilder.cc.
References theLayerMeasurements.
|
private |
Definition at line 418 of file HICTrajectoryBuilder.cc.
References TempTrajectory::toTrajectory().
Referenced by limitedCandidates().
|
private |
Definition at line 128 of file HICTrajectoryBuilder.cc.
References gather_cfg::cout, TrajectorySeed::direction(), i, oppositeToMomentum, TempTrajectory::push(), query::result, seedMeasurements(), theBackwardPropagator, and theForwardPropagator.
Referenced by trajectories().
|
private |
Definition at line 528 of file HICTrajectoryBuilder.cc.
References abs, accept(), GeomDetEnumerators::barrel, GlobalTrajectoryParameters::charge(), HICMeasurementEstimator::chooseCuts(), HICTrajectoryCorrector::correct(), gather_cfg::cout, TempTrajectory::direction(), GeomDetEnumerators::endcap, HICMeasurementEstimator::estimate(), TrajectoryMeasurement::estimate(), first, TrajectoryStateOnSurface::freeTrajectoryState(), cmsutils::bqueue< T >::front(), HICMeasurementEstimator::getField(), TrajectoryStateOnSurface::isValid(), TempTrajectory::lastLayer(), Trajectory::lastMeasurement(), TempTrajectory::lastMeasurement(), TrajectoryMeasurement::layer(), DetLayer::location(), LayerMeasurements::measurements(), Trajectory::measurements(), TempTrajectory::measurements(), GlobalTrajectoryParameters::momentum(), DetLayer::nextLayers(), FreeTrajectoryState::parameters(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), GeomDetEnumerators::PixelEndcap, GlobalTrajectoryParameters::position(), TrajectoryMeasurement::predictedState(), TrajectoryMeasurement::recHit(), query::result, HICMeasurementEstimator::setCuts(), python.multivaluedict::sort(), GeomDetEnumerators::TEC, theEstimator, theForwardPropagator, theHICConst, theLayerMeasurements, GeomDetEnumerators::TID, tmp, TempTrajectory::toTrajectory(), TrajectoryMeasurement::updatedState(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by limitedCandidates().
|
private |
Definition at line 159 of file HICTrajectoryBuilder.cc.
References addToResult(), gather_cfg::cout, findCompatibleMeasurements(), TempTrajectory::measurements(), qualityFilter(), HICMeasurementEstimator::setSign(), cmsutils::bqueue< T >::size(), theEstimator, theMaxCand, toBeContinued(), and updateTrajectory().
Referenced by trajectories().
|
private |
Definition at line 282 of file HICTrajectoryBuilder.cc.
References alongMomentum, FreeTrajectoryState::charge(), TempTrajectory::chiSquared(), gather_cfg::cout, Trajectory::direction(), Trajectory::firstMeasurement(), TempTrajectory::foundHits(), TrajectoryStateOnSurface::freeState(), TrajectoryStateOnSurface::freeTrajectoryState(), insideOut, TrajectoryStateClosestToBeamLine::isValid(), TrajectoryStateOnSurface::isValid(), Trajectory::lastMeasurement(), makeMuonMisalignmentScenario::matrix, Trajectory::measurements(), FreeTrajectoryState::momentum(), outsideIn, PV3DBase< T, PVType, FrameType >::perp(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, pos, FreeTrajectoryState::position(), Trajectory::recHits(), theFitterTrack, theHICConst, theMinimumNumberOfHits, TempTrajectory::toTrajectory(), TrajectoryStateClosestToBeamLine::trackStateAtPCA(), trajectories(), TrajectoryMeasurement::updatedState(), v, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and cms::HICConst::zvert.
Referenced by limitedCandidates().
|
private |
Definition at line 261 of file HICTrajectoryBuilder.cc.
References gather_cfg::cout, cms::DiMuonTrajectorySeed::measurements(), query::result, and errorMatrix2Lands_multiChannel::start.
Referenced by createStartingTrajectory().
|
virtual |
set Event for the internal MeasurementTracker data member
Reimplemented from BaseCkfTrajectoryBuilder.
Definition at line 91 of file HICTrajectoryBuilder.cc.
References theMeasurementTracker.
|
inlinevirtual |
Definition at line 72 of file HICTrajectoryBuilder.h.
References theMeasurementTracker.
|
private |
Definition at line 496 of file HICTrajectoryBuilder.cc.
References Trajectory::lost(), TempTrajectory::lostHits(), TempTrajectory::measurements(), cmsutils::bqueue< T >::rbegin(), cmsutils::bqueue< T >::rend(), theMaxConsecLostHit, and theMaxLostHit.
Referenced by limitedCandidates().
|
virtual |
trajectories building starting from a seed
limitedCandidates( startingTraj, regionalCondition, result); FIXME: restore regionalCondition
Implements BaseCkfTrajectoryBuilder.
Definition at line 97 of file HICTrajectoryBuilder.cc.
References gather_cfg::cout, createStartingTrajectory(), TempTrajectory::empty(), HICMeasurementEstimator::getHICConst(), limitedCandidates(), query::result, theEstimator, and theHICConst.
Referenced by qualityFilter().
|
private |
Definition at line 425 of file HICTrajectoryBuilder.cc.
References accept(), FreeTrajectoryState::charge(), HICMeasurementEstimator::chooseCuts(), gather_cfg::cout, TrajectoryStateOnSurface::curvilinearError(), HICMeasurementEstimator::estimate(), TrajectoryMeasurement::estimate(), first, TrajectoryStateOnSurface::freeTrajectoryState(), HICMeasurementEstimator::getField(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TempTrajectory::lastMeasurement(), TrajectoryMeasurement::layer(), TrajectoryStateOnSurface::magneticField(), FreeTrajectoryState::momentum(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), FreeTrajectoryState::position(), TrajectoryMeasurement::predictedState(), TempTrajectory::push(), TrajectoryMeasurement::recHit(), HICMeasurementEstimator::setCuts(), TrajectoryStateOnSurface::surface(), theEstimator, theHICConst, tmp, TempTrajectory::toTrajectory(), HICMuonUpdator::update(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by limitedCandidates().
|
private |
Definition at line 82 of file HICTrajectoryBuilder.h.
Referenced by HICTrajectoryBuilder().
|
private |
Definition at line 107 of file HICTrajectoryBuilder.h.
Referenced by HICTrajectoryBuilder().
|
mutableprivate |
Definition at line 93 of file HICTrajectoryBuilder.h.
Referenced by createStartingTrajectory().
|
private |
Definition at line 78 of file HICTrajectoryBuilder.h.
Referenced by findCompatibleMeasurements(), limitedCandidates(), trajectories(), and updateTrajectory().
|
private |
Definition at line 83 of file HICTrajectoryBuilder.h.
Referenced by HICTrajectoryBuilder(), and qualityFilter().
|
mutableprivate |
Definition at line 92 of file HICTrajectoryBuilder.h.
Referenced by createStartingTrajectory(), and findCompatibleMeasurements().
|
mutableprivate |
Definition at line 80 of file HICTrajectoryBuilder.h.
Referenced by findCompatibleMeasurements(), qualityFilter(), trajectories(), and updateTrajectory().
|
private |
Tells whether an intermediary cleaning stage should take place during TB.
Definition at line 104 of file HICTrajectoryBuilder.h.
Referenced by HICTrajectoryBuilder().
|
private |
Definition at line 89 of file HICTrajectoryBuilder.h.
Referenced by findCompatibleMeasurements(), and ~HICTrajectoryBuilder().
|
private |
Chi**2 Penalty for each lost hit.
Definition at line 103 of file HICTrajectoryBuilder.h.
Referenced by HICTrajectoryBuilder().
|
private |
Maximum number of trajectory candidates
to propagate to the next layer.
Definition at line 98 of file HICTrajectoryBuilder.h.
Referenced by HICTrajectoryBuilder(), and limitedCandidates().
|
private |
Maximum number of consecutive lost hits per trajectory candidate.
Definition at line 101 of file HICTrajectoryBuilder.h.
Referenced by HICTrajectoryBuilder(), and toBeContinued().
|
private |
Definition at line 96 of file HICTrajectoryBuilder.h.
|
private |
Maximum number of lost hits per trajectory candidate.
Definition at line 100 of file HICTrajectoryBuilder.h.
Referenced by HICTrajectoryBuilder(), and toBeContinued().
|
private |
Definition at line 88 of file HICTrajectoryBuilder.h.
Referenced by setEvent(), and settracker().
|
private |
Minimum number of hits for a trajectory to be returned.
Definition at line 106 of file HICTrajectoryBuilder.h.
Referenced by HICTrajectoryBuilder(), and qualityFilter().
|
private |
Definition at line 95 of file HICTrajectoryBuilder.h.
|
private |
Definition at line 76 of file HICTrajectoryBuilder.h.
|
private |
Definition at line 77 of file HICTrajectoryBuilder.h.
|
private |
Definition at line 85 of file HICTrajectoryBuilder.h.
Referenced by HICTrajectoryBuilder().
|
private |
Definition at line 84 of file HICTrajectoryBuilder.h.
Referenced by HICTrajectoryBuilder().
|
private |
Definition at line 87 of file HICTrajectoryBuilder.h.
|
private |
Definition at line 75 of file HICTrajectoryBuilder.h.