CMS 3D CMS Logo

Public Member Functions | Private Types

TrajectoryStateOnSurface Class Reference

#include <TrajectoryStateOnSurface.h>

Inheritance diagram for TrajectoryStateOnSurface:
ProxyBase< T, Cloner >

List of all members.

Public Member Functions

const CartesianTrajectoryErrorcartesianError () const
TrackCharge charge () const
std::vector
< TrajectoryStateOnSurface
components () const
const CurvilinearTrajectoryErrorcurvilinearError () const
FreeTrajectoryStatefreeState (bool withErrors=true) const
FreeTrajectoryStatefreeTrajectoryState (bool withErrors=true) const
GlobalVector globalDirection () const
GlobalVector globalMomentum () const
const GlobalTrajectoryParametersglobalParameters () const
GlobalPoint globalPosition () const
bool hasError () const
bool isValid () const
LocalVector localDirection () const
const LocalTrajectoryErrorlocalError () const
LocalVector localMomentum () const
const LocalTrajectoryParameterslocalParameters () const
LocalPoint localPosition () const
const MagneticFieldmagneticField () const
void rescaleError (double factor)
double signedInverseMomentum () const
const Surfacesurface () const
SurfaceSide surfaceSide () const
 Position relative to material, defined relative to momentum vector.
void swap (TrajectoryStateOnSurface &rh)
 TrajectoryStateOnSurface (const FreeTrajectoryState &fts, const Surface &aSurface, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 TrajectoryStateOnSurface (const LocalTrajectoryParameters &p, const LocalTrajectoryError &err, const Surface &aSurface, const MagneticField *field, double weight)
 TrajectoryStateOnSurface (BasicTrajectoryState *p)
 Constructor from one of the basic states.
 TrajectoryStateOnSurface (const LocalTrajectoryParameters &p, const LocalTrajectoryError &err, const Surface &aSurface, const MagneticField *field, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface, double weight=1.)
 TrajectoryStateOnSurface (const LocalTrajectoryParameters &p, const Surface &aSurface, const MagneticField *field, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 TrajectoryStateOnSurface (const GlobalTrajectoryParameters &gp, const CartesianTrajectoryError &err, const Surface &aSurface, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 TrajectoryStateOnSurface (const GlobalTrajectoryParameters &gp, const Surface &aSurface, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 TrajectoryStateOnSurface (const GlobalTrajectoryParameters &gp, const CurvilinearTrajectoryError &err, const Surface &aSurface, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface, double weight=1.)
 TrajectoryStateOnSurface ()
 TrajectoryStateOnSurface (const GlobalTrajectoryParameters &gp, const CurvilinearTrajectoryError &err, const Surface &aSurface, double weight)
double transverseCurvature () const
void update (const LocalTrajectoryParameters &p, const Surface &aSurface, const MagneticField *field, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
void update (const LocalTrajectoryParameters &p, const LocalTrajectoryError &err, const Surface &aSurface, const MagneticField *field, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface, double weight=1.)
double weight () const
virtual ~TrajectoryStateOnSurface ()

Private Types

typedef BasicTrajectoryState::Proxy Base
typedef
BasicTrajectoryState::SurfaceSide 
SurfaceSide

Detailed Description

As the class name suggests, this class encapsulates the state of a trajectory on a surface. The class is a reference counting proxy to the actual state, in other words it takes no more space than a pointer. Therefore it should be used by value.

Definition at line 15 of file TrajectoryStateOnSurface.h.


Member Typedef Documentation

Definition at line 18 of file TrajectoryStateOnSurface.h.

Definition at line 17 of file TrajectoryStateOnSurface.h.


Constructor & Destructor Documentation

TrajectoryStateOnSurface::TrajectoryStateOnSurface ( ) [inline]

Definition at line 22 of file TrajectoryStateOnSurface.h.

Referenced by update().

{}
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( BasicTrajectoryState p) [inline]

Constructor from one of the basic states.

Definition at line 24 of file TrajectoryStateOnSurface.h.

: Base(p) {}
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const FreeTrajectoryState fts,
const Surface aSurface,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)

Constructor from FTS and surface. For surfaces with material the side of the surface should be specified explicitely.

Definition at line 7 of file TrajectoryStateOnSurface.cc.

                                                                          :
  Base( new BTSOS( fts, aSurface, side)) {}
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const GlobalTrajectoryParameters gp,
const Surface aSurface,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)

Constructor from global parameters and surface. For surfaces with material the side of the surface should be specified explicitely.

Definition at line 12 of file TrajectoryStateOnSurface.cc.

                                                                          :
  Base( new BTSOS( gp, aSurface, side)) {}
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const GlobalTrajectoryParameters gp,
const CartesianTrajectoryError err,
const Surface aSurface,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)

Constructor from global parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely.

Definition at line 17 of file TrajectoryStateOnSurface.cc.

                                                                           :
  Base( new BTSOS( gp, err, aSurface, side)) {}
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const GlobalTrajectoryParameters gp,
const CurvilinearTrajectoryError err,
const Surface aSurface,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface,
double  weight = 1. 
)

Constructor from global parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely. For multi-states the weight should be specified explicitely.

Definition at line 23 of file TrajectoryStateOnSurface.cc.

                                                                                          :
  Base( new BTSOS( gp, err, aSurface, side, weight)) {}
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const GlobalTrajectoryParameters gp,
const CurvilinearTrajectoryError err,
const Surface aSurface,
double  weight 
)

Constructor from global parameters, errors and surface. For multi-states the weight should be specified explicitely. For backward compatibility without specification of the side of the surface.

Definition at line 29 of file TrajectoryStateOnSurface.cc.

                                                                  :
  Base( new BTSOS( gp, err, aSurface, SurfaceSideDefinition::atCenterOfSurface, weight)) {}
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const LocalTrajectoryParameters p,
const Surface aSurface,
const MagneticField field,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)

Constructor from local parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely.

Definition at line 35 of file TrajectoryStateOnSurface.cc.

                                                  :
  Base( new BTSOS( p, aSurface, field, side)) {}
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const LocalTrajectoryParameters p,
const LocalTrajectoryError err,
const Surface aSurface,
const MagneticField field,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface,
double  weight = 1. 
)

Constructor from local parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely. For multi-states the weight should be specified explicitely.

Definition at line 42 of file TrajectoryStateOnSurface.cc.

                                                                 :
  Base( new BTSOS( p, err, aSurface, field, side, weight)) {}
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const LocalTrajectoryParameters p,
const LocalTrajectoryError err,
const Surface aSurface,
const MagneticField field,
double  weight 
)

