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)
 
TrajectoryStateOnSurfaceoperator= (TrajectoryStateOnSurface const &rh)
 
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)
 
 TrajectoryStateOnSurface ()
 
 TrajectoryStateOnSurface (Base::pointer p)
 Constructor from one of the basic states. More...
 
 TrajectoryStateOnSurface (BasicTrajectoryState *p)
 
 TrajectoryStateOnSurface (BasicSingleTrajectoryState *p)
 
 TrajectoryStateOnSurface (TrajectoryStateOnSurface &rh)
 
 TrajectoryStateOnSurface (TrajectoryStateOnSurface const &rh)
 
 TrajectoryStateOnSurface (TrajectoryStateOnSurface &&rh)
 
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 17 of file TrajectoryStateOnSurface.h.

Member Typedef Documentation

Definition at line 22 of file TrajectoryStateOnSurface.h.

Definition at line 19 of file TrajectoryStateOnSurface.h.

Definition at line 132 of file TrajectoryStateOnSurface.h.

Definition at line 21 of file TrajectoryStateOnSurface.h.

Definition at line 20 of file TrajectoryStateOnSurface.h.

Constructor & Destructor Documentation

TrajectoryStateOnSurface::TrajectoryStateOnSurface ( )
inline

Definition at line 26 of file TrajectoryStateOnSurface.h.

Referenced by update().

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

Constructor from one of the basic states.

Definition at line 28 of file TrajectoryStateOnSurface.h.

TrajectoryStateOnSurface::TrajectoryStateOnSurface ( BasicTrajectoryState p)
inlineexplicit

Definition at line 29 of file TrajectoryStateOnSurface.h.

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

Definition at line 30 of file TrajectoryStateOnSurface.h.

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

Definition at line 32 of file TrajectoryStateOnSurface.h.

32 {}
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( TrajectoryStateOnSurface rh)
inline

Definition at line 34 of file TrajectoryStateOnSurface.h.

34  :
35  Base(rh){}
BasicTrajectoryState::Proxy Base
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( TrajectoryStateOnSurface const &  rh)
inline

Definition at line 37 of file TrajectoryStateOnSurface.h.

37  :
38  Base(rh){}
BasicTrajectoryState::Proxy Base
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( TrajectoryStateOnSurface &&  rh)
inline

Definition at line 41 of file TrajectoryStateOnSurface.h.

41  :
42  Base(std::forward<Base>(rh)){}
BasicTrajectoryState::Proxy Base
template<typename... Args>
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( Args &&...  args)
inlineexplicit

Definition at line 55 of file TrajectoryStateOnSurface.h.

55 : 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 70 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch(), LayerCollector::allLayers(), TrackBuildingAnalyzer::analyze(), MuonAlignmentAnalyzer::analyze(), DTChamberEfficiency::analyze(), MuonAlignment::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SignedTransverseImpactParameter::apply(), CosmicMuonTrajectoryBuilder::build(), DAFTrackProducerAlgorithm::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), TrackerSeedCleaner::clean(), 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_(), StateOnTrackerBound::operator()(), TSCPBuilderNoMaterial::operator()(), TSCBLBuilderWithPropagator::operator()(), TransientTrackKinematicStateBuilder::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().

70  {
71  return data().freeTrajectoryState();
72  }
const T & data() const
Definition: ProxyBase11.h:54
FreeTrajectoryState const* TrajectoryStateOnSurface::freeTrajectoryState ( bool  withErrors = true) const
inline
GlobalVector TrajectoryStateOnSurface::globalDirection ( ) const
inline
GlobalVector TrajectoryStateOnSurface::globalMomentum ( ) const
inline

