CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

Definition at line 20 of file TrajectoryStateOnSurface.h.

Definition at line 17 of file TrajectoryStateOnSurface.h.

Definition at line 84 of file TrajectoryStateOnSurface.h.

Definition at line 19 of file TrajectoryStateOnSurface.h.

Definition at line 18 of file TrajectoryStateOnSurface.h.

Constructor & Destructor Documentation

TrajectoryStateOnSurface::TrajectoryStateOnSurface ( )
inline

Definition at line 24 of file TrajectoryStateOnSurface.h.

Referenced by update().

24 {}
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( Base::pointer  p)
inlineexplicit

Constructor from one of the basic states.

Definition at line 26 of file TrajectoryStateOnSurface.h.

TrajectoryStateOnSurface::TrajectoryStateOnSurface ( BasicTrajectoryState p)
inlineexplicit

Definition at line 27 of file TrajectoryStateOnSurface.h.

27 : Base(p) {}
BasicTrajectoryState::Proxy Base
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( BasicSingleTrajectoryState p)
inlineexplicit

Definition at line 28 of file TrajectoryStateOnSurface.h.

28 : Base(p) {}
BasicTrajectoryState::Proxy Base
TrajectoryStateOnSurface::~TrajectoryStateOnSurface ( )
inline

Definition at line 30 of file TrajectoryStateOnSurface.h.

30 {}
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( TrajectoryStateOnSurface rh)
inlinenoexcept

Definition at line 32 of file TrajectoryStateOnSurface.h.

32 : Base(rh) {}
BasicTrajectoryState::Proxy Base
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( TrajectoryStateOnSurface const &  rh)
inlinenoexcept

Definition at line 34 of file TrajectoryStateOnSurface.h.

34 : Base(rh) {}
BasicTrajectoryState::Proxy Base
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( TrajectoryStateOnSurface &&  rh)
inlinenoexcept

Definition at line 36 of file TrajectoryStateOnSurface.h.

36 : Base(std::forward<Base>(rh)) {}
BasicTrajectoryState::Proxy Base
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

const CartesianTrajectoryError TrajectoryStateOnSurface::cartesianError ( ) const
inline
TrackCharge TrajectoryStateOnSurface::charge ( void  ) const
inline
Components const& TrajectoryStateOnSurface::components ( ) const
inline
const CurvilinearTrajectoryError& TrajectoryStateOnSurface::curvilinearError ( ) const
inline
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(), TrackBuildingAnalyzer::analyze(), MuonAlignmentAnalyzer::analyze(), DTChamberEfficiency::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SignedTransverseImpactParameter::apply(), CosmicMuonTrajectoryBuilder::build(), DAFTrackProducerAlgorithm::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), TrackerSeedCleaner::clean(), 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()(), TransientTrackKinematicStateBuilder::operator()(), TSCBLBuilderWithPropagator::operator()(), CtfSpecialSeedGenerator::postCheck(), TrackFromSeedProducer::produce(), 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 const* TrajectoryStateOnSurface::freeTrajectoryState ( bool  withErrors = true) const
inline
GlobalVector TrajectoryStateOnSurface::globalDirection ( ) const
inline
GlobalVector TrajectoryStateOnSurface::globalMomentum ( ) const
inline