Constructor from local parameters, errors and surface. For multi-states the weight should be specified explicitely. For backward compatibility without specification of the side of the surface.

Definition at line 50 of file TrajectoryStateOnSurface.cc.

                                         :
  Base( new BTSOS( p, err, aSurface, field, SurfaceSideDefinition::atCenterOfSurface, weight)) {}
virtual TrajectoryStateOnSurface::~TrajectoryStateOnSurface ( ) [inline, virtual]

Definition at line 88 of file TrajectoryStateOnSurface.h.

{}

Member Function Documentation

const CartesianTrajectoryError& TrajectoryStateOnSurface::cartesianError ( ) const [inline]
TrackCharge TrajectoryStateOnSurface::charge ( void  ) const [inline]
std::vector<TrajectoryStateOnSurface> TrajectoryStateOnSurface::components ( ) const [inline]
const CurvilinearTrajectoryError& TrajectoryStateOnSurface::curvilinearError ( ) const [inline]
FreeTrajectoryState* TrajectoryStateOnSurface::freeState ( bool  withErrors = true) const [inline]

Definition at line 115 of file TrajectoryStateOnSurface.h.

References ProxyBase< T, Cloner >::data().

Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch(), LayerCollector::allLayers(), TrackBuildingAnalyzer::analyze(), MuonAlignmentAnalyzer::analyze(), MuonAlignment::analyze(), DTChamberEfficiency::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SignedTransverseImpactParameter::apply(), CosmicMuonTrajectoryBuilder::build(), DAFTrackProducerAlgorithm::buildTrack(), MTFTrackProducerAlgorithm::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), TrackerSeedCleaner::clean(), GeometricSearchDet::compatibleDets(), TrackEfficiencyMonitor::compatibleLayers(), HTrack::computeResolutionAndPull(), ReferenceTrajectory::construct(), GlobalMuonTrackMatcher::convertToTSOSMuHit(), SimpleNavigableLayer::crossingState(), TransverseImpactPointExtrapolator::doExtrapolation(), HTrack::Fill(), CSCEfficiency::filter(), HLTMuonPointingFilter::filter(), SETFilter::findChi2(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), NuclearInteractionFinder::findMeasurementsFromTSOS(), TrackEfficiencyMonitor::findNextLayer(), BaseCkfTrajectoryBuilder::findStateAndLayers(), freeTrajectoryState(), MuonRoadTrajectoryBuilder::GatherHits(), MuonTrackAnalyzer::getSeedTSOS(), TrackDetectorAssociator::getTAMuonChamberMatches(), HDetIdAssociator::getTrajectory(), CosmicTrackingRegion::hits(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), TSCBLBuilderWithPropagator::operator()(), StateOnTrackerBound::operator()(), TSCPBuilderNoMaterial::operator()(), TransientTrackKinematicStateBuilder::operator()(), CtfSpecialSeedGenerator::postCheck(), cms::HITrackVertexMaker::produceTracks(), Geant4ePropagator::propagate(), CachedTrajectory::propagate(), Propagator::propagate(), RKPropagatorInS::propagate(), MuonUpdatorAtVertex::propagate(), StandAloneMuonTrajectoryBuilder::propagateTheSeedTSOS(), MuonUpdatorAtVertex::propagateToNominalLine(), Propagator::propagateWithPath(), HICTrajectoryBuilder::qualityFilter(), TrackEfficiencyMonitor::trackerAcceptance(), FastTSGFromPropagation::trackerSeeds(), TSGFromPropagation::trackerSeeds(), CosmicMuonTrajectoryBuilder::trajectories(), StandAloneMuonTrajectoryBuilder::trajectories(), and SimpleNavigableLayer::wellInside().

                                                               {
    return data().freeTrajectoryState();
  }
FreeTrajectoryState* TrajectoryStateOnSurface::freeTrajectoryState ( bool  withErrors = true) const [inline]
GlobalVector TrajectoryStateOnSurface::globalDirection ( ) const [inline]
GlobalVector TrajectoryStateOnSurface::globalMomentum ( ) const [inline]

Definition at line 131 of file TrajectoryStateOnSurface.h.

References ProxyBase< T, Cloner >::data().

Referenced by TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), MuonErrorMatrix::adjust(), MuonSeedsAnalyzer::analyze(), TestHits::analyze(), TrackBuildingAnalyzer::analyze(), ElectronSeedAnalyzer::analyze(), HLTMuonDQMSource::analyze(), TestTrackHits::analyze(), TestSmoothHits::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SignedImpactParameter3D::apply(), MuonSimHitProducer::applyMaterialEffects(), LayerCrossingSide::barrelSide(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), MuonTrajectoryCleaner::clean(), TrackerSeedCleaner::clean(), MuonCkfTrajectoryBuilder::collectMeasurement(), MultipleScatteringUpdator::compute(), SiStripGainFromData::ComputeChargeOverPath(), CompositeTECPetal::computeCrossings(), TIDRing::computeCrossings(), TOBRod::computeCrossings(), PixelBarrelLayer::computeCrossings(), PixelBlade::computeCrossings(), CompositeTECWedge::computeCrossings(), TIBRing::computeCrossings(), TOBLayer::computeCrossings(), TECLayer::computeCrossings(), TIBLayer::computeCrossings(), PixelForwardLayer::computeCrossings(), TIBLayer::computeWindowSize(), RoadSearchTrackCandidateMakerAlgorithm::createSeedTrajectory(), NavVolume6Faces::crossToNextVolume(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), SignedImpactParameter3D::distance(), SignedImpactParameter3D::distanceWithJetAxis(), TransverseImpactPointExtrapolator::doExtrapolation(), PrintoutHelper::dumpMeasurement(), TSGFromPropagation::dxyDis(), FastTSGFromPropagation::dxyDis(), LayerCrossingSide::endcapSide(), CosmicMuonTrajectoryBuilder::estimateDirection(), AlignmentMonitorMuonVsCurvature::event(), TrajectoryExtrapolatorToLine::extrapolate(), TrackAnalyzer::fillHistosForState(), MuonTrackAnalyzer::fillPlots(), NavPropagator::findVolume(), CosmicMuonSmoother::fit(), MuonTrackAnalyzer::getSimTrack(), BasicMultiTrajectoryState::globalMomentum(), CosmicMuonSmoother::initialState(), MuRingForwardDoubleLayer::isInsideOut(), IPTools::jetTrackDistance(), IPTools::linearImpactParameter(), IPTools::linearizedSignedImpactParameter3D(), TrajectoryManager::makeSinglePSimHit(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), GlobalCosmicMuonTrajectoryBuilder::match(), GlobalMuonTrackMatcher::match_Rmom(), oldMUcompute(), TrackFilterForPVFinding::operator()(), VertexMass::operator()(), BeamSpotAlignmentDerivatives::operator()(), TIDLayer::orderAndMergeLevels(), ElectronSeedGenerator::prepareElTrackSeed(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), TrackCandidateProducer::produce(), MuonSimHitProducer::produce(), TrajectorySeedProducer::produce(), cms::HITrackVertexMaker::produceTracks(), NavPropagator::propagateInVolume(), TrackExtrapolator::propagateTrackToVolume(), NavPropagator::propagateWithPath(), TkConvValidator::recalculateMomentumAtFittedVertex(), CosmicMuonUtilities::reverseDirection(), TIDLayer::ringIndicesByCrossingProximity(), MuonSeedCleaner::SeedMomentum(), SimpleCosmicBONSeeder::seeds(), CosmicMuonSmoother::smooth(), FastTSGFromPropagation::trackerSeeds(), TSGFromPropagation::trackerSeeds(), MuonTrackAnalyzer::tracksAnalysis(), KFTrajectorySmoother::trajectories(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), GsfTrajectorySmoother::trajectories(), CosmicMuonTrajectoryBuilder::trajectories(), GlobalMuonRefitter::transform(), TrackTransformer::transform(), VolumeMaterialEffectsUpdator::updateState(), HICTrajectoryBuilder::updateTrajectory(), reco::TrackGhostTrackState::vertexStateOnGhostTrack(), reco::TrackGhostTrackState::vertexStateOnMeasurement(), whatIsTheStateToUse(), TSGFromPropagation::zDis(), and FastTSGFromPropagation::zDis().

                                      {
    return data().globalMomentum();
  }
