CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Types
TrajectoryStateOnSurface Class Reference

#include <TrajectoryStateOnSurface.h>

Inheritance diagram for TrajectoryStateOnSurface:
ProxyBase11< T >

Public Types

using Components = BasicTrajectoryState::Components
 

Public Member Functions

const CartesianTrajectoryError cartesianError () const
 
TrackCharge charge () const
 
Components const & components () const
 
const CurvilinearTrajectoryErrorcurvilinearError () const
 
FreeTrajectoryState const * freeState (bool withErrors=true) const
 
FreeTrajectoryState const * freeTrajectoryState (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
 
TrajectoryStateOnSurfaceoperator= (TrajectoryStateOnSurface &&rh) noexcept
 
TrajectoryStateOnSurfaceoperator= (TrajectoryStateOnSurface const &rh) noexcept
 
void rescaleError (double factor)
 
CurvilinearTrajectoryErrorsetCurvilinearError ()
 
double signedInverseMomentum () const
 
bool singleState () const
 
const SurfaceTypesurface () const
 
SurfaceSide surfaceSide () const
 Position relative to material, defined relative to momentum vector. More...
 
void swap (TrajectoryStateOnSurface &rh) noexcept
 
 TrajectoryStateOnSurface ()
 
 TrajectoryStateOnSurface (Base::pointer p)
 Constructor from one of the basic states. More...
 
 TrajectoryStateOnSurface (BasicTrajectoryState *p)
 
 TrajectoryStateOnSurface (BasicSingleTrajectoryState *p)
 
 TrajectoryStateOnSurface (TrajectoryStateOnSurface &rh) noexcept
 
 TrajectoryStateOnSurface (TrajectoryStateOnSurface const &rh) noexcept
 
 TrajectoryStateOnSurface (TrajectoryStateOnSurface &&rh) noexcept
 
template<typename... Args>
 TrajectoryStateOnSurface (Args &&... args)
 
double transverseCurvature () const
 
void update (const LocalTrajectoryParameters &p, const SurfaceType &aSurface, const MagneticField *field, SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 
void update (const LocalTrajectoryParameters &p, SurfaceSide side)
 
void update (const LocalTrajectoryParameters &p, const LocalTrajectoryError &err, SurfaceSide side)
 
void update (const LocalTrajectoryParameters &p, const LocalTrajectoryError &err, const SurfaceType &aSurface, const MagneticField *field, SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 
double weight () const
 
 ~TrajectoryStateOnSurface ()
 

Private Types

typedef BasicTrajectoryState::Proxy Base
 
typedef BasicTrajectoryState BTSOS
 
typedef BasicTrajectoryState::SurfaceSide SurfaceSide
 
typedef BasicTrajectoryState::SurfaceType SurfaceType
 
- Private Types inherited from ProxyBase11< T >
using pointer = std::shared_ptr< T >
 

Additional Inherited Members

- Private Member Functions inherited from ProxyBase11< T >
void check () const
 
const Tdata () const
 
void destroy () noexcept
 
bool isValid () const
 
template<typename U >
ProxyBase11operator= (std::shared_ptr< U > p)
 
ProxyBase11operator= (ProxyBase11 &&other) noexcept=default
 
ProxyBase11operator= (const ProxyBase11 &other)=default
 
 ProxyBase11 ()
 
 ProxyBase11 (T *p)
 
template<typename U >
 ProxyBase11 (std::shared_ptr< U > p)
 
 ProxyBase11 (ProxyBase11 &&other) noexcept=default
 
 ProxyBase11 (ProxyBase11 const &other)=default
 
int references () const
 
void reset ()
 
TsharedData ()
 
void swap (ProxyBase11 &other) noexcept
 
TunsharedData ()
 
 ~ProxyBase11 () noexcept
 

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 16 of file TrajectoryStateOnSurface.h.

Member Typedef Documentation

◆ Base

Definition at line 20 of file TrajectoryStateOnSurface.h.

◆ BTSOS

Definition at line 17 of file TrajectoryStateOnSurface.h.

◆ Components

Definition at line 84 of file TrajectoryStateOnSurface.h.

◆ SurfaceSide

Definition at line 19 of file TrajectoryStateOnSurface.h.

◆ SurfaceType

Definition at line 18 of file TrajectoryStateOnSurface.h.

Constructor & Destructor Documentation

◆ TrajectoryStateOnSurface() [1/8]

TrajectoryStateOnSurface::TrajectoryStateOnSurface ( )
inline

Definition at line 24 of file TrajectoryStateOnSurface.h.

Referenced by update().

24 {}

◆ TrajectoryStateOnSurface() [2/8]

TrajectoryStateOnSurface::TrajectoryStateOnSurface ( Base::pointer  p)
inlineexplicit

Constructor from one of the basic states.

Definition at line 26 of file TrajectoryStateOnSurface.h.

◆ TrajectoryStateOnSurface() [3/8]

TrajectoryStateOnSurface::TrajectoryStateOnSurface ( BasicTrajectoryState p)
inlineexplicit

Definition at line 27 of file TrajectoryStateOnSurface.h.

◆ TrajectoryStateOnSurface() [4/8]

TrajectoryStateOnSurface::TrajectoryStateOnSurface ( BasicSingleTrajectoryState p)
inlineexplicit

Definition at line 28 of file TrajectoryStateOnSurface.h.

◆ ~TrajectoryStateOnSurface()

TrajectoryStateOnSurface::~TrajectoryStateOnSurface ( )
inline

Definition at line 30 of file TrajectoryStateOnSurface.h.

30 {}

◆ TrajectoryStateOnSurface() [5/8]

TrajectoryStateOnSurface::TrajectoryStateOnSurface ( TrajectoryStateOnSurface rh)
inlinenoexcept

Definition at line 32 of file TrajectoryStateOnSurface.h.

32 : Base(rh) {}
BasicTrajectoryState::Proxy Base

◆ TrajectoryStateOnSurface() [6/8]

TrajectoryStateOnSurface::TrajectoryStateOnSurface ( TrajectoryStateOnSurface const &  rh)
inlinenoexcept

Definition at line 34 of file TrajectoryStateOnSurface.h.

34 : Base(rh) {}
BasicTrajectoryState::Proxy Base

◆ TrajectoryStateOnSurface() [7/8]

TrajectoryStateOnSurface::TrajectoryStateOnSurface ( TrajectoryStateOnSurface &&  rh)
inlinenoexcept

Definition at line 36 of file TrajectoryStateOnSurface.h.

36 : Base(std::forward<Base>(rh)) {}
BasicTrajectoryState::Proxy Base

◆ TrajectoryStateOnSurface() [8/8]

template<typename... Args>
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( Args &&...  args)
inlineexplicit

Definition at line 49 of file TrajectoryStateOnSurface.h.

50  : Base(BTSOS::churn<BasicSingleTrajectoryState>(std::forward<Args>(args)...)) {}
BasicTrajectoryState::Proxy Base

Member Function Documentation

◆ cartesianError()

const CartesianTrajectoryError TrajectoryStateOnSurface::cartesianError ( ) const
inline

◆ charge()

TrackCharge TrajectoryStateOnSurface::charge ( void  ) const
inline

◆ components()

Components const& TrajectoryStateOnSurface::components ( ) const
inline

◆ curvilinearError()

const CurvilinearTrajectoryError& TrajectoryStateOnSurface::curvilinearError ( ) const
inline

◆ freeState()

FreeTrajectoryState const* TrajectoryStateOnSurface::freeState ( bool  withErrors = true) const
inline

Definition at line 58 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch(), LayerCollector::allLayers(), MuonAlignmentAnalyzer::analyze(), DTChamberEfficiency::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SignedTransverseImpactParameter::apply(), CosmicMuonTrajectoryBuilder::build(), DAFTrackProducerAlgorithm::buildTrack(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), DynamicTruncation::compatibleDets(), TrackEfficiencyMonitor::compatibleLayers(), HTrack::computeResolutionAndPull(), ReferenceTrajectory::construct(), GlobalMuonTrackMatcher::convertToTSOSMuHit(), SimpleNavigableLayer::crossingState(), TransverseImpactPointExtrapolator::doExtrapolation(), HTrack::Fill(), HLTMuonPointingFilter::filter(), CSCEfficiency::filter(), SETFilter::findChi2(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), NuclearInteractionFinder::findMeasurementsFromTSOS(), TrackEfficiencyMonitor::findNextLayer(), BaseCkfTrajectoryBuilder::findStateAndLayers(), freeTrajectoryState(), TrajSeedMatcher::getNrValidLayersAlongTraj(), MuonTrackAnalyzer::getSeedTSOS(), TrackDetectorAssociator::getTAMuonChamberMatches(), HDetIdAssociator::getTrajectory(), CosmicTrackingRegion::hits_(), TSGForOIDNN::makeSeedsFromHitDoublets(), StateOnTrackerBound::operator()(), TSCPBuilderNoMaterial::operator()(), TSCBLBuilderWithPropagator::operator()(), CtfSpecialSeedGenerator::postCheck(), MuonUpdatorAtVertex::propagate(), CachedTrajectory::propagate(), StandAloneMuonTrajectoryBuilder::propagateTheSeedTSOS(), MuonUpdatorAtVertex::propagateToNominalLine(), Geant4ePropagator::propagateWithPath(), SmartPropagator::propagateWithPath(), Propagator::propagateWithPath(), TrackEfficiencyMonitor::trackerAcceptance(), TSGFromPropagation::trackerSeeds(), FastTSGFromPropagation::trackerSeeds(), StandAloneMuonTrajectoryBuilder::trajectories(), CosmicMuonTrajectoryBuilder::trajectories(), and SimpleNavigableLayer::wellInside().

58 { return data().freeTrajectoryState(); }
const T & data() const
Definition: ProxyBase11.h:51

◆ freeTrajectoryState()

FreeTrajectoryState const* TrajectoryStateOnSurface::freeTrajectoryState ( bool  withErrors = true) const
inline

◆ globalDirection()

GlobalVector TrajectoryStateOnSurface::globalDirection ( ) const
inline

◆ globalMomentum()

GlobalVector TrajectoryStateOnSurface::globalMomentum ( ) const
inline

Definition at line 66 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), MuonSeedsAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), TestTrackHits::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), OverlapValidation::analyzeTrajectory(), SignedImpactParameter3D::apply(), MuonSimHitProducer::applyMaterialEffects(), LayerCrossingSide::barrelSide(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), FWTrackProxyBuilderFullFramework::buildTrack(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), MuonTrajectoryCleaner::clean(), MuonCkfTrajectoryBuilder::collectMeasurement(), MTDDetSector::compatibleDets(), MultipleScatteringUpdator::compute(), SiStripGainFromData::ComputeChargeOverPath(), Phase2EndcapSingleRing::computeCrossing(), CompositeTECWedge::computeCrossings(), TBLayer::computeCrossings(), TECLayer::computeCrossings(), TIDRing::computeCrossings(), TOBRod::computeCrossings(), Phase2EndcapRing::computeCrossings(), PixelBlade::computeCrossings(), Phase2OTBarrelRod::computeCrossings(), Phase1PixelBlade::computeCrossings(), CompositeTECPetal::computeCrossings(), PixelForwardLayer::computeCrossings(), PixelForwardLayerPhase1::computeCrossings(), TIBRing::computeCrossings(), TIBLayer::computeWindowSize(), fastsim::TrackerSimHitProducer::createHitOnDetector(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), SignedImpactParameter3D::distance(), SignedImpactParameter3D::distanceWithJetAxis(), OutsideInMuonSeeder::doDebug(), TransverseImpactPointExtrapolator::doExtrapolation(), OutsideInMuonSeeder::doLayer(), PrintoutHelper::dumpMeasurement(), TSGFromPropagation::dxyDis(), FastTSGFromPropagation::dxyDis(), LayerCrossingSide::endcapSide(), CosmicMuonTrajectoryBuilder::estimateDirection(), TrajectoryExtrapolatorToLine::extrapolate(), fastProp(), tadqm::TrackAnalyzer::fillHistosForState(), MuonTrackAnalyzer::fillPlots(), CosmicMuonSmoother::fit(), ConversionSeedFilter::getKine(), MuonTrackAnalyzer::getSimTrack(), Phase2EndcapLayerDoubleDisk::groupedCompatibleDetsV(), tkDetUtil::groupedCompatibleDetsV(), MultiHitGeneratorFromChi2::hitSets(), GeomDetCompatibilityChecker::isCompatible(), MTDSectorForwardDoubleLayer::isInsideOut(), MuRingForwardDoubleLayer::isInsideOut(), MTDRingForwardDoubleLayer::isInsideOut(), IPTools::jetTrackDistance(), LowPtGsfElectronSeedProducer::lightGsfTracking(), IPTools::linearizedSignedImpactParameter3D(), TrajectoryManager::makeSinglePSimHit(), GlobalCosmicMuonTrajectoryBuilder::match(), GlobalMuonTrackMatcher::match_Rmom(), SeedMatcher::matchSimTrack(), MatcherUsingTracksAlgorithm::matchWithPropagation(), TkGluedMeasurementDet::measurements(), oldMUcompute(), BeamSpotAlignmentDerivatives::operator()(), TrackFilterForPVFinding::operator()(), MomentumDependentPedeLabeler::parameterLabel(), trajectoryStateTransform::persistentState(), DynamicTruncation::preliminaryFit(), SeedToTrackProducer::produce(), L2MuonSeedGeneratorFromL1T::produce(), L2MuonSeedGenerator::produce(), L2MuonSeedGeneratorFromL1TkMu::produce(), MuonSimHitProducer::produce(), GoodSeedProducer::produce(), TrackExtrapolator::propagateTrackToVolume(), TkConvValidator::recalculateMomentumAtFittedVertex(), CosmicMuonUtilities::reverseDirection(), TIDLayer::ringIndicesByCrossingProximity(), tkDetUtil::ringIndicesByCrossingProximity(), SeedingOTEDProducer::run(), MuonSeedCleaner::SeedMomentum(), CosmicMuonSmoother::smooth(), FastTSGFromPropagation::stateOnDet(), Phase2EndcapLayerDoubleDisk::subDiskIndicesByCrossingProximity(), TSGFromPropagation::trackerSeeds(), FastTSGFromPropagation::trackerSeeds(), MuonTrackAnalyzer::tracksAnalysis(), CosmicMuonTrajectoryBuilder::trajectories(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), GsfTrajectorySmoother::trajectory(), KFTrajectorySmoother::trajectory(), GlobalMuonRefitter::transform(), TSGForOIDNN::updateFeatureMap(), reco::TrackGhostTrackState::vertexStateOnGhostTrack(), reco::TrackGhostTrackState::vertexStateOnMeasurement(), TSGFromPropagation::zDis(), and FastTSGFromPropagation::zDis().