Definition at line 66 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by MuonErrorMatrix::adjust(), TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), MuonSeedsAnalyzer::analyze(), TrackBuildingAnalyzer::analyze(), TestHits::analyze(), ElectronSeedAnalyzer::analyze(), TestSmoothHits::analyze(), TestTrackHits::analyze(), SeedMultiplicityAnalyzer::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), OverlapValidation::analyzeTrajectory(), SignedImpactParameter3D::apply(), MuonSimHitProducer::applyMaterialEffects(), LayerCrossingSide::barrelSide(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), SeedForPhotonConversion1Leg::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), FWTrackProxyBuilderFullFramework::buildTrack(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), MuonTrajectoryCleaner::clean(), TrackerSeedCleaner::clean(), MuonCkfTrajectoryBuilder::collectMeasurement(), MTDDetSector::compatibleDets(), MultipleScatteringUpdator::compute(), SiStripGainFromData::ComputeChargeOverPath(), 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(), Phase2EndcapLayer::groupedCompatibleDetsV(), MultiHitGeneratorFromChi2::hitSets(), CosmicMuonSmoother::initialState(), GeomDetCompatibilityChecker::isCompatible(), MTDSectorForwardDoubleLayer::isInsideOut(), MTDRingForwardDoubleLayer::isInsideOut(), MuRingForwardDoubleLayer::isInsideOut(), IPTools::jetTrackDistance(), LowPtGsfElectronSeedProducer::lightGsfTracking(), IPTools::linearImpactParameter(), IPTools::linearizedSignedImpactParameter3D(), TrajectoryManager::makeSinglePSimHit(), GlobalCosmicMuonTrajectoryBuilder::match(), GlobalMuonTrackMatcher::match_Rmom(), SeedMatcher::matchSimTrack(), MatcherUsingTracksAlgorithm::matchWithPropagation(), TkGluedMeasurementDet::measurements(), oldMUcompute(), BeamSpotAlignmentDerivatives::operator()(), TrackFilterForPVFinding::operator()(), CompareTwoTracks::operator()(), MomentumDependentPedeLabeler::parameterLabel(), trajectoryStateTransform::persistentState(), DynamicTruncation::preliminaryFit(), ConversionSeedFilterCharge::produce(), FakeTrackProducer< T >::produce(), SeedToTrackProducer::produce(), L2MuonSeedGeneratorFromL1T::produce(), L2MuonSeedGenerator::produce(), L2MuonSeedGeneratorFromL1TkMu::produce(), MuonSimHitProducer::produce(), GoodSeedProducer::produce(), TrackExtrapolator::propagateTrackToVolume(), TkConvValidator::recalculateMomentumAtFittedVertex(), CosmicRegionalSeedGenerator::regions(), CosmicMuonUtilities::reverseDirection(), TIDLayer::ringIndicesByCrossingProximity(), Phase2EndcapLayer::ringIndicesByCrossingProximity(), SeedingOTEDProducer::run(), MuonSeedCleaner::SeedMomentum(), CosmicMuonSmoother::smooth(), FastTSGFromPropagation::stateOnDet(), TSGFromPropagation::trackerSeeds(), FastTSGFromPropagation::trackerSeeds(), MuonTrackAnalyzer::tracksAnalysis(), CosmicMuonTrajectoryBuilder::trajectories(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), GsfTrajectorySmoother::trajectory(), KFTrajectorySmoother::trajectory(), TrackTransformer::transform(), 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
const GlobalTrajectoryParameters& TrajectoryStateOnSurface::globalParameters ( void  ) const
inline

Definition at line 64 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by MuonErrorMatrix::adjust(), TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), 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(), NuclearInteractionFinder::rescaleError(), TkGluedMeasurementDet::testStrips(), PerigeeRefittedTrackState::trajectoryStateOnSurface(), GsfMultiStateUpdator::update(), KFStrip1DUpdator::update(), and GsfMaterialEffectsUpdator::updateState().