Definition at line 86 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by MuonErrorMatrix::adjust(), TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), ElectronSeedAnalyzer::analyze(), MuonSeedsAnalyzer::analyze(), TrackBuildingAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), TestTrackHits::analyze(), SeedMultiplicityAnalyzer::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), 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(), MultipleScatteringUpdator::compute(), SiStripGainFromData::ComputeChargeOverPath(), CompositeTECWedge::computeCrossings(), TECLayer::computeCrossings(), TIDRing::computeCrossings(), TOBRod::computeCrossings(), TBLayer::computeCrossings(), Phase2EndcapRing::computeCrossings(), Phase2OTBarrelRod::computeCrossings(), PixelBlade::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(), dqm::TrackAnalyzer::fillHistosForState(), MuonTrackAnalyzer::fillPlots(), CosmicMuonSmoother::fit(), ConversionSeedFilter::getKine(), MuonTrackAnalyzer::getSimTrack(), Phase2EndcapLayer::groupedCompatibleDetsV(), GroupedCkfTrajectoryBuilder::groupedLimitedCandidates(), MultiHitGeneratorFromChi2::hitSets(), CosmicMuonSmoother::initialState(), GeomDetCompatibilityChecker::isCompatible(), MuRingForwardDoubleLayer::isInsideOut(), IPTools::jetTrackDistance(), IPTools::linearImpactParameter(), IPTools::linearizedSignedImpactParameter3D(), TrajectoryManager::makeSinglePSimHit(), GlobalCosmicMuonTrajectoryBuilder::match(), GlobalMuonTrackMatcher::match_Rmom(), SeedMatcher::matchSimTrack(), MatcherUsingTracksAlgorithm::matchWithPropagation(), TkGluedMeasurementDet::measurements(), oldMUcompute(), TrackFilterForPVFinding::operator()(), BeamSpotAlignmentDerivatives::operator()(), CompareTwoTracks::operator()(), MomentumDependentPedeLabeler::parameterLabel(), trajectoryStateTransform::persistentState(), DynamicTruncation::preliminaryFit(), ElectronSeedGenerator::prepareElTrackSeed(), ConversionSeedFilterCharge::produce(), FakeTrackProducer< T >::produce(), SeedToTrackProducer::produce(), L2MuonSeedGeneratorFromL1T::produce(), L2MuonSeedGenerator::produce(), MuonSimHitProducer::produce(), TrackExtrapolator::propagateTrackToVolume(), TkConvValidator::recalculateMomentumAtFittedVertex(), CosmicMuonUtilities::reverseDirection(), TIDLayer::ringIndicesByCrossingProximity(), Phase2EndcapLayer::ringIndicesByCrossingProximity(), KFBasedPixelFitter::run(), MuonSeedCleaner::SeedMomentum(), FastTSGFromPropagation::stateOnDet(), TSGFromPropagation::trackerSeeds(), FastTSGFromPropagation::trackerSeeds(), MuonTrackAnalyzer::tracksAnalysis(), CosmicMuonTrajectoryBuilder::trajectories(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), GsfTrajectorySmoother::trajectory(), KFTrajectorySmoother::trajectory(), TrackTransformer::transform(), GlobalMuonRefitter::transform(), TSGFromPropagation::zDis(), and FastTSGFromPropagation::zDis().

86  {
87  return data().globalMomentum();
88  }
const T & data() const
Definition: ProxyBase11.h:54
const GlobalTrajectoryParameters& TrajectoryStateOnSurface::globalParameters ( void  ) const
inline

Definition at line 80 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by MuonErrorMatrix::adjust(), TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), LayerCollector::allLayers(), MuonTrackLoader::buildTrackExtra(), TangentApproachInRPhi::calculate(), TwoTrackMinimumDistance::calculate(), ClosestApproachInRPhi::calculate(), TkGluedMeasurementDet::checkHitProjection(), TkGluedMeasurementDet::collectRecHits(), TrajectoryStateCombiner::combine(), PixelHitMatcher::compatibleSeeds(), ReferenceTrajectory::construct(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), ConversionForwardEstimator::estimate(), ConversionBarrelEstimator::estimate(), ForwardMeasurementEstimator::estimate(), BarrelMeasurementEstimator::estimate(), fastProp(), NuclearTrackCorrector::getNewTrackExtra(), GeomDetCompatibilityChecker::isCompatible(), TkClonerImpl::makeShared(), TrajectoryStateWithArbitraryError::operator()(), operator<<(), TkGluedMeasurementDet::projectOnGluedDet(), RecHitPropagator::propagate(), ReferenceTrajectory::propagate(), TauTagTools::propagTrackECALSurfContactPoint(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), NuclearInteractionFinder::rescaleError(), TrajSeedMatcher::SCHitMatch::SCHitMatch(), TkGluedMeasurementDet::testStrips(), PerigeeRefittedTrackState::trajectoryStateOnSurface(), GsfMultiStateUpdator::update(), KFStrip1DUpdator::update(), and GsfMaterialEffectsUpdator::updateState().

80  {
81  return data().globalParameters();
82  }
const T & data() const
Definition: ProxyBase11.h:54
GlobalPoint TrajectoryStateOnSurface::globalPosition ( ) const
inline