66 { return data().globalMomentum(); }
const T & data() const
Definition: ProxyBase11.h:51

◆ globalParameters()

const GlobalTrajectoryParameters& TrajectoryStateOnSurface::globalParameters ( void  ) const
inline

Definition at line 64 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by LayerCollector::allLayers(), OverlapValidation::analyzeTrajectory(), MuonTrackLoader::buildTrackExtra(), TrackExtenderWithMTDT< TrackCollection >::buildTrackExtra(), TangentApproachInRPhi::calculate(), TwoTrackMinimumDistance::calculate(), ClosestApproachInRPhi::calculate(), TkGluedMeasurementDet::checkHitProjection(), TkGluedMeasurementDet::collectRecHits(), TrajectoryStateCombiner::combine(), ReferenceTrajectory::construct(), MkFitSeedConverter::convertSeeds(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), ConversionForwardEstimator::estimate(), ConversionBarrelEstimator::estimate(), fastProp(), TrackingNtuple::fillSeeds(), NuclearTrackCorrector::getNewTrackExtra(), GeomDetCompatibilityChecker::isCompatible(), TrajectoryStateWithArbitraryError::operator()(), PixelHitMatcher::BarrelMeasurementEstimator::operator()(), PixelHitMatcher::ForwardMeasurementEstimator::operator()(), operator<<(), TkGluedMeasurementDet::projectOnGluedDet(), RecHitPropagator::propagate(), ReferenceTrajectory::propagate(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), TkGluedMeasurementDet::testStrips(), PerigeeRefittedTrackState::trajectoryStateOnSurface(), GsfMultiStateUpdator::update(), KFStrip1DUpdator::update(), and GsfMaterialEffectsUpdator::updateState().