64 { return data().globalParameters(); }
const T & data() const
Definition: ProxyBase11.h:51
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(), GEMEfficiencyAnalyzer::analyze(), MuonEnergyDepositAnalyzer::analyze(), TrackBuildingAnalyzer::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), SiPixelHitEfficiencySource::analyze(), TestHits::analyze(), ElectronSeedAnalyzer::analyze(), TestSmoothHits::analyze(), TestTrackHits::analyze(), L1MuonRecoTreeProducer::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), OverlapValidation::analyzeTrajectory(), SignedImpactParameter3D::apply(), SignedDecayLength3D::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(), barrelUtil::calculatePhiWindow(), MuonCkfTrajectoryBuilder::collectMeasurement(), MTDDetRing::compatible(), MuDetRing::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(), CompositeTECWedge::computeCrossings(), TBLayer::computeCrossings(), TECLayer::computeCrossings(), TIDRing::computeCrossings(), TOBRod::computeCrossings(), PixelBlade::computeCrossings(), Phase2EndcapRing::computeCrossings(), Phase2OTBarrelRod::computeCrossings(), Phase1PixelBlade::computeCrossings(), CompositeTECPetal::computeCrossings(), PixelForwardLayer::computeCrossings(), PixelForwardLayerPhase1::computeCrossings(), TIBRing::computeCrossings(), GsfTrackProducerBase::computeModeAtTM(), SingleTrackVertexConstraint::constrain(), 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::dumpCandidate(), PrintoutHelper::dumpMeasurement(), TSGFromPropagation::dxyDis(), FastTSGFromPropagation::dxyDis(), LayerCrossingSide::endcapSide(), EtaPhiMeasurementEstimator::estimate(), EtaPhiEstimator::estimate(), CosmicMuonTrajectoryBuilder::estimateDirection(), TrajectoryExtrapolatorToLine::extrapolate(), PropagateToMuon::extrapolate(), hltriggeroffline::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(), Phase2EndcapLayer::groupedCompatibleDetsV(), CosmicTrackingRegion::hits_(), CosmicMuonSmoother::initialState(), TwoBodyDecayConstraintProducer::innermostState(), TwoBodyDecayMomConstraintProducer::innermostState(), L2MuonSeedGeneratorFromL1T::isAssociateOfflineSeedToL1(), GeomDetCompatibilityChecker::isCompatible(), MTDSectorForwardDoubleLayer::isInsideOut(), MTDRingForwardDoubleLayer::isInsideOut(), MuRingForwardDoubleLayer::isInsideOut(), IPTools::jetTrackDistance(), GlobalTrackQualityProducer::kink(), IPTools::linearImpactParameter(), reco::TrackGhostTrackState::linearize(), IPTools::linearizedSignedImpactParameter3D(), TSGForRoadSearch::makeSeeds_0(), TSGForRoadSearch::makeSeeds_4(), TrajectoryManager::makeSinglePSimHit(), GlobalMuonTrackMatcher::match(), GlobalCosmicMuonTrajectoryBuilder::match(), hltriggeroffline::L1MuonMatcherAlgo::match(), L1MuonMatcherAlgo::match(), CandidateSimMuonMatcher::match(), GlobalMuonTrackMatcher::match_D(), GlobalMuonTrackMatcher::match_Rpos(), hltriggeroffline::L1MuonMatcherAlgo::matchGeneric(), L1MuonMatcherAlgo::matchGeneric(), SeedMatcher::matchSimTrack(), OuterEstimator< Algo >::maximalLocalDisplacement(), MuonGmtPair::MuonGmtPair(), MuonResidualsFromTrack::MuonResidualsFromTrack(), HGCalGeometry::neighborZ(), StateOnTrackerBound::operator()(), TSCPBuilderNoMaterial::operator()(), TSCBLBuilderWithPropagator::operator()(), CRackTrajectoryBuilder::CompareDetByTraj::operator()(), operator<<(), TIDLayer::overlapInR(), Phase2EndcapLayer::overlapInR(), ShallowTrackClustersProducer::produce(), MuonReSeeder::produce(), pat::L1MuonMatcher::produce(), pat::HLTL1MuonMatcher::produce(), FakeTrackProducer< T >::produce(), HGCalTrackCollectionProducer::produce(), L2MuonSeedGeneratorFromL1T::produce(), L2MuonSeedGenerator::produce(), L2MuonSeedGeneratorFromL1TkMu::produce(), MuonSimHitProducer::produce(), BoostedDoubleSVProducer::produce(), TriggerMatcherToHLTDebug::produce(), IPProducer< Container, Base, Helper >::produce(), HGCal_helpers::SimpleTrackPropagator::propagate(), MuonUpdatorAtVertex::propagate(), spr::propagateCalo(), spr::propagateHCAL(), MuonUpdatorAtVertex::propagateToNominalLine(), cms::MuonTCMETValueMapProducer::propagateTrack(), spr::propagateTrackerEnd(), TCMETAlgo::propagateTrackToCalorimeterFace(), TrackExtrapolator::propagateTrackToVolume(), TrackAssociatorByPositionImpl::quality(), StandAloneMuonFilter::refit(), CosmicRegionalSeedGenerator::regions(), CosmicMuonUtilities::reverseDirection(), TIDLayer::ringIndicesByCrossingProximity(), Phase2EndcapLayer::ringIndicesByCrossingProximity(), SeedingOTEDProducer::run(), btagbtvdeep::seedingTracksToFeatures(), MuonSeedCleaner::SeedPosition(), L1Analysis::L1AnalysisRecoMuon2::SetMuon(), IPTools::signedDecayLength3D(), CosmicMuonSmoother::smooth(), CRackTrajectoryBuilder::SortHits(), CosmicMuonSmoother::sortHitsAlongMom(), InOutConversionSeedFinder::startSeed(), CosmicMuonUtilities::stepPropagate(), 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(), TrackTransformer::transform(), 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
bool TrajectoryStateOnSurface::hasError ( void  ) const
inline
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(), GEMEfficiencyAnalyzer::analyze(), MuonAlignmentAnalyzer::analyze(), SiPixelTrackResidualSource::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), SiPixelHitEfficiencySource::analyze(), ElectronSeedAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), DTChamberEfficiency::analyze(), TestTrackHits::analyze(), NearbyPixelClustersAnalyzer::analyze(), analyzer::SiPixelLorentzAngle::analyze(), SeedMultiplicityAnalyzer::analyze(), SiPixelLorentzAnglePCLWorker::analyze(), L1MuonRecoTreeProducer::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), OverlapValidation::analyzeTrajectory(), SignedImpactParameter3D::apply(), SignedDecayLength3D::apply(), TrackAssociatorByPositionImpl::associateRecoToSim(), TrackAssociatorByPositionImpl::associateSimToReco(), TempTrajectory::badForCCC(), Trajectory::badForCCC(), CosmicMuonTrajectoryBuilder::build(), GroupedDAFHitCollector::buildMultiRecHits(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), SeedFromConsecutiveHitsCreator::buildSeed(), SeedFromGenericPairOrTriplet::buildSeed(), SeedForPhotonConversion1Leg::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), FWTrackProxyBuilderFullFramework::buildTrack(), TrackProducerAlgorithm< reco::Track >::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(), SeedFromNuclearInteraction::construct(), 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::dumpCandidate(), PrintoutHelper::dumpMeasurement(), CosmicMuonTrajectoryBuilder::estimateDirection(), TrajectoryExtrapolatorToLine::extrapolate(), AnalyticalImpactPointExtrapolator::extrapolate(), TransverseImpactPointExtrapolator::extrapolate(), AnalyticalTrajectoryExtrapolatorToLine::extrapolate(), PropagateToMuon::extrapolate(), hltriggeroffline::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(), CosmicMuonSmoother::initialState(), TransientInitialStateEstimator::innerState(), GeomDetCompatibilityChecker::isCompatible(), reco::TrackGhostTrackState::isValid(), PerigeeLinearizedTrackState::isValid(), IPTools::jetTrackDistance(), GlobalTrackQualityProducer::kink(), IPTools::linearizedSignedImpactParameter3D(), TSGForRoadSearch::makeSeeds_0(), TSGForRoadSearch::makeSeeds_4(), TSGForOIDNN::makeSeedsFromHitDoublets(), TSGForOI::makeSeedsFromHits(), TSGForOIFromL2::makeSeedsFromHits(), TSGForOIDNN::makeSeedsFromHits(), L1MuonMatcherAlgo::match(), GlobalMuonTrackMatcher::match(), hltriggeroffline::L1MuonMatcherAlgo::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(), hltriggeroffline::L1MuonMatcherAlgo::matchGeneric(), L1MuonMatcherAlgo::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(), TrajectoryStateLessWeight::operator()(), BeamSpotAlignmentDerivatives::operator()(), StateOnTrackerBound::operator()(), FullConvolutionWithMaterial::operator()(), TSCBLBuilderWithPropagator::operator()(), TkClonerImpl::operator()(), multiTrajectoryStateMode::positionFromModeCartesian(), multiTrajectoryStateMode::positionFromModeLocal(), DynamicTruncation::preliminaryFit(), DAFTrackProducerAlgorithm::PrintHit(), EgammaHLTPixelMatchElectronAlgo::process(), TrajSeedMatcher::processSeed(), MuonReSeeder::produce(), pat::L1MuonMatcher::produce(), TSGForOI::produce(), pat::HLTL1MuonMatcher::produce(), TSGForOIFromL2::produce(), HGCalTrackCollectionProducer::produce(), SeedProducerFromSoA::produce(), TSGForOIDNN::produce(), TrackCandidateProducer::produce(), L2MuonSeedGeneratorFromL1T::produce(), ConvBremSeedProducer::produce(), L2MuonSeedGenerator::produce(), L2MuonSeedGeneratorFromL1TkMu::produce(), ShallowGainCalibration::produce(), TrackerToMuonPropagator::produce(), MuonSimHitProducer::produce(), BoostedDoubleSVProducer::produce(), TriggerMatcherToHLTDebug::produce(), cms::CosmicTrackFinder::produce(), PFElecTkProducer::produce(), IPProducer< Container, Base, Helper >::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), TrackingRecHitPropagator::project(), TkClonerImpl::project(), HGCal_helpers::SimpleTrackPropagator::propagate(), 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(), CosmicRegionalSeedGenerator::regions(), 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(), StripSubClusterShapeTrajectoryFilter::testLastHit(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), TracktoRPC::thePoints(), TrackEfficiencyMonitor::trackerAcceptance(), TSGFromPropagation::trackerSeeds(), FastTSGFromPropagation::trackerSeeds(), InOutConversionTrackFinder::tracks(), OutInConversionTrackFinder::tracks(), DualBzeroTrajectoryFactory::trajectories(), DualTrajectoryFactory::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(), DynamicTruncation::update(), TSGForOIDNN::updateFeatureMap(), DynamicTruncation::updateWithCSChits(), DynamicTruncation::updateWithDThits(), and SimpleNavigableLayer::wellInside().