Definition at line 83 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by IPTools::absoluteImpactParameter(), CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), LayerCollector::allLayers(), CkfDebugger::analyseCompatibleMeasurements(), TrackingRecoMaterialAnalyser::analyze(), ElectronSeedAnalyzer::analyze(), MuonEnergyDepositAnalyzer::analyze(), TrackBuildingAnalyzer::analyze(), SiPixelHitEfficiencySource::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), TestTrackHits::analyze(), MuonAlignment::analyze(), L1MuonRecoTreeProducer::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SignedImpactParameter3D::apply(), SignedDecayLength3D::apply(), MuonSimHitProducer::applyMaterialEffects(), L2MuonSeedGenerator::associateOfflineSeedToL1(), L2MuonSeedGeneratorFromL1T::associateOfflineSeedToL1(), LayerCrossingSide::barrelSide(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), FWTrackProxyBuilderFullFramework::buildTrack(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), barrelUtil::calculatePhiWindow(), EgammaHLTElectronDetaDphiProducer::calDEtaDPhiSCTrk(), MuonCkfTrajectoryBuilder::collectMeasurement(), MuDetRing::compatible(), BarrelDetLayer::compatible(), MuRodBarrelLayer::compatibleDets(), MuRingForwardLayer::compatibleDets(), MuDetRing::compatibleDets(), MuDetRod::compatibleDets(), PixelRod::compatibleDetsV(), TrackEfficiencyMonitor::compatibleLayers(), CompositeTECWedge::computeCrossings(), TECLayer::computeCrossings(), TIDRing::computeCrossings(), TOBRod::computeCrossings(), TBLayer::computeCrossings(), Phase2OTBarrelRod::computeCrossings(), Phase2EndcapRing::computeCrossings(), PixelBlade::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(), EtaPhiEstimator::estimate(), EtaPhiMeasurementEstimator::estimate(), CosmicMuonTrajectoryBuilder::estimateDirection(), TrajectoryExtrapolatorToLine::extrapolate(), PropagateToMuon::extrapolate(), fastProp(), HLTMuonPointingFilter::filter(), DynamicTruncation::filter(), ConversionTrackEcalImpactPoint::find(), InOutConversionSeedFinder::findSeeds(), CosmicMuonSmoother::fit(), L1MuonMatcherAlgo::genericQuality(), Trajectory::geometricalInnermostState(), MuonShowerInformationFiller::getCompatibleDets(), NuclearTrackCorrector::getInitialState(), ConversionSeedFilter::getKine(), ConversionProducer::getTrackImpactPosition(), HDetIdAssociator::getTrajectory(), reco::TrackGhostTrackState::globalPosition(), Phase2OTtiltedBarrelLayer::groupedCompatibleDetsV(), Phase2EndcapLayer::groupedCompatibleDetsV(), GroupedCkfTrajectoryBuilder::groupedLimitedCandidates(), CosmicTrackingRegion::hits_(), CosmicMuonSmoother::initialState(), L2MuonSeedGeneratorFromL1T::isAssociateOfflineSeedToL1(), GeomDetCompatibilityChecker::isCompatible(), MuRingForwardDoubleLayer::isInsideOut(), IPTools::jetTrackDistance(), GlobalTrackQualityProducer::kink(), IPTools::linearImpactParameter(), IPTools::linearizedSignedImpactParameter3D(), TSGForRoadSearch::makeSeeds_0(), TSGForRoadSearch::makeSeeds_4(), TkClonerImpl::makeShared(), TrajectoryManager::makeSinglePSimHit(), GlobalCosmicMuonTrajectoryBuilder::match(), GlobalMuonTrackMatcher::match(), L1MuonMatcherAlgo::match(), GlobalMuonTrackMatcher::match_D(), GlobalMuonTrackMatcher::match_Rpos(), L1MuonMatcherAlgo::matchGeneric(), SeedMatcher::matchSimTrack(), OuterEstimator< Algo >::maximalLocalDisplacement(), MuonResidualsFromTrack::MuonResidualsFromTrack(), StateOnTrackerBound::operator()(), ValidHitPairFilter::operator()(), TSCPBuilderNoMaterial::operator()(), TSCBLBuilderWithPropagator::operator()(), operator<<(), Phase2EndcapLayer::overlapInR(), TIDLayer::overlapInR(), ElectronSeedGenerator::prepareElTrackSeed(), ShallowTrackClustersProducer::produce(), MuonReSeeder::produce(), pat::L1MuonMatcher::produce(), pat::HLTL1MuonMatcher::produce(), FakeTrackProducer< T >::produce(), HGCalTrackCollectionProducer::produce(), L2MuonSeedGeneratorFromL1T::produce(), L2MuonSeedGenerator::produce(), TkMSParameterizationBuilder::produce(), BoostedDoubleSVProducer::produce(), MuonSimHitProducer::produce(), TriggerMatcherToHLTDebug::produce(), IPProducer< Container, Base, Helper >::produce(), MuonUpdatorAtVertex::propagate(), HGCal_helpers::SimpleTrackPropagator::propagate(), MuonGmtPair::propagate(), spr::propagateCalo(), spr::propagateHCAL(), MuonUpdatorAtVertex::propagateToNominalLine(), cms::MuonTCMETValueMapProducer::propagateTrack(), spr::propagateTrackerEnd(), TCMETAlgo::propagateTrackToCalorimeterFace(), TrackExtrapolator::propagateTrackToVolume(), TauTagTools::propagTrackECALSurfContactPoint(), TrackAssociatorByPositionImpl::quality(), StandAloneMuonFilter::refit(), CosmicMuonUtilities::reverseDirection(), TIDLayer::ringIndicesByCrossingProximity(), Phase2EndcapLayer::ringIndicesByCrossingProximity(), KFBasedPixelFitter::run(), MuonSeedCleaner::SeedPosition(), L1Analysis::L1AnalysisRecoMuon2::SetMuon(), IPTools::signedDecayLength3D(), CRackTrajectoryBuilder::SortHits(), CosmicMuonSmoother::sortHitsAlongMom(), PropagateToMuon::startingState(), InOutConversionSeedFinder::startSeed(), CosmicMuonUtilities::stepPropagate(), StripSubClusterShapeFilterBase::testLastHit(), TrackEfficiencyMonitor::testSTATracks(), TkGluedMeasurementDet::testStrips(), TrackEfficiencyMonitor::testTrackerTracks(), TrackEfficiencyMonitor::trackerAcceptance(), TSGFromPropagation::trackerSeeds(), FastTSGFromPropagation::trackerSeeds(), TracktoRPC::TracktoRPC(), reco::JetSignalVertexCompatibilityAlgo::trackVertexCompat(), CosmicMuonTrajectoryBuilder::trajectories(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), GsfTrajectorySmoother::trajectory(), KFTrajectorySmoother::trajectory(), TrackTransformer::transform(), GlobalMuonRefitter::transform(), ResidualRefitting::trkExtrap(), MuonTrajectoryUpdator::update(), SimpleNavigableLayer::wellInside(), TSGFromPropagation::zDis(), and FastTSGFromPropagation::zDis().