64 { return data().globalParameters(); }
const T & data() const
Definition: ProxyBase11.h:51

◆ globalPosition()

GlobalPoint TrajectoryStateOnSurface::globalPosition ( ) const
inline

Definition at line 65 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by IPTools::absoluteImpactParameter(), MTDDetSector::add(), CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), LayerCollector::allLayers(), CkfDebugger::analyseCompatibleMeasurements(), TrackingRecoMaterialAnalyser::analyze(), MuonEnergyDepositAnalyzer::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), SiPixelHitEfficiencySource::analyze(), ElectronSeedAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), TestTrackHits::analyze(), L1MuonRecoTreeProducer::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), OverlapValidation::analyzeTrajectory(), SignedImpactParameter3D::apply(), SignedDecayLength3D::apply(), SignedTransverseImpactParameter::apply(), MuonSimHitProducer::applyMaterialEffects(), L2MuonSeedGenerator::associateOfflineSeedToL1(), L2MuonSeedGeneratorFromL1T::associateOfflineSeedToL1(), L2MuonSeedGeneratorFromL1TkMu::associateOfflineSeedToL1(), LayerCrossingSide::barrelSide(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), FWTrackProxyBuilderFullFramework::buildTrack(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), MuonCkfTrajectoryBuilder::collectMeasurement(), MuDetRing::compatible(), MTDDetRing::compatible(), BarrelDetLayer::compatible(), MTDDetSector::compatible(), MTDSectorForwardLayer::compatibleDets(), MTDTrayBarrelLayer::compatibleDets(), MuRodBarrelLayer::compatibleDets(), MTDRingForwardLayer::compatibleDets(), MuRingForwardLayer::compatibleDets(), MTDDetRing::compatibleDets(), MuDetRing::compatibleDets(), MTDDetTray::compatibleDets(), MuDetRod::compatibleDets(), MTDDetSector::compatibleDets(), PixelRod::compatibleDetsV(), TrackEfficiencyMonitor::compatibleLayers(), Phase2EndcapSingleRing::computeCrossing(), CompositeTECWedge::computeCrossings(), TBLayer::computeCrossings(), TECLayer::computeCrossings(), TIDRing::computeCrossings(), TOBRod::computeCrossings(), Phase2EndcapRing::computeCrossings(), PixelBlade::computeCrossings(), Phase2OTBarrelRod::computeCrossings(), Phase1PixelBlade::computeCrossings(), CompositeTECPetal::computeCrossings(), PixelForwardLayer::computeCrossings(), PixelForwardLayerPhase1::computeCrossings(), TIBRing::computeCrossings(), GsfTrackProducerBase::computeModeAtTM(), GlobalMuonTrackMatcher::convertToTSOSMuHit(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), fastsim::TrackerSimHitProducer::createHitOnDetector(), OutInConversionSeedFinder::createSeed(), ResidualRefitting::cylExtrapTrkSam(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), MultipleScatteringGeometry::detLayers(), SignedImpactParameter3D::distance(), SignedImpactParameter3D::distanceWithJetAxis(), OutsideInMuonSeeder::doDebug(), TransverseImpactPointExtrapolator::doExtrapolation(), OutsideInMuonSeeder::doLayer(), CSCPairResidualsConstraint::dphidzFromTrack(), PrintoutHelper::dumpMeasurement(), TSGFromPropagation::dxyDis(), FastTSGFromPropagation::dxyDis(), LayerCrossingSide::endcapSide(), EtaPhiMeasurementEstimator::estimate(), EtaPhiEstimator::estimate(), CosmicMuonTrajectoryBuilder::estimateDirection(), TrajectoryExtrapolatorToLine::extrapolate(), PropagateToMuon::extrapolate(), fastProp(), HLTMuonPointingFilter::filter(), DynamicTruncation::filter(), ConversionTrackEcalImpactPoint::find(), InOutConversionSeedFinder::findSeeds(), CosmicMuonSmoother::fit(), MuonShowerInformationFiller::getCompatibleDets(), NuclearTrackCorrector::getInitialState(), ConversionSeedFilter::getKine(), ConversionProducer::getTrackImpactPosition(), HDetIdAssociator::getTrajectory(), reco::TrackGhostTrackState::globalPosition(), Phase2OTtiltedBarrelLayer::groupedCompatibleDetsV(), Phase2EndcapLayerDoubleDisk::groupedCompatibleDetsV(), tkDetUtil::groupedCompatibleDetsV(), CosmicTrackingRegion::hits_(), TwoBodyDecayConstraintProducer::innermostState(), TwoBodyDecayMomConstraintProducer::innermostState(), L2MuonSeedGeneratorFromL1T::isAssociateOfflineSeedToL1(), GeomDetCompatibilityChecker::isCompatible(), MTDSectorForwardDoubleLayer::isInsideOut(), MTDRingForwardDoubleLayer::isInsideOut(), MuRingForwardDoubleLayer::isInsideOut(), IPTools::jetTrackDistance(), GlobalTrackQualityProducer::kink(), reco::TrackGhostTrackState::linearize(), IPTools::linearizedSignedImpactParameter3D(), TrajectoryManager::makeSinglePSimHit(), GlobalMuonTrackMatcher::match(), GlobalCosmicMuonTrajectoryBuilder::match(), L1MuonMatcherAlgoT< edm::Transition::BeginRun >::match(), CandidateSimMuonMatcher::match(), GlobalMuonTrackMatcher::match_D(), GlobalMuonTrackMatcher::match_Rpos(), L1MuonMatcherAlgoT< edm::Transition::BeginRun >::matchGeneric(), SeedMatcher::matchSimTrack(), OuterEstimator< Algo >::maximalLocalDisplacement(), MuonGmtPair::MuonGmtPair(), MuonResidualsFromTrack::MuonResidualsFromTrack(), HGCalGeometry::neighborZ(), StateOnTrackerBound::operator()(), TSCPBuilderNoMaterial::operator()(), TSCBLBuilderWithPropagator::operator()(), CRackTrajectoryBuilder::CompareDetByTraj::operator()(), operator<<(), TIDLayer::overlapInR(), tkDetUtil::overlapInR(), ShallowTrackClustersProducer::produce(), MuonReSeeder::produce(), pat::L1MuonMatcher::produce(), pat::HLTL1MuonMatcher::produce(), HGCalTrackCollectionProducer::produce(), L2MuonSeedGeneratorFromL1T::produce(), L2MuonSeedGenerator::produce(), L2MuonSeedGeneratorFromL1TkMu::produce(), MuonSimHitProducer::produce(), BoostedDoubleSVProducer::produce(), TriggerMatcherToHLTDebug::produce(), IPProducer< Container, Base, Helper >::produce(), MuonUpdatorAtVertex::propagate(), spr::propagateCalo(), spr::propagateHCAL(), MuonUpdatorAtVertex::propagateToNominalLine(), cms::MuonTCMETValueMapProducer::propagateTrack(), spr::propagateTrackerEnd(), TCMETAlgo::propagateTrackToCalorimeterFace(), TrackExtrapolator::propagateTrackToVolume(), TrackAssociatorByPositionImpl::quality(), StandAloneMuonFilter::refit(), CosmicMuonUtilities::reverseDirection(), TIDLayer::ringIndicesByCrossingProximity(), tkDetUtil::ringIndicesByCrossingProximity(), SeedingOTEDProducer::run(), btagbtvdeep::seedingTracksToFeatures(), MuonSeedCleaner::SeedPosition(), L1Analysis::L1AnalysisRecoMuon2::SetMuon(), IPTools::signedDecayLength3D(), CosmicMuonSmoother::smooth(), CRackTrajectoryBuilder::SortHits(), CosmicMuonSmoother::sortHitsAlongMom(), InOutConversionSeedFinder::startSeed(), CosmicMuonUtilities::stepPropagate(), Phase2EndcapLayerDoubleDisk::subDiskIndicesByCrossingProximity(), StripSubClusterShapeFilterBase::testLastHit(), TrackEfficiencyMonitor::testSTATracks(), TkGluedMeasurementDet::testStrips(), TrackEfficiencyMonitor::testTrackerTracks(), TracktoRPC::thePoints(), TrackEfficiencyMonitor::trackerAcceptance(), TSGFromPropagation::trackerSeeds(), FastTSGFromPropagation::trackerSeeds(), reco::JetSignalVertexCompatibilityAlgo::trackVertexCompat(), CosmicMuonTrajectoryBuilder::trajectories(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), GsfTrajectorySmoother::trajectory(), KFTrajectorySmoother::trajectory(), GlobalMuonRefitter::transform(), ResidualRefitting::trkExtrap(), TrackExtenderWithMTDT< TrackCollection >::tryETLLayers(), MuonTrajectoryUpdator::update(), TSGForOIDNN::updateFeatureMap(), reco::TrackGhostTrackState::vertexStateOnGhostTrack(), reco::TrackGhostTrackState::vertexStateOnMeasurement(), SimpleNavigableLayer::wellInside(), TSGFromPropagation::zDis(), and FastTSGFromPropagation::zDis().