54 { return Base::isValid() && data().isValid(); }
const T & data() const
Definition: ProxyBase11.h:51
bool isValid() const
Definition: ProxyBase11.h:69
LocalVector TrajectoryStateOnSurface::localDirection ( ) const
inline
const LocalTrajectoryError& TrajectoryStateOnSurface::localError ( ) const
inline

Definition at line 77 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by MuonResidualsFromTrack::addTrkCovMatrix(), CkfDebugger::analyseCompatibleMeasurements(), GEMEfficiencyAnalyzer::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), OverlapValidation::analyzeTrajectory(), MkFitOutputConverter::backwardFit(), BzeroReferenceTrajectory::BzeroReferenceTrajectory(), TkGluedMeasurementDet::checkHitProjection(), CollinearFitAtTM2::CollinearFitAtTM2(), TrajectoryStateCombiner::combine(), MTDSectorForwardDoubleLayer::compatible(), ForwardDetLayer::compatible(), MuRingForwardDoubleLayer::compatible(), MTDRingForwardDoubleLayer::compatible(), MTDSectorForwardLayer::compatibleDets(), MuRingForwardLayer::compatibleDets(), MTDRingForwardLayer::compatibleDets(), MultipleScatteringUpdator::compute(), GsfTrackProducerBase::computeModeAtTM(), PFGsfHelper::computeQpMode(), ReferenceTrajectory::construct(), CaloDetIdAssociator::crossedElement(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), OutsideInMuonSeeder::doLayer(), Chi2Strip1DEstimator::estimate(), Chi2MeasurementEstimatorBase::estimate(), AlignmentMonitorGeneric::event(), AlignmentMonitorMuonResiduals::event(), TrackerValidationVariables::fillHitQuantities(), ApeEstimator::fillHitVariables(), CollinearFitAtTM::fit(), KFTrajectoryFitter::fitOne(), MuonKinkFinder::getChi2(), MatcherUsingTracksAlgorithm::getChi2(), 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(), ShallowTrackClustersProducer::produce(), AlignmentMuonHIPTrajectorySelector::produce(), StraightLinePropagator::propagatedState(), TrackAssociatorByPositionImpl::quality(), TkPhase2OTMeasurementDet::recHits(), NuclearInteractionFinder::rescaleError(), TrajectorySegmentBuilder::segments(), CRackTrajectoryBuilder::SortHits(), FastTSGFromPropagation::stateOnDet(), ChargeSignificanceTrajectoryFilter::TBC(), CkfDebugger::testSeed(), TkGluedMeasurementDet::testStrips(), TrackEfficiencyMonitor::testTrackerTracks(), GlobalTrackerMuonAlignment::trackFitter(), DualBzeroTrajectoryFactory::trajectories(), DualTrajectoryFactory::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
LocalVector TrajectoryStateOnSurface::localMomentum ( ) const
inline
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(), CollinearFitAtTM2::CollinearFitAtTM2(), TrajectoryStateCombiner::combine(), TkPixelMeasurementDet::compHits(), GsfTrackProducerBase::computeModeAtTM(), PFGsfHelper::computeQpMode(), ReferenceTrajectory::construct(), TwoBodyDecayTrajectory::constructSingleTsosWithErrors(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), SiStripBackplaneCalibration::derivatives(), TwoBowedSurfacesAlignmentParameters::derivatives(), DualBzeroReferenceTrajectory::extractParameters(), DualReferenceTrajectory::extractParameters(), CollinearFitAtTM::fit(), KFTrajectoryFitter::fitOne(), MuonKinkFinder::getChi2(), MatcherUsingTracksAlgorithm::getChi2(), 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(), FakeTrackProducer< T >::produce(), cms::CosmicTrackFinder::produce(), ReferenceTrajectory::propagate(), StraightLinePropagator::propagatedState(), GsfTrackProducerBase::putInEvt(), TrackAssociatorByPositionImpl::quality(), TkPhase2OTMeasurementDet::recHits(), TkStripMeasurementDet::recHits(), ReferenceTrajectory::ReferenceTrajectory(), NuclearInteractionFinder::rescaleError(), TkStripMeasurementDet::simpleRecHits(), FastTSGFromPropagation::stateOnDet(), SiPixelLorentzAnglePCLWorker::surface_deformation(), ChargeSignificanceTrajectoryFilter::TBC(), CkfDebugger::testSeed(), 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
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(), NearbyPixelClustersAnalyzer::analyze(), analyzer::SiPixelLorentzAngle::analyze(), SiPixelLorentzAnglePCLWorker::analyze(), barrelUtil::calculatePhiWindow(), 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(), Chi2Strip1DEstimator::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(), TwoBodyDecayTrajectoryFactory::match(), GlobalMuonTrackMatcher::match_d(), GlobalMuonTrackMatcher::match_dist(), MatcherUsingTracksAlgorithm::matchWithPropagation(), TkStripMeasurementDet::measurements(), MuonResidualsFromTrack::MuonResidualsFromTrack(), BeamSpotAlignmentDerivatives::operator()(), DAFTrackProducerAlgorithm::PrintHit(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), ShallowTrackClustersProducer::produce(), 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
const MagneticField* TrajectoryStateOnSurface::magneticField ( ) const
inline
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
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
void TrajectoryStateOnSurface::rescaleError ( double  factor)
inline
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
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
bool TrajectoryStateOnSurface::singleState ( ) const
inline
const SurfaceType& TrajectoryStateOnSurface::surface ( ) const
inline