const GlobalTrajectoryParameters& TrajectoryStateOnSurface::globalParameters ( void  ) const [inline]

Definition at line 125 of file TrajectoryStateOnSurface.h.

References ProxyBase< T, Cloner >::data().

Referenced by TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), MuonErrorMatrix::adjust(), LayerCollector::allLayers(), MuonTrackLoader::buildTrackExtra(), TangentApproachInRPhi::calculate(), TwoTrackMinimumDistance::calculate(), ClosestApproachInRPhi::calculate(), TkGluedMeasurementDet::collectRecHits(), TrajectoryStateCombiner::combine(), PixelHitMatcher::compatibleSeeds(), ReferenceTrajectory::construct(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), ConversionBarrelEstimator::estimate(), ForwardMeasurementEstimator::estimate(), ConversionForwardEstimator::estimate(), BarrelMeasurementEstimator::estimate(), NuclearTrackCorrector::getNewTrackExtra(), BasicMultiTrajectoryState::globalParameters(), TrajectoryStateWithArbitraryError::operator()(), operator<<(), TrackCandidateProducer::produce(), SoftConversionProducer::produce(), TrackingRecHitProjector< ResultingHit >::project(), ReferenceTrajectory::propagate(), RecHitPropagator::propagate(), NavPropagator::propagateInVolume(), NavPropagator::propagateWithPath(), TauTagTools::propagTrackECALSurfContactPoint(), GsfTrackProducerBase::putInEvt(), KfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), KalmanAlignmentTrackRefitter::refitSingleTracklet(), NuclearInteractionFinder::rescaleError(), TkGluedMeasurementDet::testStrips(), PerigeeRefittedTrackState::trajectoryStateOnSurface(), KFStripUpdator::update(), GsfMultiStateUpdator::update(), KFStrip1DUpdator::update(), VolumeMaterialEffectsUpdator::updateState(), GsfMaterialEffectsUpdator::updateState(), and MaterialEffectsUpdator::updateStateInPlace().

                                                             {
    return data().globalParameters();
  }
GlobalPoint TrajectoryStateOnSurface::globalPosition ( ) const [inline]

Definition at line 128 of file TrajectoryStateOnSurface.h.

References ProxyBase< T, Cloner >::data().