65 { return data().globalPosition(); }
const T & data() const
Definition: ProxyBase11.h:51

◆ hasError()

bool TrajectoryStateOnSurface::hasError ( void  ) const
inline

◆ isValid()

bool TrajectoryStateOnSurface::isValid ( void  ) const
inline

Definition at line 54 of file TrajectoryStateOnSurface.h.

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

Referenced by ntupleDataFormat._Object::_checkIsValid(), IPTools::absoluteImpactParameter(), CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), PFTrackTransformer::addPointsAndBrems(), MultiTrajectoryStateAssembler::addState(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), DeDxDiscriminatorLearner::algoAnalyze(), SiStripGainFromData::algoAnalyze(), LayerCollector::allLayers(), CkfDebugger::analyseRecHitExistance(), TrackingRecoMaterialAnalyser::analyze(), MuonAlignmentAnalyzer::analyze(), SiPixelTrackResidualSource::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), SiPixelHitEfficiencySource::analyze(), ElectronSeedAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), SiPixelCalSingleMuonAnalyzer::analyze(), DTChamberEfficiency::analyze(), TestTrackHits::analyze(), NearbyPixelClustersAnalyzer::analyze(), analyzer::SiPixelLorentzAngle::analyze(), SeedMultiplicityAnalyzer::analyze(), SiPixelLorentzAnglePCLWorker::analyze(), L1MuonRecoTreeProducer::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), OverlapValidation::analyzeTrajectory(), SignedImpactParameter3D::apply(), SignedTransverseImpactParameter::apply(), SignedDecayLength3D::apply(), TrackAssociatorByPositionImpl::associateRecoToSim(), TrackAssociatorByPositionImpl::associateSimToReco(), TempTrajectory::badForCCC(), Trajectory::badForCCC(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), SeedFromConsecutiveHitsCreator::buildSeed(), SeedFromGenericPairOrTriplet::buildSeed(), SeedForPhotonConversion1Leg::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), FWTrackProxyBuilderFullFramework::buildTrack(), multiTrajectoryStateMode::chargeFromMode(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), ConversionProducer::checkPhi(), reco::modules::TrackerTrackHitFilter::checkPXLCorrClustCharge(), MuonTrajectoryCleaner::clean(), MuonCkfTrajectoryBuilder::collectMeasurement(), TkGluedMeasurementDet::collectRecHits(), CollinearFitAtTM2::CollinearFitAtTM2(), MTDSectorForwardDoubleLayer::compatible(), MTDDetRing::compatible(), MuDetRing::compatible(), BarrelDetLayer::compatible(), ForwardDetLayer::compatible(), PixelClusterShapeSeedComparitor::compatible(), MTDDetTray::compatible(), MuDetRod::compatible(), MTDDetSector::compatible(), MTDRingForwardDoubleLayer::compatible(), MuRingForwardDoubleLayer::compatible(), PixelRod::compatibleDetsV(), TrackEfficiencyMonitor::compatibleLayers(), GsfTrackProducerBase::computeModeAtTM(), GsfConstraintAtVertex::constrainAtPoint(), GlobalMuonTrackMatcher::convertToTSOSMuHit(), GlobalMuonTrackMatcher::convertToTSOSTk(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), OutInConversionSeedFinder::createSeed(), InOutConversionSeedFinder::createSeed(), CaloDetIdAssociator::crossedElement(), SimpleNavigableLayer::crossingState(), L1MuonRecoTreeProducer::cylExtrapTrkSam(), ResidualRefitting::cylExtrapTrkSam(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), MultipleScatteringGeometry::detLayers(), SignedImpactParameter3D::distanceWithJetAxis(), OutsideInMuonSeeder::doDebug(), OutsideInMuonSeeder::doLayer(), CSCPairResidualsConstraint::dphidzFromTrack(), SiStripGainsPCLWorker::dqmAnalyze(), PrintoutHelper::dumpMeasurement(), CosmicMuonTrajectoryBuilder::estimateDirection(), TrajectoryExtrapolatorToLine::extrapolate(), AnalyticalImpactPointExtrapolator::extrapolate(), TransverseImpactPointExtrapolator::extrapolate(), AnalyticalTrajectoryExtrapolatorToLine::extrapolate(), PropagateToMuon::extrapolate(), AnalyticalImpactPointExtrapolator::extrapolateFullState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateFullState(), InOutConversionSeedFinder::fillClusterSeeds(), TrackerValidationVariables::fillHitQuantities(), MuonKinkFinder::fillTrkKink(), HLTMuonPointingFilter::filter(), CSCEfficiency::filter(), ConversionTrackEcalImpactPoint::find(), NearbyPixelClustersProducer::findAllTrajectoriesCrossings(), SETFilter::findChi2(), CkfTrajectoryBuilder::findCompatibleMeasurements(), TrackEfficiencyMonitor::findNextLayer(), CollinearFitAtTM::fit(), CosmicMuonSmoother::fit(), GsfTrajectoryFitter::fitOne(), KFTrajectoryFitter::fitOne(), CosmicMuonTrajectoryBuilder::flipTrajectory(), MuonTrackAnalyzer::getSeedTSOS(), TrackDetectorAssociator::getTAMuonChamberMatches(), ConversionProducer::getTrackImpactPosition(), HDetIdAssociator::getTrajectory(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), GlobalTrajectoryBuilderBase::getTransientRecHits(), CosmicTrackingRegion::hits_(), SeedFromProtoTrack::init(), TransientInitialStateEstimator::innerState(), GeomDetCompatibilityChecker::isCompatible(), reco::TrackGhostTrackState::isValid(), PerigeeLinearizedTrackState::isValid(), IPTools::jetTrackDistance(), GlobalTrackQualityProducer::kink(), IPTools::linearizedSignedImpactParameter3D(), TSGForOIDNN::makeSeedsFromHitDoublets(), TSGForOI::makeSeedsFromHits(), TSGForOIDNN::makeSeedsFromHits(), TSGForOIFromL2::makeSeedsFromHits(), L1MuonMatcherAlgoT< edm::Transition::BeginRun >::match(), GlobalMuonTrackMatcher::match(), CandidateSimMuonMatcher::match(), GlobalMuonTrackMatcher::match_Chi2(), TSGForOI::match_Chi2(), TSGForOIFromL2::match_Chi2(), GlobalMuonTrackMatcher::match_D(), GlobalMuonTrackMatcher::match_d(), GlobalMuonTrackMatcher::match_dist(), GlobalMuonTrackMatcher::match_Rmom(), GlobalMuonTrackMatcher::match_Rpos(), L1MuonMatcherAlgoT< edm::Transition::BeginRun >::matchGeneric(), SeedMatcher::matchSimTrack(), MatcherUsingTracksAlgorithm::matchWithPropagation(), MultiTrajectoryStateMerger::merge(), multiTrajectoryStateMode::momentumFromModeCartesian(), multiTrajectoryStateMode::momentumFromModeLocal(), multiTrajectoryStateMode::momentumFromModeP(), multiTrajectoryStateMode::momentumFromModePPhiEta(), multiTrajectoryStateMode::momentumFromModeQP(), GaussianStateConversions::multiGaussianStateFromTSOS(), MuonGmtPair::MuonGmtPair(), MuonResidualsFromTrack::MuonResidualsFromTrack(), HGCalGeometry::neighborZ(), GlobalTrackQualityProducer::newChi2(), BeamSpotAlignmentDerivatives::operator()(), StateOnTrackerBound::operator()(), FullConvolutionWithMaterial::operator()(), TSCBLBuilderWithPropagator::operator()(), TkClonerImpl::operator()(), multiTrajectoryStateMode::positionFromModeCartesian(), multiTrajectoryStateMode::positionFromModeLocal(), DAFTrackProducerAlgorithm::PrintHit(), EgammaHLTPixelMatchElectronAlgo::process(), TrajSeedMatcher::processSeed(), MuonReSeeder::produce(), pat::L1MuonMatcher::produce(), pat::HLTL1MuonMatcher::produce(), TSGForOI::produce(), TSGForOIFromL2::produce(), HGCalTrackCollectionProducer::produce(), SeedProducerFromSoA::produce(), TSGForOIDNN::produce(), TrackCandidateProducer::produce(), L2MuonSeedGeneratorFromL1T::produce(), L2MuonSeedGenerator::produce(), L2MuonSeedGeneratorFromL1TkMu::produce(), ShallowGainCalibration::produce(), MuonSimHitProducer::produce(), TrackerToMuonPropagator::produce(), BoostedDoubleSVProducer::produce(), TriggerMatcherToHLTDebug::produce(), cms::CosmicTrackFinder::produce(), PFElecTkProducer::produce(), IPProducer< Container, Base, Helper >::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), TrackingRecHitPropagator::project(), TkClonerImpl::project(), SeedingOTEDProducer::propagateAndUpdate(), spr::propagateCalo(), spr::propagateHCAL(), StandAloneMuonTrajectoryBuilder::propagateTheSeedTSOS(), cms::MuonTCMETValueMapProducer::propagateTrack(), spr::propagateTrackerEnd(), TCMETAlgo::propagateTrackToCalorimeterFace(), TrackExtrapolator::propagateTrackToVolume(), GsfPropagatorWithMaterial::propagateWithPath(), GsfTrackProducerBase::putInEvt(), core.AutoHandle.AutoHandle::ReallyLoad(), TkConvValidator::recalculateMomentumAtFittedVertex(), SimpleDAFHitCollector::recHits(), KFBasedPixelFitter::run(), SeedingOTEDProducer::run(), HIPAlignmentAlgorithm::run(), GlobalMuonTrackMatcher::samePlane(), btagbtvdeep::seedingTracksToFeatures(), BaseCkfTrajectoryBuilder::seedMeasurements(), SeedGeneratorForCRack::seeds(), SeedGeneratorForCosmics::seeds(), SeedTransformer::seedTransform(), L1Analysis::L1AnalysisRecoMuon2::SetMuon(), IPTools::signedDecayLength3D(), CosmicMuonSmoother::smooth(), CRackTrajectoryBuilder::SortHits(), CosmicMuonUtilities::stepPropagate(), L1MuonRecoTreeProducer::surfExtrapTrkSam(), ChargeSignificanceTrajectoryFilter::TBC(), ThresholdPtTrajectoryFilter::test(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), TracktoRPC::thePoints(), TrackEfficiencyMonitor::trackerAcceptance(), TSGFromPropagation::trackerSeeds(), FastTSGFromPropagation::trackerSeeds(), InOutConversionTrackFinder::tracks(), OutInConversionTrackFinder::tracks(), DualTrajectoryFactory::trajectories(), DualBzeroTrajectoryFactory::trajectories(), CosmicMuonTrajectoryBuilder::trajectories(), CosmicMuonSmoother::trajectories(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), GsfTrajectorySmoother::trajectory(), KFTrajectorySmoother::trajectory(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), trajectoryToResiduals(), TrackTransformer::transform(), SETFilter::transform(), ResidualRefitting::trkExtrap(), GsfMultiStateUpdator::update(), SiTrackerMultiRecHitUpdator::update(), MuonTrajectoryUpdator::update(), TSGForOIDNN::updateFeatureMap(), DynamicTruncation::updateWithCSChits(), DynamicTruncation::updateWithDThits(), SimpleNavigableLayer::wellInside(), and SignedTransverseImpactParameter::zImpactParameter().

