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(), pat::PATIsolatedTrackProducer::getTrackDetMatchInfo(), 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(), 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(), TSGForOI::produce(), 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(), 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(), HGCalTrackCollectionProducer::produce(), 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 TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::hasError(), mps_fire::i, gen::k, TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), funct::m, LocalTrajectoryError::matrix(), PV3DBase< T, PVType, FrameType >::perp(), EnergyCorrector::pt, and TrajectoryStateOnSurface::surfaceSide().
Referenced by SiStripElectronSeedGenerator::altCheckHitsAndTSOS(), SeedFromGenericPairOrTriplet::buildSeed(), SeedForPhotonConversion1Leg::buildSeed(), SeedFromConsecutiveHitsCreator::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(), MuonReSeeder::produce(), SETMuonSeedProducer::produce(), TrackCandidateProducer::produce(), TrajectorySeedFromMuonProducer::produce(), ConvBremSeedProducer::produce(), L2MuonSeedGeneratorFromL1T::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(), mps_fire::i, gen::k, funct::m, PTrajectoryStateOnDet::parameters(), and PTrajectoryStateOnDet::surfaceSide().
Referenced by ElectronSeedAnalyzer::analyze(), TrackBuildingAnalyzer::analyze(), MuonSeedsAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), SeedMultiplicityAnalyzer::analyze(), TrackerSeedCleaner::clean(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), BaseCkfTrajectoryBuilder::findStateAndLayers(), MuonSeedTrack::getSeedTSOS(), MuonTrackAnalyzer::getSeedTSOS(), ConversionSeedFilter::getTSOS(), SeedMatcher::matchRecHitCombinations(), CtfSpecialSeedGenerator::postCheck(), TrackProducerWithSCAssociation::produce(), ConversionSeedFilterCharge::produce(), FakeTrackProducer< T >::produce(), TrackCandidateProducer::produce(), TrackFromSeedProducer::produce(), BaseCkfTrajectoryBuilder::seedMeasurements(), MuonSeedCleaner::SeedMomentum(), MuonSeedCleaner::SeedPosition(), SeedTransformer::seedTransientState(), SeedToTrackProducer::seedTransientState(), StartingLayerFinder::startingLayers(), CosmicTrajectoryBuilder::startingTSOS(), CRackTrajectoryBuilder::startingTSOS(), FastTSGFromPropagation::trackerSeeds(), and CosmicMuonTrajectoryBuilder::trajectories().