Referenced by IPTools::absoluteImpactParameter(), CRackTrajectoryBuilder::AddHit(), LayerCollector::allLayers(), CkfDebugger::analyseCompatibleMeasurements(), TestHits::analyze(), ElectronSeedAnalyzer::analyze(), HLTMuonDQMSource::analyze(), TestTrackHits::analyze(), TestSmoothHits::analyze(), MuonAlignment::analyze(), MuonEnergyDepositAnalyzer::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SignedImpactParameter3D::apply(), SignedDecayLength3D::apply(), MuonSimHitProducer::applyMaterialEffects(), LayerCrossingSide::barrelSide(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), PixelBarrelLayer::calculatePhiWindow(), TOBLayer::calculatePhiWindow(), MuonCkfTrajectoryBuilder::collectMeasurement(), MuDetRing::compatible(), BarrelDetLayer::compatible(), MuDetRod::compatibleDets(), MuRodBarrelLayer::compatibleDets(), MuRingForwardLayer::compatibleDets(), MuDetRing::compatibleDets(), PixelRod::compatibleDetsV(), TrackEfficiencyMonitor::compatibleLayers(), CompositeTECPetal::computeCrossings(), TOBRod::computeCrossings(), TIDRing::computeCrossings(), PixelBlade::computeCrossings(), PixelBarrelLayer::computeCrossings(), CompositeTECWedge::computeCrossings(), TIBRing::computeCrossings(), TOBLayer::computeCrossings(), TIBLayer::computeCrossings(), TECLayer::computeCrossings(), PixelForwardLayer::computeCrossings(), GsfTrackProducerBase::computeModeAtTM(), SingleTrackVertexConstraint::constrain(), GlobalMuonTrackMatcher::convertToTSOSMuHit(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), OutInConversionSeedFinder::createSeed(), NavVolume6Faces::crossToNextVolume(), ResidualRefitting::cylExtrapTrkSam(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), NavPropagator::destinationCrossed(), MultipleScatteringGeometry::detLayers(), SignedImpactParameter3D::distance(), SignedImpactParameter3D::distanceWithJetAxis(), TransverseImpactPointExtrapolator::doExtrapolation(), CSCPairResidualsConstraint::dphidzFromTrack(), PrintoutHelper::dumpCandidate(), PrintoutHelper::dumpMeasurement(), TSGFromPropagation::dxyDis(), FastTSGFromPropagation::dxyDis(), LayerCrossingSide::endcapSide(), HICMeasurementEstimator::estimate(), EtaPhiMeasurementEstimator::estimate(), EtaPhiEstimator::estimate(), CosmicMuonTrajectoryBuilder::estimateDirection(), AlignmentMonitorMuonVsCurvature::event(), PropagateToMuon::extrapolate(), TrajectoryExtrapolatorToLine::extrapolate(), RoadSearchTrackCandidateMakerAlgorithm::extrapolateTrajectory(), TrackerValidationVariables::fillHitQuantities(), DynamicTruncation::filter(), HLTMuonPointingFilter::filter(), ConversionTrackEcalImpactPoint::find(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHit(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHitsByDet(), InOutConversionSeedFinder::findSeeds(), NavPropagator::findVolume(), CosmicMuonSmoother::fit(), MuonRoadTrajectoryBuilder::GatherHits(), MuonShowerInformationFiller::getCompatibleDets(), EcalShowerProperties::getEndpoints(), NuclearTrackCorrector::getInitialState(), TrackerOnlyConversionProducer::getTrackImpactPosition(), HDetIdAssociator::getTrajectory(), reco::TrackGhostTrackState::globalPosition(), BasicMultiTrajectoryState::globalPosition(), CosmicTrackingRegion::hits(), CosmicMuonSmoother::initialState(), MuRingForwardDoubleLayer::isInsideOut(), IPTools::jetTrackDistance(), TempTrajectory::join(), GlobalTrackQualityProducer::kink(), IPTools::linearImpactParameter(), reco::TrackGhostTrackState::linearize(), IPTools::linearizedSignedImpactParameter3D(), TSGForRoadSearch::makeSeeds_0(), TSGForRoadSearch::makeSeeds_4(), TrajectoryManager::makeSinglePSimHit(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), L1MuonMatcherAlgo::match(), GlobalCosmicMuonTrajectoryBuilder::match(), GlobalMuonTrackMatcher::match_D(), GlobalMuonTrackMatcher::match_Rpos(), L1MuonMatcherAlgo::matchGeneric(), OuterEstimator::maximalLocalDisplacement(), TSCBLBuilderWithPropagator::operator()(), CRackTrajectoryBuilder::CompareDetByTraj::operator()(), StateOnTrackerBound::operator()(), TSCPBuilderNoMaterial::operator()(), operator<<(), TIDLayer::orderAndMergeLevels(), TIDLayer::overlapInR(), ElectronSeedGenerator::prepareElTrackSeed(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), PlotRecTracks::printRecTracks(), EcalShowerProperties::processTrack(), TrackCandidateProducer::produce(), TrackIPProducer::produce(), ShallowTrackClustersProducer::produce(), MuonSimHitProducer::produce(), cms::HITrackVertexMaker::produceTracks(), Propagator::propagate(), MuonUpdatorAtVertex::propagate(), spr::propagateCalo(), NavPropagator::propagateInVolume(), MuonUpdatorAtVertex::propagateToNominalLine(), TCMETAlgo::propagateTrack(), cms::MuonTCMETValueMapProducer::propagateTrack(), spr::propagateTrackerEnd(), JetTracksAssociationDRCalo::propagateTrackToCalo(), TrackExtrapolator::propagateTrackToVolume(), NavPropagator::propagateWithPath(), TauTagTools::propagTrackECALSurfContactPoint(), TempTrajectory::pushAux(), TrackAssociatorByPosition::quality(), StandAloneMuonFilter::refit(), CosmicMuonUtilities::reverseDirection(), TIDLayer::ringIndicesByCrossingProximity(), RoadSearchTrackCandidateMakerAlgorithm::run(), MuonSeedCleaner::SeedPosition(), SimpleCosmicBONSeeder::seeds(), IPTools::signedDecayLength3D(), CosmicMuonSmoother::smooth(), CRackTrajectoryBuilder::SortHits(), CosmicMuonSmoother::sortHitsAlongMom(), InOutConversionSeedFinder::startSeed(), CosmicMuonUtilities::stepPropagate(), TrackEfficiencyMonitor::testSTATracks(), TkGluedMeasurementDet::testStrips(), TrackEfficiencyMonitor::testTrackerTracks(), TCTauAlgorithm::trackEcalHitPoint(), TrackEfficiencyMonitor::trackerAcceptance(), FastTSGFromPropagation::trackerSeeds(), TSGFromPropagation::trackerSeeds(), TracktoRPC::TracktoRPC(), reco::JetSignalVertexCompatibilityAlgo::trackVertexCompat(), KFTrajectorySmoother::trajectories(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), GsfTrajectorySmoother::trajectories(), CosmicMuonTrajectoryBuilder::trajectories(), trajectorymeasurementOrder(), GlobalMuonRefitter::transform(), TrackTransformer::transform(), ResidualRefitting::trkExtrap(), MuonTrajectoryUpdator::update(), VolumeMaterialEffectsUpdator::updateState(), HICTrajectoryBuilder::updateTrajectory(), reco::TrackGhostTrackState::vertexStateOnGhostTrack(), reco::TrackGhostTrackState::vertexStateOnMeasurement(), SimpleNavigableLayer::wellInside(), whatIsTheStateToUse(), TSGFromPropagation::zDis(), and FastTSGFromPropagation::zDis().

                                     {
    return data().globalPosition();
  }
bool TrajectoryStateOnSurface::hasError ( void  ) const [inline]
bool TrajectoryStateOnSurface::isValid ( void  ) const [inline]

Reimplemented from ProxyBase< T, Cloner >.

Definition at line 107 of file TrajectoryStateOnSurface.h.

References ProxyBase< T, Cloner >::data(), and ProxyBase< T, Cloner >::isValid().

Referenced by IPTools::absoluteImpactParameter(), CRackTrajectoryBuilder::AddHit(), PFTrackTransformer::addPointsAndBrems(), MultiTrajectoryStateAssembler::addState(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), DeDxDiscriminatorLearner::algoAnalyze(), SiStripGainFromData::algoAnalyze(), LayerCollector::allLayers(), CkfDebugger::analyseRecHitExistance(), TestHits::analyze(), SiPixelTrackResidualSource::analyze(), ElectronSeedAnalyzer::analyze(), SiPixelLorentzAngle::analyze(), TestTrackHits::analyze(), TestSmoothHits::analyze(), MuonAlignmentAnalyzer::analyze(), MuonAlignment::analyze(), DTChamberEfficiency::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SignedImpactParameter3D::apply(), SignedDecayLength3D::apply(), TrackAssociatorByPosition::associateRecoToSim(), TrackAssociatorByPosition::associateSimToReco(), CosmicMuonTrajectoryBuilder::build(), SimpleMTFHitCollector::buildMultiRecHits(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), SeedFromConsecutiveHitsCreator::buildSeed(), SeedFromGenericPairOrTriplet::buildSeed(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), SiTrackerMultiRecHitUpdatorMTF::calculatecut(), MultiTrajectoryStateMode::chargeFromMode(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), TrackerOnlyConversionProducer::checkPhi(), reco::modules::TrackerTrackHitFilter::checkPXLCorrClustCharge(), MuonTrajectoryCleaner::clean(), TSiStripMatchedRecHit::clone(), MuonCkfTrajectoryBuilder::collectMeasurement(), TkGluedMeasurementDet::collectRecHits(), CollinearFitAtTM2::CollinearFitAtTM2(), MuRingForwardDoubleLayer::compatible(), ForwardDetLayer::compatible(), MuDetRod::compatible(), MuDetRing::compatible(), BarrelDetLayer::compatible(), PixelRod::compatibleDetsV(), PixelHitMatcher::compatibleHits(), TrackEfficiencyMonitor::compatibleLayers(), PixelHitMatcher::compatibleSeeds(), GsfTrackProducerBase::computeModeAtTM(), GsfConstraintAtVertex::constrainAtPoint(), SeedFromNuclearInteraction::construct(), GlobalMuonTrackMatcher::convertToTSOSMuHit(), GlobalMuonTrackMatcher::convertToTSOSTk(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), OutInConversionSeedFinder::createSeed(), InOutConversionSeedFinder::createSeed(), RoadSearchTrackCandidateMakerAlgorithm::createSeedTrajectory(), CaloDetIdAssociator::crossedElement(), SimpleNavigableLayer::crossingState(), ResidualRefitting::cylExtrapTrkSam(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), MultipleScatteringGeometry::detLayers(), SignedImpactParameter3D::distanceWithJetAxis(), CSCPairResidualsConstraint::dphidzFromTrack(), PrintoutHelper::dumpCandidate(), PrintoutHelper::dumpMeasurement(), HICMeasurementEstimator::estimate(), CosmicMuonTrajectoryBuilder::estimateDirection(), AlignmentMonitorMuonVsCurvature::event(), TransverseImpactPointExtrapolator::extrapolate(), AnalyticalImpactPointExtrapolator::extrapolate(), PropagateToMuon::extrapolate(), TrajectoryExtrapolatorToLine::extrapolate(), AnalyticalTrajectoryExtrapolatorToLine::extrapolate(), AnalyticalImpactPointExtrapolator::extrapolateFullState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateFullState(), RoadSearchTrackCandidateMakerAlgorithm::extrapolateTrajectory(), InOutConversionSeedFinder::fillClusterSeeds(), TrackerValidationVariables::fillHitQuantities(), DualKalmanTrajectory::fillKalmanPart(), DualKalmanTrajectory::fillMeasurementAndError1(), DualKalmanTrajectory::fillMeasurementAndError2(), CSCEfficiency::filter(), HLTMuonPointingFilter::filter(), DynamicTruncation::filteringAlgo(), ConversionTrackEcalImpactPoint::find(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHit(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHitsByDet(), SETFilter::findChi2(), HICTrajectoryBuilder::findCompatibleMeasurements(), CkfTrajectoryBuilder::findCompatibleMeasurements(), TrackEfficiencyMonitor::findNextLayer(), KFTrajectoryFitter::fit(), CollinearFitAtTM::fit(), CosmicMuonSmoother::fit(), GsfTrajectoryFitter::fit(), CosmicMuonTrajectoryBuilder::flipTrajectory(), MuonRoadTrajectoryBuilder::GatherHits(), EcalShowerProperties::getEndpoints(), MuonTrackAnalyzer::getSeedTSOS(), TrackDetectorAssociator::getTAMuonChamberMatches(), TrackerOnlyConversionProducer::getTrackImpactPosition(), HDetIdAssociator::getTrajectory(), GlobalTrajectoryBuilderBase::getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), CosmicTrackingRegion::hits(), SeedFromProtoTrack::init(), CosmicMuonSmoother::initialState(), TransientInitialStateEstimator::innerState(), TkGeomDetCompatibilityChecker::isCompatible(), GeomDetCompatibilityChecker::isCompatible(), PerigeeLinearizedTrackState::isValid(), reco::TrackGhostTrackState::isValid(), IPTools::jetTrackDistance(), GlobalTrackQualityProducer::kink(), IPTools::linearizedSignedImpactParameter3D(), TSGForRoadSearch::makeSeeds_0(), TSGForRoadSearch::makeSeeds_4(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), SiTrackerMultiRecHitUpdatorMTF::mapmaker(), L1MuonMatcherAlgo::match(), GlobalMuonTrackMatcher::match_Chi2(), GlobalMuonTrackMatcher::match_D(), GlobalMuonTrackMatcher::match_d(), GlobalMuonTrackMatcher::match_dist(), GlobalMuonTrackMatcher::match_Rmom(), GlobalMuonTrackMatcher::match_Rpos(), L1MuonMatcherAlgo::matchGeneric(), MultiTrajectoryStateMerger::merge(), MultiTrajectoryStateMode::momentumFromModeCartesian(), MultiTrajectoryStateMode::momentumFromModeLocal(), MultiTrajectoryStateMode::momentumFromModeP(), MultiTrajectoryStateMode::momentumFromModePPhiEta(), MultiTrajectoryStateMode::momentumFromModeQP(), GaussianStateConversions::multiGaussianStateFromTSOS(), MuonResidualsFromTrack::MuonResidualsFromTrack(), GlobalTrackQualityProducer::newChi2(), TrajectoryStateLessWeight::operator()(), FullConvolutionWithMaterial::operator()(), BeamSpotAlignmentDerivatives::operator()(), StateOnTrackerBound::operator()(), MultiTrajectoryStateMode::positionFromModeCartesian(), MultiTrajectoryStateMode::positionFromModeLocal(), ElectronSeedGenerator::prepareElTrackSeed(), FastElectronSeedGenerator::prepareElTrackSeed(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), PlotRecTracks::printRecTracks(), EcalShowerProperties::processTrack(), DeDxEstimatorProducer::produce(), L2MuonSeedGenerator::produce(), TrackCandidateProducer::produce(), TrackIPProducer::produce(), MuonSimHitProducer::produce(), TrackerToMuonPropagator::produce(), TrajectorySeedProducer::produce(), cms::CosmicTrackFinder::produce(), DeDxDiscriminatorProducer::produce(), ConvBremSeedProducer::produce(), ShallowGainCalibration::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), cms::HITrackVertexMaker::produceTracks(), TrackingRecHitPropagator::project(), spr::propagateCalo(), StandAloneMuonTrajectoryBuilder::propagateTheSeedTSOS(), TCMETAlgo::propagateTrack(), cms::MuonTCMETValueMapProducer::propagateTrack(), spr::propagateTrackerEnd(), JetTracksAssociationDRCalo::propagateTrackToCalo(), TrackExtrapolator::propagateTrackToVolume(), GsfPropagatorWithMaterial::propagateWithPath(), NavPropagator::propagateWithPath(), TauTagTools::propagTrackECALSurfContactPoint(), GsfTrackProducerBase::putInEvt(), HICTrajectoryBuilder::qualityFilter(), TkConvValidator::recalculateMomentumAtFittedVertex(), KalmanAlignmentTrackRefitter::refitSingleTracklet(), SimpleTrackRefitter::refitTrack(), PFElecTkProducer::resolveGsfTracks(), HIPAlignmentAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), MuonMillepedeAlgorithm::run(), GlobalMuonTrackMatcher::samePlane(), BaseCkfTrajectoryBuilder::seedMeasurements(), SeedGeneratorForCRack::seeds(), SimpleCosmicBONSeeder::seeds(), SeedGeneratorForCosmics::seeds(), SeedTransformer::seedTransform(), IPTools::signedDecayLength3D(), CosmicMuonSmoother::smooth(), CRackTrajectoryBuilder::SortHits(), CosmicMuonUtilities::stepPropagate(), ChargeSignificanceTrajectoryFilter::TBC(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), TrackEfficiencyMonitor::trackerAcceptance(), FastTSGFromPropagation::trackerSeeds(), TSGFromPropagation::trackerSeeds(), TracktoRPC::TracktoRPC(), DualKalmanFactory::trajectories(), KFTrajectorySmoother::trajectories(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), DualBzeroTrajectoryFactory::trajectories(), GsfTrajectorySmoother::trajectories(), CosmicMuonTrajectoryBuilder::trajectories(), DualTrajectoryFactory::trajectories(), CosmicMuonSmoother::trajectories(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), DeDxTools::trajectoryRawHits(), trajectoryToResiduals(), SETFilter::transform(), TrackTransformer::transform(), ResidualRefitting::trkExtrap(), GsfMultiStateUpdator::update(), SiTrackerMultiRecHitUpdator::update(), DynamicTruncation::update(), HICMuonUpdator::update(), SiTrackerMultiRecHitUpdatorMTF::update(), MuonTrajectoryUpdator::update(), SiTrackerMultiRecHitUpdatorMTF::updatecomponents(), SiTrackerMultiRecHitUpdatorMTF::updaterow(), DynamicTruncation::updateWithCSChits(), and SimpleNavigableLayer::wellInside().

                       {
    return Base::isValid() && data().isValid();
  }
LocalVector TrajectoryStateOnSurface::localDirection ( ) const [inline]
const LocalTrajectoryError& TrajectoryStateOnSurface::localError ( ) const [inline]

Definition at line 164 of file TrajectoryStateOnSurface.h.

References ProxyBase< T, Cloner >::data().

Referenced by CkfDebugger::analyseCompatibleMeasurements(), SiPixelHitEfficiencySource::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), BzeroReferenceTrajectory::BzeroReferenceTrajectory(), TkGluedMeasurementDet::checkHitProjection(), CollinearFitAtTM2::CollinearFitAtTM2(), TrajectoryStateCombiner::combine(), MuRingForwardDoubleLayer::compatible(), ForwardDetLayer::compatible(), MuRingForwardLayer::compatibleDets(), MultipleScatteringUpdator::compute(), GsfTrackProducerBase::computeModeAtTM(), PFGsfHelper::computeQpMode(), ReferenceTrajectory::construct(), DualKalmanTrajectory::construct(), CaloDetIdAssociator::crossedElement(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), Chi2Strip1DEstimator::estimate(), Chi2StripEstimator::estimate(), Chi2MeasurementEstimatorBase::estimate(), Chi2MeasurementEstimatorForTrackerHits::estimate(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), RoadSearchTrackCandidateMakerAlgorithm::extrapolateTrajectory(), TkStripMeasurementDet::fastMeasurements(), TrackerValidationVariables::fillHitQuantities(), DualKalmanTrajectory::fillMeasurementAndError1(), DualKalmanTrajectory::fillMeasurementAndError2(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), CollinearFitAtTM::fit(), NuclearTrackCorrector::getInitialState(), TrackDetectorAssociator::getTAMuonChamberMatches(), TkPixelMeasurementDet::hasBadComponents(), TransientInitialStateEstimator::innerState(), ShallowGainCalibration::IsFarFromBorder(), DeDxDiscriminatorTools::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), BasicMultiTrajectoryState::localError(), GsfTrackProducerBase::localParametersFromQpMode(), GlobalMuonTrackMatcher::match_Chi2(), GlobalMuonTrackMatcher::match_dist(), BarrelMeasurementEstimator::maximalLocalDisplacement(), ForwardMeasurementEstimator::maximalLocalDisplacement(), Chi2MeasurementEstimatorBase::maximalLocalDisplacement(), cms::HICSeedMeasurementEstimator::maximalLocalDisplacement(), MeasurementExtractor::measuredError(), GlobalTrackerMuonAlignment::muonFitter(), MuonResidualsFromTrack::MuonResidualsFromTrack(), oldMUcompute(), operator<<(), TrajectoryStateTransform::persistentState(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), ShallowTrackClustersProducer::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TrajectorySeedProducer::produce(), StraightLinePropagator::propagatedState(), TrackAssociatorByPosition::quality(), KalmanAlignmentTrackRefitter::refitSingleTracklet(), NuclearInteractionFinder::rescaleError(), RoadSearchTrackCandidateMakerAlgorithm::run(), TrajectorySegmentBuilder::segments(), CRackTrajectoryBuilder::SortHits(), FastTSGFromPropagation::stateOnDet(), TrajectorySeedProducer::stateOnDet(), ChargeSignificanceTrajectoryFilter::TBC(), CkfDebugger::testSeed(), TkGluedMeasurementDet::testStrips(), TrackEfficiencyMonitor::testTrackerTracks(), GlobalTrackerMuonAlignment::trackFitter(), DualBzeroTrajectoryFactory::trajectories(), DualTrajectoryFactory::trajectories(), Strip1DMeasurementTransformator::trajectoryError(), StripMeasurementTransformator::trajectoryError(), trajectoryToResiduals(), Tsos2DPhi::Tsos2DPhi(), Tsos2DZed::Tsos2DZed(), Tsos4D::Tsos4D(), GsfMultiStateUpdator::update(), VolumeMaterialEffectsUpdator::updateState(), GsfMaterialEffectsUpdator::updateState(), MaterialEffectsUpdator::updateStateInPlace(), SimpleNavigableLayer::wellInside(), and MuRodBarrelLayer::xError().

                                                 {
    return data().localError();
  }