54 { return Base::isValid() && data().isValid(); }
bool isValid() const
Definition: ProxyBase11.h:69
const T & data() const
Definition: ProxyBase11.h:51

◆ localDirection()

LocalVector TrajectoryStateOnSurface::localDirection ( ) const
inline

◆ localError()

const LocalTrajectoryError& TrajectoryStateOnSurface::localError ( ) const
inline

Definition at line 77 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by MuonResidualsFromTrack::addTrkCovMatrix(), CkfDebugger::analyseCompatibleMeasurements(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), OverlapValidation::analyzeTrajectory(), MkFitOutputConverter::backwardFit(), BzeroReferenceTrajectory::BzeroReferenceTrajectory(), SiTrackerMultiRecHitUpdator::calcParameters(), TkGluedMeasurementDet::checkHitProjection(), CollinearFitAtTM2::CollinearFitAtTM2(), TrajectoryStateCombiner::combine(), MTDSectorForwardDoubleLayer::compatible(), ForwardDetLayer::compatible(), MTDRingForwardDoubleLayer::compatible(), MuRingForwardDoubleLayer::compatible(), MTDSectorForwardLayer::compatibleDets(), MuRingForwardLayer::compatibleDets(), MTDRingForwardLayer::compatibleDets(), MultipleScatteringUpdator::compute(), GsfTrackProducerBase::computeModeAtTM(), PFGsfHelper::computeQpMode(), SiTrackerMultiRecHitUpdator::ComputeWeight(), ReferenceTrajectory::construct(), CaloDetIdAssociator::crossedElement(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), OutsideInMuonSeeder::doLayer(), MRHChi2MeasurementEstimator::estimate(), Chi2MeasurementEstimatorBase::estimate(), AlignmentMonitorGeneric::event(), AlignmentMonitorMuonResiduals::event(), TrackerValidationVariables::fillHitQuantities(), ApeEstimator::fillHitVariables(), CollinearFitAtTM::fit(), KFTrajectoryFitter::fitOne(), NuclearTrackCorrector::getInitialState(), TrackDetectorAssociator::getTAMuonChamberMatches(), TkPixelMeasurementDet::hasBadComponents(), TransientInitialStateEstimator::innerState(), deDxTools::isFarFromBorder(), ShallowGainCalibration::isFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), GsfTrackProducerBase::localParametersFromQpMode(), TRecHit5DParamConstraint::localPositionError(), GlobalMuonTrackMatcher::match_Chi2(), TSGForOI::match_Chi2(), TSGForOIFromL2::match_Chi2(), GlobalMuonTrackMatcher::match_dist(), SeedMatcher::matchSimTrack(), Chi2MeasurementEstimatorBase::maximalLocalDisplacement(), MeasurementExtractor::measuredError(), TkPixelMeasurementDet::measurements(), TkStripMeasurementDet::measurements(), GlobalTrackerMuonAlignment::muonFitter(), MuonResidualsFromTrack::MuonResidualsFromTrack(), oldMUcompute(), operator<<(), TRecHit5DParamConstraint::parametersError(), trajectoryStateTransform::persistentState(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), AlignmentMuonHIPTrajectorySelector::produce(), TrackAssociatorByPositionImpl::quality(), TkPhase2OTMeasurementDet::recHits(), TrajectorySegmentBuilder::segments(), CRackTrajectoryBuilder::SortHits(), FastTSGFromPropagation::stateOnDet(), ChargeSignificanceTrajectoryFilter::TBC(), TkGluedMeasurementDet::testStrips(), TrackEfficiencyMonitor::testTrackerTracks(), GlobalTrackerMuonAlignment::trackFitter(), DualTrajectoryFactory::trajectories(), DualBzeroTrajectoryFactory::trajectories(), Strip1DMeasurementTransformator::trajectoryError(), trajectoryToResiduals(), Tsos2DPhi::Tsos2DPhi(), Tsos2DZed::Tsos2DZed(), Tsos4D::Tsos4D(), GsfMultiStateUpdator::update(), GsfMaterialEffectsUpdator::updateState(), MaterialEffectsUpdator::updateStateInPlace(), SimpleNavigableLayer::wellInside(), MuRodBarrelLayer::xError(), and MTDTrayBarrelLayer::xError().