83  {
84  return data().globalPosition();
85  }
const T & data() const
Definition: ProxyBase11.h:54
bool TrajectoryStateOnSurface::hasError ( void  ) const
inline
bool TrajectoryStateOnSurface::isValid ( void  ) const
inline

Definition at line 62 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(), SiStripElectronSeedGenerator::altCheckHitsAndTSOS(), CkfDebugger::analyseRecHitExistance(), TrackingRecoMaterialAnalyser::analyze(), ElectronSeedAnalyzer::analyze(), MuonAlignmentAnalyzer::analyze(), SiPixelHitEfficiencySource::analyze(), TestHits::analyze(), SiPixelTrackResidualSource::analyze(), TestSmoothHits::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), TestTrackHits::analyze(), DTChamberEfficiency::analyze(), MuonAlignment::analyze(), SeedMultiplicityAnalyzer::analyze(), analyzer::SiPixelLorentzAngle::analyze(), L1MuonRecoTreeProducer::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SignedImpactParameter3D::apply(), SignedDecayLength3D::apply(), TrackAssociatorByPositionImpl::associateRecoToSim(), TrackAssociatorByPositionImpl::associateSimToReco(), TempTrajectory::badForCCC(), Trajectory::badForCCC(), CosmicMuonTrajectoryBuilder::build(), GroupedDAFHitCollector::buildMultiRecHits(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), SeedFromGenericPairOrTriplet::buildSeed(), SeedForPhotonConversion1Leg::buildSeed(), SeedFromConsecutiveHitsCreator::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), FWTrackProxyBuilderFullFramework::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), EgammaHLTElectronDetaDphiProducer::calDEtaDPhiSCTrk(), MultiTrajectoryStateMode::chargeFromMode(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), SiStripElectronSeedGenerator::checkHitsAndTSOS(), ConversionProducer::checkPhi(), reco::modules::TrackerTrackHitFilter::checkPXLCorrClustCharge(), MuonTrajectoryCleaner::clean(), MuonCkfTrajectoryBuilder::collectMeasurement(), TkGluedMeasurementDet::collectRecHits(), CollinearFitAtTM2::CollinearFitAtTM2(), PixelClusterShapeSeedComparitor::compatible(), MuDetRing::compatible(), ForwardDetLayer::compatible(), BarrelDetLayer::compatible(), MuDetRod::compatible(), MuRingForwardDoubleLayer::compatible(), PixelRod::compatibleDetsV(), PixelHitMatcher::compatibleHits(), TrackEfficiencyMonitor::compatibleLayers(), PixelHitMatcher::compatibleSeeds(), GsfTrackProducerBase::computeModeAtTM(), GsfConstraintAtVertex::constrainAtPoint(), SeedFromNuclearInteraction::construct(), GlobalMuonTrackMatcher::convertToTSOSMuHit(), GlobalMuonTrackMatcher::convertToTSOSTk(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), OutInConversionSeedFinder::createSeed(), InOutConversionSeedFinder::createSeed(), CaloDetIdAssociator::crossedElement(), SimpleNavigableLayer::crossingState(), L1MuonRecoTreeProducer::cylExtrapTrkSam(), MuonGmtPair::cylExtrapTrkSam(), ResidualRefitting::cylExtrapTrkSam(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), MultipleScatteringGeometry::detLayers(), SignedImpactParameter3D::distanceWithJetAxis(), OutsideInMuonSeeder::doDebug(), OutsideInMuonSeeder::doLayer(), CSCPairResidualsConstraint::dphidzFromTrack(), PrintoutHelper::dumpCandidate(), 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(), SETFilter::findChi2(), CkfTrajectoryBuilder::findCompatibleMeasurements(), TrackEfficiencyMonitor::findNextLayer(), CollinearFitAtTM::fit(), CosmicMuonSmoother::fit(), GsfTrajectoryFitter::fitOne(), KFTrajectoryFitter::fitOne(), CosmicMuonTrajectoryBuilder::flipTrajectory(), Trajectory::geometricalInnermostState(), 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(), TSGForOI::makeSeedsFromHits(), TSGForOIFromL2::makeSeedsFromHits(), L1MuonMatcherAlgo::match(), GlobalMuonTrackMatcher::match(), TrajSeedMatcher::match2ndToNthHit(), GlobalMuonTrackMatcher::match_Chi2(), TSGForOI::match_Chi2(), TSGForOIFromL2::match_Chi2(), GlobalMuonTrackMatcher::match_D(), GlobalMuonTrackMatcher::match_d(), GlobalMuonTrackMatcher::match_dist(), GlobalMuonTrackMatcher::match_Rmom(), GlobalMuonTrackMatcher::match_Rpos(), TrajSeedMatcher::matchFirstHit(), L1MuonMatcherAlgo::matchGeneric(), SeedMatcher::matchSimTrack(), MatcherUsingTracksAlgorithm::matchWithPropagation(), MultiTrajectoryStateMerger::merge(), MultiTrajectoryStateMode::momentumFromModeCartesian(), MultiTrajectoryStateMode::momentumFromModeLocal(), MultiTrajectoryStateMode::momentumFromModeP(), MultiTrajectoryStateMode::momentumFromModePPhiEta(), MultiTrajectoryStateMode::momentumFromModeQP(), GaussianStateConversions::multiGaussianStateFromTSOS(), MuonResidualsFromTrack::MuonResidualsFromTrack(), GlobalTrackQualityProducer::newChi2(), TrajectoryStateLessWeight::operator()(), BeamSpotAlignmentDerivatives::operator()(), StateOnTrackerBound::operator()(), ValidHitPairFilter::operator()(), FullConvolutionWithMaterial::operator()(), TSCBLBuilderWithPropagator::operator()(), TkClonerImpl::operator()(), MultiTrajectoryStateMode::positionFromModeCartesian(), MultiTrajectoryStateMode::positionFromModeLocal(), DynamicTruncation::preliminaryFit(), ElectronSeedGenerator::prepareElTrackSeed(), DAFTrackProducerAlgorithm::PrintHit(), EgammaHLTPixelMatchElectronAlgo::process(), MuonReSeeder::produce(), TSGForOI::produce(), pat::L1MuonMatcher::produce(), pat::HLTL1MuonMatcher::produce(), ME0SegmentMatcher::produce(), HSCPDeDxInfoProducer::produce(), TSGForOIFromL2::produce(), TrackCandidateProducer::produce(), HGCalTrackCollectionProducer::produce(), ConvBremSeedProducer::produce(), L2MuonSeedGeneratorFromL1T::produce(), L2MuonSeedGenerator::produce(), ShallowGainCalibration::produce(), BoostedDoubleSVProducer::produce(), TrackerToMuonPropagator::produce(), PFElecTkProducer::produce(), cms::CosmicTrackFinder::produce(), MuonSimHitProducer::produce(), TriggerMatcherToHLTDebug::produce(), IPProducer< Container, Base, Helper >::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), TrackingRecHitPropagator::project(), TkClonerImpl::project(), HGCal_helpers::SimpleTrackPropagator::propagate(), MuonGmtPair::propagate(), spr::propagateCalo(), spr::propagateHCAL(), StandAloneMuonTrajectoryBuilder::propagateTheSeedTSOS(), cms::MuonTCMETValueMapProducer::propagateTrack(), spr::propagateTrackerEnd(), TCMETAlgo::propagateTrackToCalorimeterFace(), TrackExtrapolator::propagateTrackToVolume(), GsfPropagatorWithMaterial::propagateWithPath(), TauTagTools::propagTrackECALSurfContactPoint(), GsfTrackProducerBase::putInEvt(), core.AutoHandle.AutoHandle::ReallyLoad(), TkConvValidator::recalculateMomentumAtFittedVertex(), SimpleDAFHitCollector::recHits(), KFBasedPixelFitter::run(), MuonMillepedeAlgorithm::run(), HIPAlignmentAlgorithm::run(), GlobalMuonTrackMatcher::samePlane(), BaseCkfTrajectoryBuilder::seedMeasurements(), SeedGeneratorForCRack::seeds(), SeedGeneratorForCosmics::seeds(), SeedTransformer::seedTransform(), L1Analysis::L1AnalysisRecoMuon2::SetMuon(), IPTools::signedDecayLength3D(), CosmicMuonSmoother::smooth(), CRackTrajectoryBuilder::SortHits(), PropagateToMuon::startingState(), CosmicMuonUtilities::stepPropagate(), L1MuonRecoTreeProducer::surfExtrapTrkSam(), MuonGmtPair::surfExtrapTrkSam(), ChargeSignificanceTrajectoryFilter::TBC(), ThresholdPtTrajectoryFilter::test(), StripSubClusterShapeTrajectoryFilter::testLastHit(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), TrackEfficiencyMonitor::trackerAcceptance(), TSGFromPropagation::trackerSeeds(), FastTSGFromPropagation::trackerSeeds(), InOutConversionTrackFinder::tracks(), OutInConversionTrackFinder::tracks(), TracktoRPC::TracktoRPC(), 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(), DynamicTruncation::update(), DynamicTruncation::updateWithCSChits(), DynamicTruncation::updateWithDThits(), and SimpleNavigableLayer::wellInside().

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