LocalVector TrajectoryStateOnSurface::localMomentum ( ) const [inline]
const LocalTrajectoryParameters& TrajectoryStateOnSurface::localParameters ( ) const [inline]

Definition at line 152 of file TrajectoryStateOnSurface.h.

References ProxyBase< T, Cloner >::data().

Referenced by SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), BzeroReferenceTrajectory::BzeroReferenceTrajectory(), CollinearFitAtTM2::CollinearFitAtTM2(), TrajectoryStateCombiner::combine(), GsfTrackProducerBase::computeModeAtTM(), PFGsfHelper::computeQpMode(), ReferenceTrajectory::construct(), TwoBodyDecayTrajectory::constructSingleTsosWithErrors(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), TwoBowedSurfacesAlignmentParameters::derivatives(), Chi2MeasurementEstimatorForTrackerHits::estimate(), DualReferenceTrajectory::extractParameters(), DualKalmanTrajectory::extractParameters(), DualBzeroReferenceTrajectory::extractParameters(), DualKalmanTrajectory::fillTrajectoryPositions(), CollinearFitAtTM::fit(), NuclearTrackCorrector::getInitialState(), gluedToStereo(), CRackTrajectoryBuilder::innerState(), TransientInitialStateEstimator::innerState(), BasicMultiTrajectoryState::localParameters(), ClusterParameterEstimator< SiStripCluster >::localParameters(), GsfTrackProducerBase::localParametersFromQpMode(), ClusterParameterEstimator< SiStripCluster >::localParametersV(), GlobalMuonTrackMatcher::match_Chi2(), MeasurementExtractor::measuredParameters(), GlobalTrackerMuonAlignment::misalignMuonL(), MultiTrajectoryStateMode::momentumFromModeLocal(), GlobalTrackerMuonAlignment::muonFitter(), MaterialEffectsUpdator::newArguments(), SegmentAlignmentDerivatives4D::operator()(), BowedSurfaceAlignmentDerivatives::operator()(), KarimakiAlignmentDerivatives::operator()(), TrajectoryStateWithArbitraryError::operator()(), operator<<(), TrajectoryStateTransform::persistentState(), TrackCandidateProducer::produce(), cms::CosmicTrackFinder::produce(), ReferenceTrajectory::propagate(), StraightLinePropagator::propagatedState(), GsfTrackProducerBase::putInEvt(), TrackAssociatorByPosition::quality(), TkPixelMeasurementDet::recHits(), ReferenceTrajectory::ReferenceTrajectory(), KalmanAlignmentTrackRefitter::refitSingleTracklet(), NuclearInteractionFinder::rescaleError(), FastTSGFromPropagation::stateOnDet(), TrajectorySeedProducer::stateOnDet(), ChargeSignificanceTrajectoryFilter::TBC(), CkfDebugger::testSeed(), GlobalTrackerMuonAlignment::trackFitter(), Strip1DMeasurementTransformator::trajectoryParameters(), StripMeasurementTransformator::trajectoryParameters(), Tsos2DPhi::Tsos2DPhi(), Tsos2DZed::Tsos2DZed(), Tsos4D::Tsos4D(), GaussianStateConversions::tsosFromMultiGaussianState(), MultiGaussianStateTransform::tsosFromSingleState(), KFStripUpdator::update(), GsfMultiStateUpdator::update(), KFStrip1DUpdator::update(), VolumeMaterialEffectsUpdator::updateState(), GsfMaterialEffectsUpdator::updateState(), and MaterialEffectsUpdator::updateStateInPlace().

                                                           {
    return data().localParameters();
  }
