#include <TrajectoryStateTransform.h>
Public Member Functions | |
FreeTrajectoryState | initialFreeState (const reco::Track &tk, const MagneticField *field) const |
FreeTrajectoryState | innerFreeState (const reco::Track &tk, const MagneticField *field) const |
TrajectoryStateOnSurface | innerStateOnSurface (const reco::Track &tk, const TrackingGeometry &geom, const MagneticField *field) const |
FreeTrajectoryState | outerFreeState (const reco::Track &tk, const MagneticField *field) const |
TrajectoryStateOnSurface | outerStateOnSurface (const reco::Track &tk, const TrackingGeometry &geom, const MagneticField *field) const |
PTrajectoryStateOnDet * | persistentState (const TrajectoryStateOnSurface &ts, unsigned int detid) const |
TrajectoryStateOnSurface | transientState (const PTrajectoryStateOnDet &ts, const Surface *surface, const MagneticField *field) const |
Definition at line 13 of file TrajectoryStateTransform.h.
FreeTrajectoryState TrajectoryStateTransform::initialFreeState | ( | const reco::Track & | tk, |
const MagneticField * | field | ||
) | const |
Construct a FreeTrajectoryState from the reco::Track innermost or outermost state, does not require access to tracking geometry
Definition at line 57 of file TrajectoryStateTransform.cc.
References reco::TrackBase::charge(), reco::TrackBase::covariance(), reco::TrackBase::momentum(), Gflash::par, pos, and reco::TrackBase::vertex().
Referenced by TrackDetectorAssociator::associate(), V0Fitter::fitAll(), reco::GsfTransientTrack::GsfTransientTrack(), TSGForRoadSearch::IPfts(), TSGFromPropagation::outerTkState(), FastTSGFromPropagation::outerTkState(), MuonTrackingRegionBuilder::region(), PropagateToMuon::startingState(), and reco::TrackTransientTrack::TrackTransientTrack().
FreeTrajectoryState TrajectoryStateTransform::innerFreeState | ( | const reco::Track & | tk, |
const MagneticField * | field | ||
) | const |
Definition at line 69 of file TrajectoryStateTransform.cc.
References reco::TrackBase::charge(), reco::Track::extra(), reco::Track::innerMomentum(), reco::Track::innerPosition(), Gflash::par, and pos.
Referenced by BetaCalculatorECAL::addInfoToCandidate(), TrackDetectorAssociator::associate(), EgammaHLTPixelMatchElectronAlgo::process(), and PropagateToMuon::startingState().
TrajectoryStateOnSurface TrajectoryStateTransform::innerStateOnSurface | ( | const reco::Track & | tk, |
const TrackingGeometry & | geom, | ||
const MagneticField * | field | ||
) | const |
Construct a TrajectoryStateOnSurface from the reco::Track innermost or outermost state, requires access to tracking geometry
Definition at line 95 of file TrajectoryStateTransform.cc.
References reco::Track::extra(), TrackingGeometry::idToDet(), and GeomDet::surface().
Referenced by TrackerOnlyConversionProducer::checkPhi(), GlobalMuonTrackMatcher::convertToTSOSMuHit(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), MuonShowerInformationFiller::getCompatibleDets(), NuclearTrackCorrector::getInitialState(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), GlobalTrajectoryBuilderBase::getTransientRecHits(), reco::TrackTransientTrack::innermostMeasurementState(), TSGFromPropagation::innerState(), FastTSGFromPropagation::innerState(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), GlobalCosmicMuonTrajectoryBuilder::match(), TkConvValidator::recalculateMomentumAtFittedVertex(), and GlobalCosmicMuonTrajectoryBuilder::trajectories().
FreeTrajectoryState TrajectoryStateTransform::outerFreeState | ( | const reco::Track & | tk, |
const MagneticField * | field | ||
) | const |
Definition at line 82 of file TrajectoryStateTransform.cc.
References reco::TrackBase::charge(), reco::Track::extra(), reco::Track::outerMomentum(), reco::Track::outerPosition(), Gflash::par, and pos.
Referenced by TrackDetectorAssociator::associate(), and PropagateToMuon::startingState().
TrajectoryStateOnSurface TrajectoryStateTransform::outerStateOnSurface | ( | const reco::Track & | tk, |
const TrackingGeometry & | geom, | ||
const MagneticField * | field | ||
) | const |
Definition at line 103 of file TrajectoryStateTransform.cc.
References reco::Track::extra(), TrackingGeometry::idToDet(), and GeomDet::surface().
Referenced by GlobalMuonTrackMatcher::convertToTSOSMuHit(), GlobalMuonTrackMatcher::convertToTSOSTk(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), MuonShowerInformationFiller::getCompatibleDets(), NuclearTrackCorrector::getInitialState(), TrackerOnlyConversionProducer::getTrackImpactPosition(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), GlobalCosmicMuonTrajectoryBuilder::match(), reco::TrackTransientTrack::outermostMeasurementState(), and GlobalCosmicMuonTrajectoryBuilder::trajectories().
PTrajectoryStateOnDet * TrajectoryStateTransform::persistentState | ( | const TrajectoryStateOnSurface & | ts, |
unsigned int | detid | ||
) | const |
should check if corresponds to m
Definition at line 13 of file TrajectoryStateTransform.cc.
References cond::rpcobgas::detid, i, j, gen::k, TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), m, LocalTrajectoryError::matrix(), and TrajectoryStateOnSurface::surfaceSide().
Referenced by SiStripElectronSeedGenerator::altCheckHitsAndTSOS(), SeedFromConsecutiveHitsCreator::buildSeed(), SeedFromGenericPairOrTriplet::buildSeed(), SiStripElectronSeedGenerator::checkHitsAndTSOS(), SeedFromNuclearInteraction::construct(), RPCSeedPattern::createFakeSeed(), MuonSeedFromRecHits::createSeed(), MuonSeedCreator::createSeed(), RPCSeedPattern::createSeed(), OutInConversionSeedFinder::createSeed(), TSGFromPropagation::createSeed(), InOutConversionSeedFinder::createSeed(), FastTSGFromPropagation::createSeed(), RoadSearchTrackCandidateMakerAlgorithm::createSeedTrajectory(), SeedFromProtoTrack::init(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), SETSeedFinder::makeSeed(), FastElectronSeedGenerator::prepareElTrackSeed(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), TrackCandidateProducer::produce(), L2MuonSeedGenerator::produce(), SETMuonSeedProducer::produce(), ConvBremSeedProducer::produce(), TrackerToMuonPropagator::produce(), CSCOverlapsTrackPreparation::produce(), cms::CosmicTrackFinder::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), TSGForRoadSearch::pushTrajectorySeed(), TrackInfoProducerAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), SeedGeneratorForCRack::seeds(), SeedGeneratorForCosmics::seeds(), SimpleCosmicBONSeeder::seeds(), InOutConversionTrackFinder::tracks(), OutInConversionTrackFinder::tracks(), and StandAloneMuonTrajectoryBuilder::trajectories().
TrajectoryStateOnSurface TrajectoryStateTransform::transientState | ( | const PTrajectoryStateOnDet & | ts, |
const Surface * | surface, | ||
const MagneticField * | field | ||
) | const |
Definition at line 35 of file TrajectoryStateTransform.cc.
References PTrajectoryStateOnDet::errorMatrix(), i, j, gen::k, m, PTrajectoryStateOnDet::parameters(), and PTrajectoryStateOnDet::surfaceSide().
Referenced by TrackBuildingAnalyzer::analyze(), HLTMuonDQMSource::analyze(), SiPixelTrackResidualSource::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), TrackerSeedCleaner::clean(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), BaseCkfTrajectoryBuilder::findStateAndLayers(), MuonSeedsAnalyzer::getSeedTSOS(), MuonSeedTrack::getSeedTSOS(), MuonTrackAnalyzer::getSeedTSOS(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), CtfSpecialSeedGenerator::postCheck(), TrackProducerWithSCAssociation::produce(), TrackCandidateProducer::produce(), BaseCkfTrajectoryBuilder::seedMeasurements(), MuonSeedCleaner::SeedMomentum(), MuonSeedCleaner::SeedPosition(), SeedTransformer::seedTransientState(), StartingLayerFinder::startingLayers(), SimpleTrackRefitter::startingTSOS(), CosmicTrajectoryBuilder::startingTSOS(), CRackTrajectoryBuilder::startingTSOS(), and FastTSGFromPropagation::trackerSeeds().