77 { return data().localError(); }
const T & data() const
Definition: ProxyBase11.h:51

◆ localMomentum()

LocalVector TrajectoryStateOnSurface::localMomentum ( ) const
inline

◆ localParameters()

const LocalTrajectoryParameters& TrajectoryStateOnSurface::localParameters ( ) const
inline

Definition at line 73 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by SiPixelTrackResidualSource::analyze(), SiPixelHitEfficiencySource::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), OverlapValidation::analyzeTrajectory(), MkFitOutputConverter::backwardFit(), TempTrajectory::badForCCC(), Trajectory::badForCCC(), TkStripMeasurementDet::buildSimpleRecHits(), BzeroReferenceTrajectory::BzeroReferenceTrajectory(), SiTrackerMultiRecHitUpdator::calcParameters(), CollinearFitAtTM2::CollinearFitAtTM2(), TrajectoryStateCombiner::combine(), TkPixelMeasurementDet::compHits(), GsfTrackProducerBase::computeModeAtTM(), PFGsfHelper::computeQpMode(), SiTrackerMultiRecHitUpdator::ComputeWeight(), ReferenceTrajectory::construct(), TwoBodyDecayTrajectory::constructSingleTsosWithErrors(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), SiStripBackplaneCalibration::derivatives(), TwoBowedSurfacesAlignmentParameters::derivatives(), MRHChi2MeasurementEstimator::estimate(), DualBzeroReferenceTrajectory::extractParameters(), DualReferenceTrajectory::extractParameters(), CollinearFitAtTM::fit(), KFTrajectoryFitter::fitOne(), NuclearTrackCorrector::getInitialState(), PixelClusterParameterEstimator::getParameters(), MTDClusterParameterEstimator::getParameters(), TransientInitialStateEstimator::innerState(), CRackTrajectoryBuilder::innerState(), ClusterParameterEstimator< Phase2TrackerCluster1D >::localParameters(), StripClusterParameterEstimator::localParameters(), GsfTrackProducerBase::localParametersFromQpMode(), ClusterParameterEstimator< Phase2TrackerCluster1D >::localParametersV(), StripClusterParameterEstimator::localParametersV(), GlobalMuonTrackMatcher::match_Chi2(), TSGForOI::match_Chi2(), TSGForOIFromL2::match_Chi2(), SeedMatcher::matchSimTrack(), MeasurementExtractor::measuredParameters(), GlobalTrackerMuonAlignment::misalignMuonL(), multiTrajectoryStateMode::momentumFromModeLocal(), GlobalTrackerMuonAlignment::muonFitter(), SegmentAlignmentDerivatives4D::operator()(), TrajectoryStateWithArbitraryError::operator()(), KarimakiAlignmentDerivatives::operator()(), TkClonerImpl::operator()(), BowedSurfaceAlignmentDerivatives::operator()(), operator<<(), TRecHit5DParamConstraint::parameters(), trajectoryStateTransform::persistentState(), cms::CosmicTrackFinder::produce(), ReferenceTrajectory::propagate(), GsfTrackProducerBase::putInEvt(), TrackAssociatorByPositionImpl::quality(), TkPhase2OTMeasurementDet::recHits(), TkStripMeasurementDet::recHits(), ReferenceTrajectory::ReferenceTrajectory(), TkStripMeasurementDet::simpleRecHits(), FastTSGFromPropagation::stateOnDet(), SiPixelLorentzAnglePCLWorker::surface_deformation(), ChargeSignificanceTrajectoryFilter::TBC(), GlobalTrackerMuonAlignment::trackFitter(), Strip1DMeasurementTransformator::trajectoryParameters(), Tsos2DPhi::Tsos2DPhi(), Tsos2DZed::Tsos2DZed(), Tsos4D::Tsos4D(), MultiGaussianStateTransform::tsosFromSingleState(), GsfMultiStateUpdator::update(), KFStrip1DUpdator::update(), GsfMaterialEffectsUpdator::updateState(), and MaterialEffectsUpdator::updateStateInPlace().