Definition at line 119 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by MuonResidualsFromTrack::addTrkCovMatrix(), CkfDebugger::analyseCompatibleMeasurements(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), BzeroReferenceTrajectory::BzeroReferenceTrajectory(), SiTrackerMultiRecHitUpdator::calcParameters(), TkGluedMeasurementDet::checkHitProjection(), CollinearFitAtTM2::CollinearFitAtTM2(), TrajectoryStateCombiner::combine(), ForwardDetLayer::compatible(), MuRingForwardDoubleLayer::compatible(), MuRingForwardLayer::compatibleDets(), MultipleScatteringUpdator::compute(), GsfTrackProducerBase::computeModeAtTM(), PFGsfHelper::computeQpMode(), SiTrackerMultiRecHitUpdator::ComputeWeight(), ReferenceTrajectory::construct(), CaloDetIdAssociator::crossedElement(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), OutsideInMuonSeeder::doLayer(), Chi2Strip1DEstimator::estimate(), MRHChi2MeasurementEstimator::estimate(), Chi2MeasurementEstimatorBase::estimate(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), TrackerValidationVariables::fillHitQuantities(), ApeEstimator::fillHitVariables(), CollinearFitAtTM::fit(), KFTrajectoryFitter::fitOne(), MuonKinkFinder::getChi2(), MatcherUsingTracksAlgorithm::getChi2(), NuclearTrackCorrector::getInitialState(), TrackDetectorAssociator::getTAMuonChamberMatches(), TkPixelMeasurementDet::hasBadComponents(), 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(), ForwardMeasurementEstimator::maximalLocalDisplacement(), BarrelMeasurementEstimator::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(), and MuRodBarrelLayer::xError().