LocalPoint TrajectoryStateOnSurface::localPosition ( ) const [inline]

Definition at line 155 of file TrajectoryStateOnSurface.h.

References ProxyBase< T, Cloner >::data().

Referenced by CRackTrajectoryBuilder::AddHit(), MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), MuonDT2ChamberResidual::addResidual(), CkfDebugger::analyseCompatibleMeasurements(), SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelLorentzAngle::analyze(), MuonAlignmentAnalyzer::analyze(), MuonAlignment::analyze(), SiTrackerMultiRecHitUpdatorMTF::calculatecut(), PixelBarrelLayer::calculatePhiWindow(), TOBLayer::calculatePhiWindow(), tkDetUtil::calculatePhiWindow(), TkGluedMeasurementDet::checkHitProjection(), MuRingForwardDoubleLayer::compatible(), ForwardDetLayer::compatible(), MuDetRing::compatible(), MuRodBarrelLayer::compatibleDets(), Chi2Strip1DEstimator::estimate(), Chi2StripEstimator::estimate(), InsideBoundsMeasurementEstimator::estimate(), Chi2MeasurementEstimatorBase::estimate(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonVsCurvature::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), RoadSearchTrackCandidateMakerAlgorithm::extrapolateTrajectory(), TkStripMeasurementDet::fastMeasurements(), TrackerValidationVariables::fillHitQuantities(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), SiStripFineDelayTLA::findtrackangle(), TkPixelMeasurementDet::hasBadComponents(), ShallowGainCalibration::IsFarFromBorder(), DeDxDiscriminatorTools::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), BasicMultiTrajectoryState::localPosition(), TrajectoryManager::makeSinglePSimHit(), SiTrackerMultiRecHitUpdatorMTF::mapmaker(), TwoBodyDecayTrajectoryFactory::match(), GlobalMuonTrackMatcher::match_d(), GlobalMuonTrackMatcher::match_dist(), MuonResidualsFromTrack::MuonResidualsFromTrack(), BeamSpotAlignmentDerivatives::operator()(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), ShallowTrackClustersProducer::produce(), AlignmentMuonHIPTrajectorySelector::produce(), RoadSearchTrackCandidateMakerAlgorithm::run(), GlobalMuonTrackMatcher::samePlane(), TrackEfficiencyMonitor::testSTATracks(), TkGluedMeasurementDet::testStrips(), TrackEfficiencyMonitor::testTrackerTracks(), TracktoRPC::TracktoRPC(), trajectoryToResiduals(), ResidualRefitting::trkExtrap(), SiTrackerMultiRecHitUpdator::update(), and SiTrackerMultiRecHitUpdatorMTF::updaterow().

                                   {
    return data().localPosition();
  }