73 { return data().localParameters(); }
const T & data() const
Definition: ProxyBase11.h:51

◆ localPosition()

LocalPoint TrajectoryStateOnSurface::localPosition ( ) const
inline

Definition at line 74 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by CosmicTrajectoryBuilder::AddHit(), MuonDT2ChamberResidual::addResidual(), MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), CkfDebugger::analyseCompatibleMeasurements(), MuonAlignmentAnalyzer::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelCalSingleMuonAnalyzer::analyze(), NearbyPixelClustersAnalyzer::analyze(), analyzer::SiPixelLorentzAngle::analyze(), SiPixelLorentzAnglePCLWorker::analyze(), tkDetUtil::calculatePhiWindow(), TkGluedMeasurementDet::checkHitProjection(), MTDSectorForwardDoubleLayer::compatible(), MTDDetRing::compatible(), MuDetRing::compatible(), ForwardDetLayer::compatible(), MTDDetSector::compatible(), MTDRingForwardDoubleLayer::compatible(), MuRingForwardDoubleLayer::compatible(), MTDTrayBarrelLayer::compatibleDets(), MuRodBarrelLayer::compatibleDets(), TkPixelMeasurementDet::compHits(), fastsim::TrackerSimHitProducer::createHitOnDetector(), InsideBoundsMeasurementEstimator::estimate(), Chi2MeasurementEstimatorBase::estimate(), AlignmentMonitorTemplate::event(), AlignmentMonitorGeneric::event(), AlignmentMonitorMuonResiduals::event(), TSOSHistogramMaker::fill(), TrackerValidationVariables::fillHitQuantities(), ApeEstimator::fillHitVariables(), OverlapProblemTSOSPositionFilter::filter(), NearbyPixelClustersProducer::findAllTrajectoriesCrossings(), SiStripFineDelayTLA::findtrackangle(), KFTrajectoryFitter::fitOne(), TkPixelMeasurementDet::hasBadComponents(), deDxTools::isFarFromBorder(), ShallowGainCalibration::isFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), TRecHit5DParamConstraint::localPosition(), TrajectoryManager::makeSinglePSimHit(), TwoBodyDecayConstraintProducer::match(), TwoBodyDecayMomConstraintProducer::match(), GlobalMuonTrackMatcher::match_d(), GlobalMuonTrackMatcher::match_dist(), MatcherUsingTracksAlgorithm::matchWithPropagation(), TkStripMeasurementDet::measurements(), MuonResidualsFromTrack::MuonResidualsFromTrack(), BeamSpotAlignmentDerivatives::operator()(), DAFTrackProducerAlgorithm::PrintHit(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), AlignmentMuonHIPTrajectorySelector::produce(), TkPhase2OTMeasurementDet::recHits(), TkStripMeasurementDet::recHits(), GlobalMuonTrackMatcher::samePlane(), TkStripMeasurementDet::simpleRecHits(), SiPixelLorentzAnglePCLWorker::surface_deformation(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), TracktoRPC::thePoints(), KFTrajectorySmoother::trajectory(), trajectoryToResiduals(), and ResidualRefitting::trkExtrap().

74 { return data().localPosition(); }
const T & data() const
Definition: ProxyBase11.h:51

◆ magneticField()

const MagneticField* TrajectoryStateOnSurface::magneticField ( ) const
inline

◆ operator=() [1/2]

TrajectoryStateOnSurface& TrajectoryStateOnSurface::operator= ( TrajectoryStateOnSurface &&  rh)
inlinenoexcept

Definition at line 38 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::swap().

38  {
39  Base::swap(rh);
40  return *this;
41  }
void swap(ProxyBase11 &other) noexcept
Definition: ProxyBase11.h:42