119  {
120  return data().localError();
121  }
const T & data() const
Definition: ProxyBase11.h:54
LocalVector TrajectoryStateOnSurface::localMomentum ( ) const
inline
const LocalTrajectoryParameters& TrajectoryStateOnSurface::localParameters ( ) const
inline

Definition at line 107 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), 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(), MuonKinkFinder::getChi2(), MatcherUsingTracksAlgorithm::getChi2(), NuclearTrackCorrector::getInitialState(), PixelClusterParameterEstimator::getParameters(), CRackTrajectoryBuilder::innerState(), ClusterParameterEstimator< Phase2TrackerCluster1D >::localParameters(), StripClusterParameterEstimator::localParameters(), GsfTrackProducerBase::localParametersFromQpMode(), ClusterParameterEstimator< Phase2TrackerCluster1D >::localParametersV(), StripClusterParameterEstimator::localParametersV(), TkClonerImpl::makeShared(), GlobalMuonTrackMatcher::match_Chi2(), TSGForOI::match_Chi2(), TSGForOIFromL2::match_Chi2(), SeedMatcher::matchSimTrack(), MeasurementExtractor::measuredParameters(), GlobalTrackerMuonAlignment::misalignMuonL(), MultiTrajectoryStateMode::momentumFromModeLocal(), GlobalTrackerMuonAlignment::muonFitter(), SegmentAlignmentDerivatives4D::operator()(), TrajectoryStateWithArbitraryError::operator()(), TkClonerImpl::operator()(), KarimakiAlignmentDerivatives::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(), TrackClusterSplitter::splitCluster(), FastTSGFromPropagation::stateOnDet(), 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().