const MagneticField* TrajectoryStateOnSurface::magneticField ( ) const [inline]
void TrajectoryStateOnSurface::rescaleError ( double  factor) [inline]
double TrajectoryStateOnSurface::signedInverseMomentum ( ) const [inline]

Definition at line 140 of file TrajectoryStateOnSurface.h.

References ProxyBase< T, Cloner >::data().

Referenced by BasicMultiTrajectoryState::signedInverseMomentum().

                                       {
    return data().signedInverseMomentum();
  }
const Surface& TrajectoryStateOnSurface::surface ( ) const [inline]

Definition at line 167 of file TrajectoryStateOnSurface.h.

References ProxyBase< T, Cloner >::data().

Referenced by TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), MuonErrorMatrix::adjust(), CkfDebugger::analyseCompatibleMeasurements(), DTChamberEfficiency::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), MuonSimHitProducer::applyMaterialEffects(), TrackAssociatorByPosition::associateRecoToSim(), TrackAssociatorByPosition::associateSimToReco(), SimpleMTFHitCollector::buildMultiRecHits(), BzeroReferenceTrajectory::BzeroReferenceTrajectory(), TrajectoryStateCombiner::combine(), GsfBetheHeitlerUpdator::compute(), MultipleScatteringUpdator::compute(), GsfMultipleScatteringUpdator::compute(), EnergyLossUpdator::compute(), MultiRefittedTS::computeFreeTrajectoryState(), GsfConstraintAtVertex::constrainAtPoint(), ReferenceTrajectory::construct(), TwoBodyDecayTrajectory::constructSingleTsosWithErrors(), GlobalMuonTrackMatcher::convertToTSOSTk(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), NavVolume6Faces::crossToNextVolume(), MaterialEffectsUpdator::deltaLocalError(), GsfMaterialEffectsUpdator::deltaLocalErrors(), MaterialEffectsUpdator::deltaP(), GsfMaterialEffectsUpdator::deltaPs(), AlignmentMonitorTracksFromTrajectories::event(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateFullState(), AnalyticalImpactPointExtrapolator::extrapolateFullState(), TrackerValidationVariables::fillHitQuantities(), GsfTrackProducerBase::fillMode(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHit(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHitsByDet(), CosmicMuonSmoother::fit(), GsfTrajectoryFitter::fit(), NuclearTrackCorrector::getInitialState(), CRackTrajectoryBuilder::innerState(), TransientInitialStateEstimator::innerState(), GlobalTrackerMuonAlignment::misalignMuonL(), MultiTrajectoryStateMode::momentumFromModeLocal(), GlobalTrackerMuonAlignment::muonFitter(), GsfMultipleScatteringUpdator::newArguments(), MaterialEffectsUpdator::newArguments(), GsfBetheHeitlerUpdator::newArguments(), oldMUcompute(), TrajectoryStateWithArbitraryError::operator()(), MultiTrajectoryStateMode::positionFromModeLocal(), cms::CosmicTrackFinder::produce(), TrackingRecHitPropagator::project(), RecHitPropagator::propagate(), NavPropagator::propagateInVolume(), NavPropagator::propagateWithPath(), KalmanAlignmentTrackRefitter::refitSingleTracklet(), NuclearInteractionFinder::rescaleError(), CosmicMuonUtilities::reverseDirection(), GlobalMuonTrackMatcher::samePlane(), SeedTransformer::seedTransform(), CosmicMuonSmoother::smooth(), GsfMultipleScatteringUpdator::storeArguments(), GsfBetheHeitlerUpdator::storeArguments(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), GlobalTrackerMuonAlignment::trackFitter(), GsfTrajectorySmoother::trajectories(), DualBzeroTrajectoryFactory::trajectories(), DualTrajectoryFactory::trajectories(), TrackTransformer::transform(), GaussianStateConversions::tsosFromMultiGaussianState(), MultiGaussianStateTransform::tsosFromSingleState(), KFStripUpdator::update(), GsfMultiStateUpdator::update(), SiTrackerMultiRecHitUpdator::update(), KFStrip1DUpdator::update(), HICMuonUpdator::updateBarrel(), SiTrackerMultiRecHitUpdatorMTF::updatecomponents(), HICMuonUpdator::updateEndcap(), VolumeMaterialEffectsUpdator::updateState(), GsfMaterialEffectsUpdator::updateState(), MaterialEffectsUpdator::updateStateInPlace(), HICTrajectoryBuilder::updateTrajectory(), and GsfMaterialEffectsUpdator::weights().

                                 {
    return data().surface();
  }
SurfaceSide TrajectoryStateOnSurface::surfaceSide ( ) const [inline]
void TrajectoryStateOnSurface::swap ( TrajectoryStateOnSurface rh) [inline]

Definition at line 102 of file TrajectoryStateOnSurface.h.

References ProxyBase< T, Cloner >::swap().

Referenced by swap().

                                           {
    Base::swap(rh);
  }
double TrajectoryStateOnSurface::transverseCurvature ( ) const [inline]
void TrajectoryStateOnSurface::update ( const LocalTrajectoryParameters p,
const Surface aSurface,
const MagneticField field,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)

Mutator from local parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely. If the underlying trajectory state supports updates, it will be updated, otherwise this method will just behave like creating a new TSOS (which will make a new BasicSingleTrajectoryState)

Definition at line 60 of file TrajectoryStateOnSurface.cc.

References ProxyBase< T, Cloner >::data(), TrajectoryStateOnSurface(), and ProxyBase< T, Cloner >::unsharedData().

Referenced by SeedFromGenericPairOrTriplet::buildSeed(), MaterialEffectsUpdator::updateStateInPlace(), and TrajectorySegmentBuilder::updateTrajectory().

{
    if (data().canUpdateLocalParameters()) {
        unsharedData().update(p, aSurface, field, side);
    } else {
        *this = TrajectoryStateOnSurface(p, aSurface, field, side);
    }
}
void TrajectoryStateOnSurface::update ( const LocalTrajectoryParameters p,
const LocalTrajectoryError err,
const Surface aSurface,
const MagneticField field,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface,
double  weight = 1. 
)

Mutator from local parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely. For multi-states the weight should be specified explicitely. If the underlying trajectory state supports updates, it will be updated, otherwise this method will just behave like creating a new TSOS (which will make a new BasicSingleTrajectoryState)

Definition at line 74 of file TrajectoryStateOnSurface.cc.

References ProxyBase< T, Cloner >::data(), TrajectoryStateOnSurface(), and ProxyBase< T, Cloner >::unsharedData().

{
   if (data().canUpdateLocalParameters()) {
        unsharedData().update(p, err, aSurface, field, side, weight);
    } else {
        *this = TrajectoryStateOnSurface(p, err, aSurface, field, side, weight);
    }
}
double TrajectoryStateOnSurface::weight ( ) const [inline]