Functions | |
FreeTrajectoryState | initialFreeState (const reco::Track &tk, const MagneticField *field, bool withErr=true) |
FreeTrajectoryState | innerFreeState (const reco::Track &tk, const MagneticField *field, bool withErr=true) |
TrajectoryStateOnSurface | innerStateOnSurface (const reco::Track &tk, const TrackingGeometry &geom, const MagneticField *field, bool withErr=true) |
FreeTrajectoryState | outerFreeState (const reco::Track &tk, const MagneticField *field, bool withErr=true) |
TrajectoryStateOnSurface | outerStateOnSurface (const reco::Track &tk, const TrackingGeometry &geom, const MagneticField *field, bool withErr=true) |
PTrajectoryStateOnDet | persistentState (const TrajectoryStateOnSurface &ts, unsigned int detid) |
TrajectoryStateOnSurface | transientState (const PTrajectoryStateOnDet &ts, const Surface *surface, const MagneticField *field) |
FreeTrajectoryState trajectoryStateTransform::initialFreeState | ( | const reco::Track & | tk, |
const MagneticField * | field, | ||
bool | withErr = true |
||
) |
Construct a FreeTrajectoryState from the reco::Track innermost or outermost state, does not require access to tracking geometry
Definition at line 69 of file TrajectoryStateTransform.cc.
References reco::TrackBase::charge(), reco::TrackBase::covariance(), reco::TrackBase::momentum(), and reco::TrackBase::vertex().
Referenced by TrackDetectorAssociator::associate(), reco::CandidatePtrTransientTrack::CandidatePtrTransientTrack(), TrackAssociatorByPositionImpl::getState(), reco::GsfTransientTrack::GsfTransientTrack(), TSGForRoadSearch::IPfts(), TSGFromPropagation::outerTkState(), FastTSGFromPropagation::outerTkState(), TSGForOI::produce(), OutsideInMuonSeeder::produce(), MuonErrorMatrixAdjuster::produce(), PropagateToMuon::startingState(), MatcherUsingTracksAlgorithm::startingState(), and reco::TrackTransientTrack::TrackTransientTrack().
FreeTrajectoryState trajectoryStateTransform::innerFreeState | ( | const reco::Track & | tk, |
const MagneticField * | field, | ||
bool | withErr = true |
||
) |
Definition at line 82 of file TrajectoryStateTransform.cc.
References reco::TrackBase::charge(), reco::Track::extra(), reco::Track::innerMomentum(), and reco::Track::innerPosition().
Referenced by BetaCalculatorECAL::addInfoToCandidate(), TrackDetectorAssociator::associate(), innerStateOnSurface(), EgammaHLTPixelMatchElectronAlgo::process(), TSGForOI::produce(), DuplicateTrackMerger::produce(), TrackClusterSplitter::produce(), PropagateToMuon::startingState(), and MatcherUsingTracksAlgorithm::startingState().
TrajectoryStateOnSurface trajectoryStateTransform::innerStateOnSurface | ( | const reco::Track & | tk, |
const TrackingGeometry & | geom, | ||
const MagneticField * | field, | ||
bool | withErr = true |
||
) |
Construct a TrajectoryStateOnSurface from the reco::Track innermost or outermost state, requires access to tracking geometry
Definition at line 110 of file TrajectoryStateTransform.cc.
References reco::Track::extra(), TrackingGeometry::idToDet(), innerFreeState(), and GeomDet::surface().
Referenced by ConversionProducer::checkPhi(), GlobalMuonTrackMatcher::convertToTSOSMuHit(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), OutsideInMuonSeeder::doDebug(), MuonShowerInformationFiller::getCompatibleDets(), NuclearTrackCorrector::getInitialState(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), GlobalTrajectoryBuilderBase::getTransientRecHits(), ConversionSeedFilter::getTSOS(), reco::CandidatePtrTransientTrack::innermostMeasurementState(), reco::TrackTransientTrack::innermostMeasurementState(), TSGFromPropagation::innerState(), FastTSGFromPropagation::innerState(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), GlobalCosmicMuonTrajectoryBuilder::match(), TrackMerger::merge(), OutsideInMuonSeeder::produce(), TkConvValidator::recalculateMomentumAtFittedVertex(), MatcherUsingTracksAlgorithm::targetState(), and GlobalCosmicMuonTrajectoryBuilder::trajectories().
FreeTrajectoryState trajectoryStateTransform::outerFreeState | ( | const reco::Track & | tk, |
const MagneticField * | field, | ||
bool | withErr = true |
||
) |
Definition at line 96 of file TrajectoryStateTransform.cc.
References reco::TrackBase::charge(), reco::Track::extra(), reco::Track::outerMomentum(), and reco::Track::outerPosition().
Referenced by TrackDetectorAssociator::associate(), outerStateOnSurface(), DuplicateTrackMerger::produce(), PropagateToMuon::startingState(), and MatcherUsingTracksAlgorithm::startingState().
TrajectoryStateOnSurface trajectoryStateTransform::outerStateOnSurface | ( | const reco::Track & | tk, |
const TrackingGeometry & | geom, | ||
const MagneticField * | field, | ||
bool | withErr = true |
||
) |
Definition at line 118 of file TrajectoryStateTransform.cc.
References reco::Track::extra(), TrackingGeometry::idToDet(), outerFreeState(), and GeomDet::surface().
Referenced by GlobalMuonTrackMatcher::convertToTSOSMuHit(), GlobalMuonTrackMatcher::convertToTSOSTk(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), MuonShowerInformationFiller::getCompatibleDets(), NuclearTrackCorrector::getInitialState(), ConversionProducer::getTrackImpactPosition(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), GlobalCosmicMuonTrajectoryBuilder::match(), TrackMerger::merge(), reco::CandidatePtrTransientTrack::outermostMeasurementState(), reco::TrackTransientTrack::outermostMeasurementState(), MatcherUsingTracksAlgorithm::targetState(), and GlobalCosmicMuonTrajectoryBuilder::trajectories().
PTrajectoryStateOnDet trajectoryStateTransform::persistentState | ( | const TrajectoryStateOnSurface & | ts, |
unsigned int | detid | ||
) |
should check if corresponds to m
should check if corresponds to m
Definition at line 16 of file TrajectoryStateTransform.cc.
References cond::rpcobgas::detid, TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::hasError(), i, j, relval_steps::k, TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), contentValuesFiles::m, LocalTrajectoryError::matrix(), PV3DBase< T, PVType, FrameType >::perp(), EnergyCorrector::pt, and TrajectoryStateOnSurface::surfaceSide().
Referenced by SiStripElectronSeedGenerator::altCheckHitsAndTSOS(), SeedFromGenericPairOrTriplet::buildSeed(), SeedFromConsecutiveHitsCreator::buildSeed(), SeedForPhotonConversion1Leg::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), SiStripElectronSeedGenerator::checkHitsAndTSOS(), SeedFromNuclearInteraction::construct(), RPCSeedPattern::createFakeSeed(), MuonSeedFromRecHits::createSeed(), MuonSeedCreator::createSeed(), RPCSeedPattern::createSeed(), OutInConversionSeedFinder::createSeed(), TSGFromPropagation::createSeed(), InOutConversionSeedFinder::createSeed(), FastTSGFromPropagation::createSeed(), OutsideInMuonSeeder::doLayer(), SiStripElectronAlgo::findElectron(), TSGForOI::findSeedsOnLayer(), SeedFromProtoTrack::init(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), CosmicSeedCreator::makeSeed(), SETSeedFinder::makeSeed(), TSGForOI::makeSeedsFromHits(), TrackMerger::merge(), GlobalTrackerMuonAlignment::muonFitter(), ElectronSeedGenerator::prepareElTrackSeed(), FastElectronSeedGenerator::prepareElTrackSeed(), MuonReSeeder::produce(), SETMuonSeedProducer::produce(), TrackCandidateProducer::produce(), TrajectorySeedFromMuonProducer::produce(), ConvBremSeedProducer::produce(), L2MuonSeedGenerator::produce(), TrackerToMuonPropagator::produce(), CSCOverlapsTrackPreparation::produce(), cms::CosmicTrackFinder::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), TSGForRoadSearch::pushTrajectorySeed(), TrackInfoProducerAlgorithm::run(), SeedGeneratorForCRack::seeds(), SeedGeneratorForCosmics::seeds(), SimpleCosmicBONSeeder::seeds(), GlobalTrackerMuonAlignment::trackFitter(), InOutConversionTrackFinder::tracks(), OutInConversionTrackFinder::tracks(), StandAloneMuonTrajectoryBuilder::trajectories(), and CosmicMuonSeedGenerator::tsosToSeed().
TrajectoryStateOnSurface trajectoryStateTransform::transientState | ( | const PTrajectoryStateOnDet & | ts, |
const Surface * | surface, | ||
const MagneticField * | field | ||
) |
Definition at line 44 of file TrajectoryStateTransform.cc.
References PTrajectoryStateOnDet::error(), PTrajectoryStateOnDet::hasError(), i, j, relval_steps::k, contentValuesFiles::m, PTrajectoryStateOnDet::parameters(), and PTrajectoryStateOnDet::surfaceSide().
Referenced by TrackerSeedValidator::analyze(), TrackBuildingAnalyzer::analyze(), ElectronSeedAnalyzer::analyze(), MuonSeedsAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), SeedMultiplicityAnalyzer::analyze(), TrackerSeedCleaner::clean(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), BaseCkfTrajectoryBuilder::findStateAndLayers(), MuonSeedTrack::getSeedTSOS(), MuonTrackAnalyzer::getSeedTSOS(), ConversionSeedFilter::getTSOS(), CtfSpecialSeedGenerator::postCheck(), TrackProducerWithSCAssociation::produce(), ConversionSeedFilterCharge::produce(), FakeTrackProducer< T >::produce(), BaseCkfTrajectoryBuilder::seedMeasurements(), MuonSeedCleaner::SeedMomentum(), MuonSeedCleaner::SeedPosition(), SeedTransformer::seedTransientState(), SeedToTrackProducer::seedTransientState(), StartingLayerFinder::startingLayers(), CosmicTrajectoryBuilder::startingTSOS(), CRackTrajectoryBuilder::startingTSOS(), FastTSGFromPropagation::trackerSeeds(), and CosmicMuonTrajectoryBuilder::trajectories().