107  {
108  return data().localParameters();
109  }
const T & data() const
Definition: ProxyBase11.h:54
LocalPoint TrajectoryStateOnSurface::localPosition ( ) const
inline

Definition at line 110 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by CosmicTrajectoryBuilder::AddHit(), MuonDT2ChamberResidual::addResidual(), MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), CkfDebugger::analyseCompatibleMeasurements(), MuonAlignmentAnalyzer::analyze(), SiPixelHitEfficiencySource::analyze(), MuonAlignment::analyze(), analyzer::SiPixelLorentzAngle::analyze(), barrelUtil::calculatePhiWindow(), tkDetUtil::calculatePhiWindow(), TkGluedMeasurementDet::checkHitProjection(), MuDetRing::compatible(), ForwardDetLayer::compatible(), MuRingForwardDoubleLayer::compatible(), MuRodBarrelLayer::compatibleDets(), TkPixelMeasurementDet::compHits(), fastsim::TrackerSimHitProducer::createHitOnDetector(), InsideBoundsMeasurementEstimator::estimate(), Chi2Strip1DEstimator::estimate(), Chi2MeasurementEstimatorBase::estimate(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), TSOSHistogramMaker::fill(), TrackerValidationVariables::fillHitQuantities(), ApeEstimator::fillHitVariables(), OverlapProblemTSOSPositionFilter::filter(), SiStripFineDelayTLA::findtrackangle(), KFTrajectoryFitter::fitOne(), TkPixelMeasurementDet::hasBadComponents(), DeDxTools::IsFarFromBorder(), ShallowGainCalibration::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), TRecHit5DParamConstraint::localPosition(), TrajectoryManager::makeSinglePSimHit(), TwoBodyDecayTrajectoryFactory::match(), GlobalMuonTrackMatcher::match_d(), GlobalMuonTrackMatcher::match_dist(), MatcherUsingTracksAlgorithm::matchWithPropagation(), TkStripMeasurementDet::measurements(), MuonResidualsFromTrack::MuonResidualsFromTrack(), BeamSpotAlignmentDerivatives::operator()(), ValidHitPairFilter::operator()(), DAFTrackProducerAlgorithm::PrintHit(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), ShallowTrackClustersProducer::produce(), HSCPDeDxInfoProducer::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TkPhase2OTMeasurementDet::recHits(), TkStripMeasurementDet::recHits(), GlobalMuonTrackMatcher::samePlane(), TkStripMeasurementDet::simpleRecHits(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), TracktoRPC::TracktoRPC(), KFTrajectorySmoother::trajectory(), trajectoryToResiduals(), and ResidualRefitting::trkExtrap().

110  {
111  return data().localPosition();
112  }
const T & data() const
Definition: ProxyBase11.h:54
const MagneticField* TrajectoryStateOnSurface::magneticField ( ) const
inline
TrajectoryStateOnSurface& TrajectoryStateOnSurface::operator= ( TrajectoryStateOnSurface &&  rh)
inline

Definition at line 44 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::swap().

44  {
45  Base::swap(rh);
46  return *this;
47  }
void swap(ProxyBase11 &other) noexcept
Definition: ProxyBase11.h:43
TrajectoryStateOnSurface& TrajectoryStateOnSurface::operator= ( TrajectoryStateOnSurface const &  rh)
inline

Definition at line 49 of file TrajectoryStateOnSurface.h.

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

49  {
50  Base::operator=(rh);
51  return *this;
52  }
ProxyBase11 & operator=(std::shared_ptr< U > p)
Definition: ProxyBase11.h:37
void TrajectoryStateOnSurface::rescaleError ( double  factor)
inline
CurvilinearTrajectoryError& TrajectoryStateOnSurface::setCurvilinearError ( )
inline

Definition at line 173 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::sharedData().

173  {
174  return sharedData().setCurvilinearError();
175  }
T & sharedData()
Definition: ProxyBase11.h:64
double TrajectoryStateOnSurface::signedInverseMomentum ( ) const
inline

Definition at line 95 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