◆ operator=() [2/2]

TrajectoryStateOnSurface& TrajectoryStateOnSurface::operator= ( TrajectoryStateOnSurface const &  rh)
inlinenoexcept

Definition at line 43 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::operator=().

43  {
44  Base::operator=(rh);
45  return *this;
46  }
ProxyBase11 & operator=(std::shared_ptr< U > p)
Definition: ProxyBase11.h:35

◆ rescaleError()

void TrajectoryStateOnSurface::rescaleError ( double  factor)
inline

◆ setCurvilinearError()

CurvilinearTrajectoryError& TrajectoryStateOnSurface::setCurvilinearError ( )
inline

Definition at line 119 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::sharedData().

119 { return sharedData().setCurvilinearError(); }
T & sharedData()
Definition: ProxyBase11.h:64

◆ signedInverseMomentum()

double TrajectoryStateOnSurface::signedInverseMomentum ( ) const
inline

Definition at line 69 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

69 { return data().signedInverseMomentum(); }
const T & data() const
Definition: ProxyBase11.h:51

◆ singleState()

bool TrajectoryStateOnSurface::singleState ( ) const
inline

◆ surface()

const SurfaceType& TrajectoryStateOnSurface::surface ( ) const
inline

Definition at line 78 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by CkfDebugger::analyseCompatibleMeasurements(), TrackingRecoMaterialAnalyser::analyze(), DTChamberEfficiency::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), OverlapValidation::analyzeTrajectory(), MuonSimHitProducer::applyMaterialEffects(), L2MuonSeedGenerator::associateOfflineSeedToL1(), L2MuonSeedGeneratorFromL1T::associateOfflineSeedToL1(), L2MuonSeedGeneratorFromL1TkMu::associateOfflineSeedToL1(), TrackAssociatorByPositionImpl::associateRecoToSim(), TrackAssociatorByPositionImpl::associateSimToReco(), MkFitOutputConverter::backwardFit(), BzeroReferenceTrajectory::BzeroReferenceTrajectory(), TrajectoryStateCombiner::combine(), GsfMultipleScatteringUpdator::compute(), EnergyLossUpdator::compute(), MultipleScatteringUpdator::compute(), GsfBetheHeitlerUpdator::compute(), MultiRefittedTS::computeFreeTrajectoryState(), GsfConstraintAtVertex::constrainAtPoint(), ReferenceTrajectory::construct(), TwoBodyDecayTrajectory::constructSingleTsosWithErrors(), GlobalMuonTrackMatcher::convertToTSOSTk(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), AlignmentMonitorTracksFromTrajectories::event(), AnalyticalImpactPointExtrapolator::extrapolateFullState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateFullState(), GsfTrackProducerBase::fillMode(), CosmicMuonSmoother::fit(), GsfTrajectoryFitter::fitOne(), NuclearTrackCorrector::getInitialState(), TransientInitialStateEstimator::innerState(), CRackTrajectoryBuilder::innerState(), L2MuonSeedGeneratorFromL1T::isAssociateOfflineSeedToL1(), SeedMatcher::matchSimTrack(), GlobalTrackerMuonAlignment::misalignMuonL(), multiTrajectoryStateMode::momentumFromModeLocal(), GlobalTrackerMuonAlignment::muonFitter(), oldMUcompute(), TrajectoryStateWithArbitraryError::operator()(), multiTrajectoryStateMode::positionFromModeLocal(), cms::CosmicTrackFinder::produce(), TrackingRecHitPropagator::project(), RecHitPropagator::propagate(), CosmicMuonUtilities::reverseDirection(), GlobalMuonTrackMatcher::samePlane(), CosmicMuonSmoother::smooth(), Traj2TrackHits::split(), TRecHit5DParamConstraint::surface(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), GlobalTrackerMuonAlignment::trackFitter(), GsfTrajectorySmoother::trajectory(), TrackTransformer::transform(), GaussianStateConversions::tsosFromMultiGaussianState(), MultiGaussianStateTransform::tsosFromSingleState(), GsfMultiStateUpdator::update(), KFStrip1DUpdator::update(), SiTrackerMultiRecHitUpdator::update(), GsfMaterialEffectsUpdator::updateState(), and MaterialEffectsUpdator::updateStateInPlace().

78 { return data().surface(); }
const T & data() const
Definition: ProxyBase11.h:51

◆ surfaceSide()

SurfaceSide TrajectoryStateOnSurface::surfaceSide ( ) const
inline

◆ swap()

void TrajectoryStateOnSurface::swap ( TrajectoryStateOnSurface rh)
inlinenoexcept

Definition at line 52 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::swap().

Referenced by swap().

52 { Base::swap(rh); }
void swap(ProxyBase11 &other) noexcept
Definition: ProxyBase11.h:42

◆ transverseCurvature()

double TrajectoryStateOnSurface::transverseCurvature ( ) const
inline

◆ update() [1/4]

void TrajectoryStateOnSurface::update ( const LocalTrajectoryParameters p,
const SurfaceType aSurface,
const MagneticField field,
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 6 of file TrajectoryStateOnSurface.cc.

References ProxyBase11< T >::data(), AlCaHLTBitMon_ParallelJobs::p, TrajectoryStateOnSurface(), and ProxyBase11< T >::unsharedData().

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), MatrixUtil.Steps::overwrite(), and MaterialEffectsUpdator::updateStateInPlace().

9  {
10  if (data().canUpdateLocalParameters()) {
11  unsharedData().update(p, aSurface, field, side);
12  } else {
13  *this = TrajectoryStateOnSurface(p, aSurface, field, side);
14  }
15 }
T & unsharedData()
Definition: ProxyBase11.h:56
const T & data() const
Definition: ProxyBase11.h:51

◆ update() [2/4]

void TrajectoryStateOnSurface::update ( const LocalTrajectoryParameters p,
SurfaceSide  side 
)
inline

◆ update() [3/4]

void TrajectoryStateOnSurface::update ( const LocalTrajectoryParameters p,
const LocalTrajectoryError err,
SurfaceSide  side 
)
inline

◆ update() [4/4]

void TrajectoryStateOnSurface::update ( const LocalTrajectoryParameters p,
const LocalTrajectoryError err,
const SurfaceType aSurface,
const MagneticField field,
SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)

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 17 of file TrajectoryStateOnSurface.cc.

References ProxyBase11< T >::data(), submitPVResolutionJobs::err, AlCaHLTBitMon_ParallelJobs::p, TrajectoryStateOnSurface(), and ProxyBase11< T >::unsharedData().

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().

21  {
22  if (data().canUpdateLocalParameters()) {
23  unsharedData().update(1., p, err, aSurface, field, side);
24  } else {
25  *this = TrajectoryStateOnSurface(1., p, err, aSurface, field, side);
26  }
27 }
T & unsharedData()
Definition: ProxyBase11.h:56
const T & data() const
Definition: ProxyBase11.h:51

◆ weight()

double TrajectoryStateOnSurface::weight ( ) const
inline