Definition at line 78 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by MuonErrorMatrix::adjust(), TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), CkfDebugger::analyseCompatibleMeasurements(), DTChamberEfficiency::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), OverlapValidation::analyzeTrajectory(), MuonSimHitProducer::applyMaterialEffects(), L2MuonSeedGenerator::associateOfflineSeedToL1(), L2MuonSeedGeneratorFromL1T::associateOfflineSeedToL1(), L2MuonSeedGeneratorFromL1TkMu::associateOfflineSeedToL1(), TrackAssociatorByPositionImpl::associateRecoToSim(), TrackAssociatorByPositionImpl::associateSimToReco(), MkFitOutputConverter::backwardFit(), GroupedDAFHitCollector::buildMultiRecHits(), BzeroReferenceTrajectory::BzeroReferenceTrajectory(), TrajectoryStateCombiner::combine(), GsfMultipleScatteringUpdator::compute(), EnergyLossUpdator::compute(), MultipleScatteringUpdator::compute(), GsfBetheHeitlerUpdator::compute(), MultiRefittedTS::computeFreeTrajectoryState(), CkfDebugger::computePulls(), 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(), MatcherUsingTracksAlgorithm::matchWithPropagation(), GlobalTrackerMuonAlignment::misalignMuonL(), multiTrajectoryStateMode::momentumFromModeLocal(), GlobalTrackerMuonAlignment::muonFitter(), oldMUcompute(), TrajectoryStateWithArbitraryError::operator()(), multiTrajectoryStateMode::positionFromModeLocal(), cms::CosmicTrackFinder::produce(), TrackingRecHitPropagator::project(), RecHitPropagator::propagate(), MuonTrajectoryUpdator::propagateState(), NuclearInteractionFinder::rescaleError(), CosmicMuonUtilities::reverseDirection(), GlobalMuonTrackMatcher::samePlane(), SeedTransformer::seedTransform(), CosmicMuonSmoother::smooth(), Traj2TrackHits::split(), CosmicMuonUtilities::stepPropagate(), TRecHit5DParamConstraint::surface(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), GlobalTrackerMuonAlignment::trackFitter(), DualTrajectoryFactory::trajectories(), DualBzeroTrajectoryFactory::trajectories(), 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 TrajectoryStateOnSurface::surfaceSide ( ) const
inline
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
double TrajectoryStateOnSurface::transverseCurvature ( ) const
inline
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(), TrajectoryStateOnSurface(), and ProxyBase11< T >::unsharedData().

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), SeedFromGenericPairOrTriplet::buildSeed(), 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 }
const T & data() const
Definition: ProxyBase11.h:51
T & unsharedData()
Definition: ProxyBase11.h:56
void TrajectoryStateOnSurface::update ( const LocalTrajectoryParameters p,
SurfaceSide  side 
)
inline
void TrajectoryStateOnSurface::update ( const LocalTrajectoryParameters p,
const LocalTrajectoryError err,
SurfaceSide  side 
)
inline
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(), 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 }
const T & data() const
Definition: ProxyBase11.h:51
T & unsharedData()
Definition: ProxyBase11.h:56
double TrajectoryStateOnSurface::weight ( ) const
inline