95  {
96  return data().signedInverseMomentum();
97  }
const T & data() const
Definition: ProxyBase11.h:54
bool TrajectoryStateOnSurface::singleState ( ) const
inline
const SurfaceType& TrajectoryStateOnSurface::surface ( ) const
inline

Definition at line 122 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by MuonErrorMatrix::adjust(), TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), CkfDebugger::analyseCompatibleMeasurements(), TrackingRecoMaterialAnalyser::analyze(), DTChamberEfficiency::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), MuonSimHitProducer::applyMaterialEffects(), L2MuonSeedGenerator::associateOfflineSeedToL1(), L2MuonSeedGeneratorFromL1T::associateOfflineSeedToL1(), TrackAssociatorByPositionImpl::associateRecoToSim(), TrackAssociatorByPositionImpl::associateSimToReco(), 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(), GsfTrajectoryFitter::fitOne(), NuclearTrackCorrector::getInitialState(), CRackTrajectoryBuilder::innerState(), L2MuonSeedGeneratorFromL1T::isAssociateOfflineSeedToL1(), SeedMatcher::matchSimTrack(), MatcherUsingTracksAlgorithm::matchWithPropagation(), GlobalTrackerMuonAlignment::misalignMuonL(), MultiTrajectoryStateMode::momentumFromModeLocal(), GlobalTrackerMuonAlignment::muonFitter(), oldMUcompute(), TrajectoryStateWithArbitraryError::operator()(), MultiTrajectoryStateMode::positionFromModeLocal(), ElectronSeedGenerator::prepareElTrackSeed(), TrackCandidateProducer::produce(), cms::CosmicTrackFinder::produce(), TrackingRecHitPropagator::project(), RecHitPropagator::propagate(), MuonTrajectoryUpdator::propagateState(), NuclearInteractionFinder::rescaleError(), CosmicMuonUtilities::reverseDirection(), KFBasedPixelFitter::run(), GlobalMuonTrackMatcher::samePlane(), Traj2TrackHits::split(), sqr(), CosmicMuonUtilities::stepPropagate(), TRecHit5DParamConstraint::surface(), DynamicTruncation::testCSCstation(), DynamicTruncation::testDTstation(), 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(), MaterialEffectsUpdator::updateStateInPlace(), and DynamicTruncation::updateWithDThits().

122  {
123  return data().surface();
124  }
const T & data() const
Definition: ProxyBase11.h:54
SurfaceSide TrajectoryStateOnSurface::surfaceSide ( ) const
inline
void TrajectoryStateOnSurface::swap ( TrajectoryStateOnSurface rh)
inline

Definition at line 57 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::swap().

Referenced by swap().

57  {
58  Base::swap(rh);
59  }
void swap(ProxyBase11 &other) noexcept
Definition: ProxyBase11.h:43
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 10 of file TrajectoryStateOnSurface.cc.

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

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), SeedFromGenericPairOrTriplet::buildSeed(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), surfaceSide(), DynamicTruncation::update(), update(), Vispa.Gui.PortConnection.PointToPointConnection::updateConnection(), MaterialEffectsUpdator::updateStateInPlace(), DynamicTruncation::updateWithCSChits(), and DynamicTruncation::updateWithDThits().

14 {
15  if (data().canUpdateLocalParameters()) {
16  unsharedData().update(p, aSurface, field, side);
17  } else {
18  *this = TrajectoryStateOnSurface(p, aSurface, field, side);
19  }
20 }
const T & data() const
Definition: ProxyBase11.h:54
T & unsharedData()
Definition: ProxyBase11.h:56
void TrajectoryStateOnSurface::update ( const LocalTrajectoryParameters p,
SurfaceSide  side 
)
inline

Definition at line 154 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::unsharedData().

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

155  { unsharedData().update(p, side);}
T & unsharedData()
Definition: ProxyBase11.h:56
void TrajectoryStateOnSurface::update ( const LocalTrajectoryParameters p,
const LocalTrajectoryError err,
SurfaceSide  side 
)
inline

Definition at line 157 of file TrajectoryStateOnSurface.h.

References SurfaceSideDefinition::atCenterOfSurface, ProxyBase11< T >::unsharedData(), and update().

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

159  {unsharedData().update(p, err, side);}
T & unsharedData()
Definition: ProxyBase11.h:56
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 25 of file TrajectoryStateOnSurface.cc.

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

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

30 {
31  if (data().canUpdateLocalParameters()) {
32  unsharedData().update(1., p, err, aSurface, field, side);
33  } else {
34  *this = TrajectoryStateOnSurface(1., p, err, aSurface, field, side );
35  }
36 }
const T & data() const
Definition: ProxyBase11.h:54
T & unsharedData()
Definition: ProxyBase11.h:56
double TrajectoryStateOnSurface::weight ( void  ) const
inline