CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Types
TrajectoryStateOnSurface Class Reference

#include <TrajectoryStateOnSurface.h>

Inheritance diagram for TrajectoryStateOnSurface:
ProxyBase< T, Cloner >

Public Member Functions

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

Private Types

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

Additional Inherited Members

- Private Member Functions inherited from ProxyBase< T, Cloner >
void check () const
 
const Tdata () const
 
void destroy () noexcept
 
bool isValid () const
 
ProxyBaseoperator= (const ProxyBase &other) noexcept
 
 ProxyBase () noexcept
 
 ProxyBase (T *p) noexcept
 
 ProxyBase (const ProxyBase &other) noexcept
 
int references () const
 
TsharedData ()
 
void swap (ProxyBase &other) noexcept
 
TunsharedData ()
 
 ~ProxyBase () 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 15 of file TrajectoryStateOnSurface.h.

Member Typedef Documentation

Definition at line 19 of file TrajectoryStateOnSurface.h.

Definition at line 18 of file TrajectoryStateOnSurface.h.

Definition at line 17 of file TrajectoryStateOnSurface.h.

Constructor & Destructor Documentation

TrajectoryStateOnSurface::TrajectoryStateOnSurface ( )
inline

Definition at line 23 of file TrajectoryStateOnSurface.h.

Referenced by update().

23 {}
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const SurfaceType aSurface)
explicit

Constructor from one of the basic states.

Definition at line 7 of file TrajectoryStateOnSurface.cc.

7  :
8  Base( new BTSOS(aSurface)) {}
BasicTrajectoryState::Proxy Base
BasicSingleTrajectoryState BTSOS
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( BasicTrajectoryState p)
inline

Definition at line 30 of file TrajectoryStateOnSurface.h.

30 : Base(p) {}
BasicTrajectoryState::Proxy Base
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const FreeTrajectoryState fts,
const SurfaceType aSurface,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)

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

Definition at line 11 of file TrajectoryStateOnSurface.cc.

12  :
13  Base( new BTSOS( fts, aSurface, side)) {}
BasicTrajectoryState::Proxy Base
BasicSingleTrajectoryState BTSOS
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const GlobalTrajectoryParameters gp,
const SurfaceType aSurface,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)

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

Definition at line 17 of file TrajectoryStateOnSurface.cc.

18  :
19  Base( new BTSOS( gp, aSurface, side)) {}
BasicTrajectoryState::Proxy Base
BasicSingleTrajectoryState BTSOS
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const GlobalTrajectoryParameters gp,
const CartesianTrajectoryError err,
const SurfaceType aSurface,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)

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

Definition at line 22 of file TrajectoryStateOnSurface.cc.

24  :
25  Base( new BTSOS( gp, err, aSurface, side)) {}
BasicTrajectoryState::Proxy Base
BasicSingleTrajectoryState BTSOS
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const GlobalTrajectoryParameters gp,
const CurvilinearTrajectoryError err,
const SurfaceType aSurface,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface,
double  weight = 1. 
)

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

Definition at line 28 of file TrajectoryStateOnSurface.cc.

30  :
31  Base( new BTSOS( gp, err, aSurface, side, weight)) {}
BasicTrajectoryState::Proxy Base
BasicSingleTrajectoryState BTSOS
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const GlobalTrajectoryParameters gp,
const CurvilinearTrajectoryError err,
const SurfaceType aSurface,
double  weight 
)

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

Definition at line 34 of file TrajectoryStateOnSurface.cc.

36  :
37  Base( new BTSOS( gp, err, aSurface, SurfaceSideDefinition::atCenterOfSurface, weight)) {}
BasicTrajectoryState::Proxy Base
BasicSingleTrajectoryState BTSOS
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const LocalTrajectoryParameters p,
const SurfaceType aSurface,
const MagneticField field,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)

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

Definition at line 40 of file TrajectoryStateOnSurface.cc.

43  :
44  Base( new BTSOS( p, aSurface, field, side)) {}
BasicTrajectoryState::Proxy Base
BasicSingleTrajectoryState BTSOS
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const LocalTrajectoryParameters p,
const LocalTrajectoryError err,
const SurfaceType aSurface,
const MagneticField field,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface,
double  weight = 1. 
)

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

Definition at line 47 of file TrajectoryStateOnSurface.cc.

51  :
52  Base( new BTSOS( p, err, aSurface, field, side, weight)) {}
BasicTrajectoryState::Proxy Base
BasicSingleTrajectoryState BTSOS
TrajectoryStateOnSurface::TrajectoryStateOnSurface ( const LocalTrajectoryParameters p,
const LocalTrajectoryError err,
const SurfaceType aSurface,
const MagneticField field,
double  weight 
)

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

Definition at line 55 of file TrajectoryStateOnSurface.cc.

59  :
60  Base( new BTSOS( p, err, aSurface, field, SurfaceSideDefinition::atCenterOfSurface, weight)) {}
BasicTrajectoryState::Proxy Base
BasicSingleTrajectoryState BTSOS
TrajectoryStateOnSurface::~TrajectoryStateOnSurface ( )
inline

Definition at line 94 of file TrajectoryStateOnSurface.h.

94 {}

Member Function Documentation

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

Definition at line 131 of file TrajectoryStateOnSurface.h.

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

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

131  {
132  return data().freeTrajectoryState();
133  }
const T & data() const
Definition: ProxyBase.h:67
FreeTrajectoryState* TrajectoryStateOnSurface::freeTrajectoryState ( bool  withErrors = true) const
inline
GlobalVector TrajectoryStateOnSurface::globalDirection ( ) const
inline
GlobalVector TrajectoryStateOnSurface::globalMomentum ( ) const
inline

Definition at line 147 of file TrajectoryStateOnSurface.h.

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

Referenced by MuonErrorMatrix::adjust(), TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), TrackBuildingAnalyzer::analyze(), ElectronSeedAnalyzer::analyze(), MuonSeedsAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), TestTrackHits::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SignedImpactParameter3D::apply(), MuonSimHitProducer::applyMaterialEffects(), LayerCrossingSide::barrelSide(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), SeedForPhotonConversion1Leg::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), FWTrackProxyBuilderFF::buildTrack(), TangentApproachInRPhi::calculate(), MuonTrajectoryCleaner::clean(), TrackerSeedCleaner::clean(), MuonCkfTrajectoryBuilder::collectMeasurement(), SiStripGainFromData::ComputeChargeOverPath(), TECLayer::computeCrossings(), 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(), TrackAnalyzer::fillHistosForState(), MuonTrackAnalyzer::fillPlots(), CosmicMuonSmoother::fit(), ConversionSeedFilter::getKine(), MuonTrackAnalyzer::getSimTrack(), CosmicMuonSmoother::initialState(), MuRingForwardDoubleLayer::isInsideOut(), IPTools::jetTrackDistance(), IPTools::linearImpactParameter(), IPTools::linearizedSignedImpactParameter3D(), TrajectoryManager::makeSinglePSimHit(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), GlobalCosmicMuonTrajectoryBuilder::match(), GlobalMuonTrackMatcher::match_Rmom(), MatcherUsingTracksAlgorithm::matchWithPropagation(), oldMUcompute(), VertexMass::operator()(), TrackFilterForPVFinding::operator()(), BeamSpotAlignmentDerivatives::operator()(), CompareTwoTracks::operator()(), MomentumDependentPedeLabeler::parameterLabel(), ElectronSeedGenerator::prepareElTrackSeed(), TrajectorySeedProducer::produce(), TrackCandidateProducer::produce(), L2MuonSeedGenerator::produce(), ConversionSeedFilterCharge::produce(), FakeTrackProducer< T >::produce(), MuonSimHitProducer::produce(), TrackExtrapolator::propagateTrackToVolume(), TkConvValidator::recalculateMomentumAtFittedVertex(), CosmicMuonUtilities::reverseDirection(), KFBasedPixelFitter::run(), MuonSeedCleaner::SeedMomentum(), CosmicMuonSmoother::smooth(), TSGFromPropagation::trackerSeeds(), FastTSGFromPropagation::trackerSeeds(), MuonTrackAnalyzer::tracksAnalysis(), CosmicMuonTrajectoryBuilder::trajectories(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), TrackTransformer::transform(), GlobalMuonRefitter::transform(), VolumeMaterialEffectsUpdator::updateState(), reco::TrackGhostTrackState::vertexStateOnGhostTrack(), reco::TrackGhostTrackState::vertexStateOnMeasurement(), TSGFromPropagation::zDis(), and FastTSGFromPropagation::zDis().

147  {
148  return data().globalMomentum();
149  }
const T & data() const
Definition: ProxyBase.h:67
const GlobalTrajectoryParameters& TrajectoryStateOnSurface::globalParameters ( void  ) const
inline

Definition at line 141 of file TrajectoryStateOnSurface.h.

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

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

141  {
142  return data().globalParameters();
143  }
const T & data() const
Definition: ProxyBase.h:67
GlobalPoint TrajectoryStateOnSurface::globalPosition ( ) const
inline

Definition at line 144 of file TrajectoryStateOnSurface.h.

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

Referenced by IPTools::absoluteImpactParameter(), CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), LayerCollector::allLayers(), CkfDebugger::analyseCompatibleMeasurements(), MuonEnergyDepositAnalyzer::analyze(), ElectronSeedAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), TestTrackHits::analyze(), GetTrackTrajInfo::analyze(), MuonAlignment::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SignedImpactParameter3D::apply(), SignedDecayLength3D::apply(), MuonSimHitProducer::applyMaterialEffects(), L2MuonSeedGenerator::associateOfflineSeedToL1(), LayerCrossingSide::barrelSide(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), FWTrackProxyBuilderFF::buildTrack(), MuonTrackLoader::buildTrackAtPCA(), MuonSeedTrack::buildTrackAtPCA(), TangentApproachInRPhi::calculate(), EgammaHLTElectronDetaDphiProducer::calDEtaDPhiSCTrk(), MuonCkfTrajectoryBuilder::collectMeasurement(), MuDetRing::compatible(), BarrelDetLayer::compatible(), MuRodBarrelLayer::compatibleDets(), MuRingForwardLayer::compatibleDets(), MuDetRing::compatibleDets(), MuDetRod::compatibleDets(), TrackEfficiencyMonitor::compatibleLayers(), TECLayer::computeCrossings(), GsfTrackProducerBase::computeModeAtTM(), SingleTrackVertexConstraint::constrain(), GlobalMuonTrackMatcher::convertToTSOSMuHit(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), 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(), CosmicMuonTrajectoryBuilder::estimateDirection(), TrajectoryExtrapolatorToLine::extrapolate(), PropagateToMuon::extrapolate(), fastProp(), DynamicTruncation::filter(), ConversionTrackEcalImpactPoint::find(), InOutConversionSeedFinder::findSeeds(), CosmicMuonSmoother::fit(), MuonRoadTrajectoryBuilder::GatherHits(), MuonShowerInformationFiller::getCompatibleDets(), EcalShowerProperties::getEndpoints(), NuclearTrackCorrector::getInitialState(), ConversionSeedFilter::getKine(), AddTvTrack::getSecondaryVertices(), ConversionProducer::getTrackImpactPosition(), HDetIdAssociator::getTrajectory(), reco::TrackGhostTrackState::globalPosition(), CosmicTrackingRegion::hits(), HLTMuonPointingFilter::hltFilter(), CosmicMuonSmoother::initialState(), MuRingForwardDoubleLayer::isInsideOut(), IPTools::jetTrackDistance(), GlobalTrackQualityProducer::kink(), IPTools::linearImpactParameter(), reco::TrackGhostTrackState::linearize(), IPTools::linearizedSignedImpactParameter3D(), TSGForRoadSearch::makeSeeds_0(), TSGForRoadSearch::makeSeeds_4(), TrajectoryManager::makeSinglePSimHit(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), GlobalCosmicMuonTrajectoryBuilder::match(), GlobalMuonTrackMatcher::match(), L1MuonMatcherAlgo::match(), GlobalMuonTrackMatcher::match_D(), GlobalMuonTrackMatcher::match_Rpos(), L1MuonMatcherAlgo::matchGeneric(), OuterEstimator::maximalLocalDisplacement(), ValidHitPairFilter::operator()(), StateOnTrackerBound::operator()(), TSCBLBuilderWithPropagator::operator()(), CRackTrajectoryBuilder::CompareDetByTraj::operator()(), operator<<(), ElectronSeedGenerator::prepareElTrackSeed(), PlotRecTracks::printRecTracks(), EcalShowerProperties::processTrack(), ShallowTrackClustersProducer::produce(), TrackIPProducer::produce(), MuonReSeeder::produce(), TrackCandidateProducer::produce(), pat::L1MuonMatcher::produce(), pat::HLTL1MuonMatcher::produce(), L2MuonSeedGenerator::produce(), FakeTrackProducer< T >::produce(), MuonSimHitProducer::produce(), TriggerMatcherToHLTDebug::produce(), MuonUpdatorAtVertex::propagate(), Propagator::propagate(), MuonGmtPair::propagate(), spr::propagateCalo(), MuonUpdatorAtVertex::propagateToNominalLine(), cms::MuonTCMETValueMapProducer::propagateTrack(), TCMETAlgo::propagateTrack(), spr::propagateTrackerEnd(), TrackExtrapolator::propagateTrackToVolume(), TauTagTools::propagTrackECALSurfContactPoint(), TempTrajectory::pushAux(), TrackAssociatorByPosition::quality(), StandAloneMuonFilter::refit(), CosmicMuonUtilities::reverseDirection(), KFBasedPixelFitter::run(), MuonSeedCleaner::SeedPosition(), IPTools::signedDecayLength3D(), CosmicMuonSmoother::smooth(), CRackTrajectoryBuilder::SortHits(), CosmicMuonSmoother::sortHitsAlongMom(), InOutConversionSeedFinder::startSeed(), CosmicMuonUtilities::stepPropagate(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), TCTauAlgorithm::trackEcalHitPoint(), TrackEfficiencyMonitor::trackerAcceptance(), TSGFromPropagation::trackerSeeds(), FastTSGFromPropagation::trackerSeeds(), TracktoRPC::TracktoRPC(), reco::JetSignalVertexCompatibilityAlgo::trackVertexCompat(), CosmicMuonTrajectoryBuilder::trajectories(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), trajectorymeasurementOrder(), TrackTransformer::transform(), GlobalMuonRefitter::transform(), ResidualRefitting::trkExtrap(), MuonTrajectoryUpdator::update(), VolumeMaterialEffectsUpdator::updateState(), reco::TrackGhostTrackState::vertexStateOnGhostTrack(), reco::TrackGhostTrackState::vertexStateOnMeasurement(), SimpleNavigableLayer::wellInside(), TSGFromPropagation::zDis(), and FastTSGFromPropagation::zDis().

144  {
145  return data().globalPosition();
146  }
const T & data() const
Definition: ProxyBase.h:67
bool TrajectoryStateOnSurface::hasError ( void  ) const
inline
bool TrajectoryStateOnSurface::isValid ( void  ) const
inline

Definition at line 123 of file TrajectoryStateOnSurface.h.

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

Referenced by IPTools::absoluteImpactParameter(), CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), PFTrackTransformer::addPointsAndBrems(), MultiTrajectoryStateAssembler::addState(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), DeDxDiscriminatorLearner::algoAnalyze(), SiStripGainFromData::algoAnalyze(), LayerCollector::allLayers(), CkfDebugger::analyseRecHitExistance(), ElectronSeedAnalyzer::analyze(), HcalCorrPFCalculation::analyze(), MuonAlignmentAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), TestTrackHits::analyze(), DTChamberEfficiency::analyze(), MuonAlignment::analyze(), SiPixelLorentzAngle::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SignedImpactParameter3D::apply(), SignedDecayLength3D::apply(), TrackAssociatorByPosition::associateRecoToSim(), TrackAssociatorByPosition::associateSimToReco(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), SeedFromGenericPairOrTriplet::buildSeed(), SeedFromConsecutiveHitsCreator::buildSeed(), SeedForPhotonConversion1Leg::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), FWTrackProxyBuilderFF::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), EgammaHLTElectronDetaDphiProducer::calDEtaDPhiSCTrk(), MultiTrajectoryStateMode::chargeFromMode(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), ConversionProducer::checkPhi(), reco::modules::TrackerTrackHitFilter::checkPXLCorrClustCharge(), MuonTrajectoryCleaner::clean(), MuonCkfTrajectoryBuilder::collectMeasurement(), CollinearFitAtTM2::CollinearFitAtTM2(), PixelClusterShapeSeedComparitor::compatible(), ForwardDetLayer::compatible(), MuDetRing::compatible(), BarrelDetLayer::compatible(), MuDetRod::compatible(), MuRingForwardDoubleLayer::compatible(), 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(), 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(), MuonKinkFinder::fillTrkKink(), CSCEfficiency::filter(), DynamicTruncation::filteringAlgo(), ConversionTrackEcalImpactPoint::find(), SETFilter::findChi2(), CkfTrajectoryBuilder::findCompatibleMeasurements(), TrackEfficiencyMonitor::findNextLayer(), CollinearFitAtTM::fit(), CosmicMuonSmoother::fit(), CosmicMuonTrajectoryBuilder::flipTrajectory(), MuonRoadTrajectoryBuilder::GatherHits(), EcalShowerProperties::getEndpoints(), MuonTrackAnalyzer::getSeedTSOS(), TrackDetectorAssociator::getTAMuonChamberMatches(), ConversionProducer::getTrackImpactPosition(), HDetIdAssociator::getTrajectory(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), GlobalTrajectoryBuilderBase::getTransientRecHits(), CosmicTrackingRegion::hits(), HLTMuonPointingFilter::hltFilter(), SeedFromProtoTrack::init(), CosmicMuonSmoother::initialState(), TransientInitialStateEstimator::innerState(), TkGeomDetCompatibilityChecker::isCompatible(), GeomDetCompatibilityChecker::isCompatible(), reco::TrackGhostTrackState::isValid(), IPTools::jetTrackDistance(), GlobalTrackQualityProducer::kink(), IPTools::linearizedSignedImpactParameter3D(), TSGForRoadSearch::makeSeeds_0(), TSGForRoadSearch::makeSeeds_4(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), L1MuonMatcherAlgo::match(), GlobalMuonTrackMatcher::match(), GlobalMuonTrackMatcher::match_Chi2(), GlobalMuonTrackMatcher::match_D(), GlobalMuonTrackMatcher::match_d(), GlobalMuonTrackMatcher::match_dist(), GlobalMuonTrackMatcher::match_Rmom(), GlobalMuonTrackMatcher::match_Rpos(), L1MuonMatcherAlgo::matchGeneric(), MatcherUsingTracksAlgorithm::matchWithPropagation(), MultiTrajectoryStateMerger::merge(), MultiTrajectoryStateMode::momentumFromModeCartesian(), MultiTrajectoryStateMode::momentumFromModeLocal(), MultiTrajectoryStateMode::momentumFromModeP(), MultiTrajectoryStateMode::momentumFromModePPhiEta(), MultiTrajectoryStateMode::momentumFromModeQP(), GaussianStateConversions::multiGaussianStateFromTSOS(), MuonResidualsFromTrack::MuonResidualsFromTrack(), GlobalTrackQualityProducer::newChi2(), TrajectoryStateLessWeight::operator()(), BeamSpotAlignmentDerivatives::operator()(), FullConvolutionWithMaterial::operator()(), ValidHitPairFilter::operator()(), StateOnTrackerBound::operator()(), MultiTrajectoryStateMode::positionFromModeCartesian(), MultiTrajectoryStateMode::positionFromModeLocal(), ElectronSeedGenerator::prepareElTrackSeed(), FastElectronSeedGenerator::prepareElTrackSeed(), PlotRecTracks::printRecTracks(), EgammaHLTPixelMatchElectronAlgo::process(), EcalShowerProperties::processTrack(), TrackIPProducer::produce(), TrajectorySeedProducer::produce(), TrackCandidateProducer::produce(), MuonReSeeder::produce(), pat::L1MuonMatcher::produce(), pat::HLTL1MuonMatcher::produce(), DeDxEstimatorProducer::produce(), L2MuonSeedGenerator::produce(), ConvBremSeedProducer::produce(), DeDxDiscriminatorProducer::produce(), ShallowGainCalibration::produce(), TrackerToMuonPropagator::produce(), cms::CosmicTrackFinder::produce(), MuonSimHitProducer::produce(), TriggerMatcherToHLTDebug::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), TrackingRecHitPropagator::project(), MuonGmtPair::propagate(), spr::propagateCalo(), StandAloneMuonTrajectoryBuilder::propagateTheSeedTSOS(), cms::MuonTCMETValueMapProducer::propagateTrack(), TCMETAlgo::propagateTrack(), spr::propagateTrackerEnd(), TrackExtrapolator::propagateTrackToVolume(), GsfPropagatorWithMaterial::propagateWithPath(), TauTagTools::propagTrackECALSurfContactPoint(), GsfTrackProducerBase::putInEvt(), TkConvValidator::recalculateMomentumAtFittedVertex(), KalmanAlignmentTrackRefitter::refitSingleTracklet(), PFElecTkProducer::resolveGsfTracks(), KFBasedPixelFitter::run(), MuonMillepedeAlgorithm::run(), HIPAlignmentAlgorithm::run(), GlobalMuonTrackMatcher::samePlane(), BaseCkfTrajectoryBuilder::seedMeasurements(), SeedGeneratorForCRack::seeds(), SeedGeneratorForCosmics::seeds(), SeedTransformer::seedTransform(), IPTools::signedDecayLength3D(), CosmicMuonSmoother::smooth(), CRackTrajectoryBuilder::SortHits(), CosmicMuonUtilities::stepPropagate(), MuonGmtPair::surfExtrapTrkSam(), ChargeSignificanceTrajectoryFilter::TBC(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), TrackEfficiencyMonitor::trackerAcceptance(), TSGFromPropagation::trackerSeeds(), FastTSGFromPropagation::trackerSeeds(), InOutConversionTrackFinder::tracks(), OutInConversionTrackFinder::tracks(), TracktoRPC::TracktoRPC(), DualBzeroTrajectoryFactory::trajectories(), DualTrajectoryFactory::trajectories(), CosmicMuonTrajectoryBuilder::trajectories(), CosmicMuonSmoother::trajectories(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), DeDxTools::trajectoryRawHits(), trajectoryToResiduals(), TrackTransformer::transform(), SETFilter::transform(), ResidualRefitting::trkExtrap(), GsfMultiStateUpdator::update(), MuonTrajectoryUpdator::update(), DynamicTruncation::update(), DynamicTruncation::updateWithCSChits(), and SimpleNavigableLayer::wellInside().

123  {
124  return Base::isValid() && data().isValid();
125  }
const T & data() const
Definition: ProxyBase.h:67
bool isValid() const
Definition: ProxyBase.h:81
LocalVector TrajectoryStateOnSurface::localDirection ( ) const
inline
const LocalTrajectoryError& TrajectoryStateOnSurface::localError ( ) const
inline

Definition at line 180 of file TrajectoryStateOnSurface.h.

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

Referenced by MuonResidualsFromTrack::addTrkCovMatrix(), CkfDebugger::analyseCompatibleMeasurements(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), BzeroReferenceTrajectory::BzeroReferenceTrajectory(), CollinearFitAtTM2::CollinearFitAtTM2(), TrajectoryStateCombiner::combine(), ForwardDetLayer::compatible(), MuRingForwardDoubleLayer::compatible(), MuRingForwardLayer::compatibleDets(), GsfTrackProducerBase::computeModeAtTM(), PFGsfHelper::computeQpMode(), ReferenceTrajectory::construct(), CaloDetIdAssociator::crossedElement(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), OutsideInMuonSeeder::doLayer(), Chi2MeasurementEstimatorBase::estimate(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), TrackerValidationVariables::fillHitQuantities(), CollinearFitAtTM::fit(), MuonKinkFinder::getChi2(), MatcherUsingTracksAlgorithm::getChi2(), NuclearTrackCorrector::getInitialState(), TrackDetectorAssociator::getTAMuonChamberMatches(), TkPixelMeasurementDet::hasBadComponents(), TransientInitialStateEstimator::innerState(), DeDxDiscriminatorTools::IsFarFromBorder(), ShallowGainCalibration::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), GsfTrackProducerBase::localParametersFromQpMode(), GlobalMuonTrackMatcher::match_Chi2(), GlobalMuonTrackMatcher::match_dist(), Chi2MeasurementEstimatorBase::maximalLocalDisplacement(), ForwardMeasurementEstimator::maximalLocalDisplacement(), BarrelMeasurementEstimator::maximalLocalDisplacement(), MeasurementExtractor::measuredError(), GlobalTrackerMuonAlignment::muonFitter(), MuonResidualsFromTrack::MuonResidualsFromTrack(), oldMUcompute(), operator<<(), trajectoryStateTransform::persistentState(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), ShallowTrackClustersProducer::produce(), TrajectorySeedProducer::produce(), TrackCandidateProducer::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TrackAssociatorByPosition::quality(), KalmanAlignmentTrackRefitter::refitSingleTracklet(), NuclearInteractionFinder::rescaleError(), TrajectorySegmentBuilder::segments(), CRackTrajectoryBuilder::SortHits(), TrajectorySeedProducer::stateOnDet(), FastTSGFromPropagation::stateOnDet(), ChargeSignificanceTrajectoryFilter::TBC(), CkfDebugger::testSeed(), TrackEfficiencyMonitor::testTrackerTracks(), GlobalTrackerMuonAlignment::trackFitter(), DualBzeroTrajectoryFactory::trajectories(), DualTrajectoryFactory::trajectories(), Strip1DMeasurementTransformator::trajectoryError(), trajectoryToResiduals(), Tsos2DPhi::Tsos2DPhi(), Tsos2DZed::Tsos2DZed(), Tsos4D::Tsos4D(), GsfMultiStateUpdator::update(), GsfMaterialEffectsUpdator::updateState(), VolumeMaterialEffectsUpdator::updateState(), MaterialEffectsUpdator::updateStateInPlace(), SimpleNavigableLayer::wellInside(), and MuRodBarrelLayer::xError().

180  {
181  return data().localError();
182  }
const T & data() const
Definition: ProxyBase.h:67
LocalVector TrajectoryStateOnSurface::localMomentum ( ) const
inline
const LocalTrajectoryParameters& TrajectoryStateOnSurface::localParameters ( ) const
inline

Definition at line 168 of file TrajectoryStateOnSurface.h.

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

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

168  {
169  return data().localParameters();
170  }
const T & data() const
Definition: ProxyBase.h:67
LocalPoint TrajectoryStateOnSurface::localPosition ( ) const
inline

Definition at line 171 of file TrajectoryStateOnSurface.h.

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

Referenced by CosmicTrajectoryBuilder::AddHit(), MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), MuonDT2ChamberResidual::addResidual(), CkfDebugger::analyseCompatibleMeasurements(), SiPixelHitEfficiencySource::analyze(), MuonAlignmentAnalyzer::analyze(), MuonAlignment::analyze(), SiPixelLorentzAngle::analyze(), tkDetUtil::calculatePhiWindow(), ForwardDetLayer::compatible(), MuDetRing::compatible(), MuRingForwardDoubleLayer::compatible(), MuRodBarrelLayer::compatibleDets(), InsideBoundsMeasurementEstimator::estimate(), Chi2MeasurementEstimatorBase::estimate(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), TrackerValidationVariables::fillHitQuantities(), SiStripFineDelayTLA::findtrackangle(), TkPixelMeasurementDet::hasBadComponents(), DeDxDiscriminatorTools::IsFarFromBorder(), ShallowGainCalibration::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), TrajectoryManager::makeSinglePSimHit(), TwoBodyDecayTrajectoryFactory::match(), GlobalMuonTrackMatcher::match_d(), GlobalMuonTrackMatcher::match_dist(), MatcherUsingTracksAlgorithm::matchWithPropagation(), MuonResidualsFromTrack::MuonResidualsFromTrack(), BeamSpotAlignmentDerivatives::operator()(), ValidHitPairFilter::operator()(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), ShallowTrackClustersProducer::produce(), AlignmentMuonHIPTrajectorySelector::produce(), GlobalMuonTrackMatcher::samePlane(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), TracktoRPC::TracktoRPC(), trajectoryToResiduals(), and ResidualRefitting::trkExtrap().

171  {
172  return data().localPosition();
173  }
const T & data() const
Definition: ProxyBase.h:67
const MagneticField* TrajectoryStateOnSurface::magneticField ( ) const
inline
void TrajectoryStateOnSurface::rescaleError ( double  factor)
inline
double TrajectoryStateOnSurface::signedInverseMomentum ( ) const
inline

Definition at line 156 of file TrajectoryStateOnSurface.h.

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

156  {
157  return data().signedInverseMomentum();
158  }
const T & data() const
Definition: ProxyBase.h:67
const SurfaceType& TrajectoryStateOnSurface::surface ( ) const
inline

Definition at line 183 of file TrajectoryStateOnSurface.h.

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

Referenced by MuonErrorMatrix::adjust(), TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), CkfDebugger::analyseCompatibleMeasurements(), DTChamberEfficiency::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), MuonSimHitProducer::applyMaterialEffects(), L2MuonSeedGenerator::associateOfflineSeedToL1(), TrackAssociatorByPosition::associateRecoToSim(), TrackAssociatorByPosition::associateSimToReco(), BzeroReferenceTrajectory::BzeroReferenceTrajectory(), TrajectoryStateCombiner::combine(), MultiRefittedTS::computeFreeTrajectoryState(), GsfConstraintAtVertex::constrainAtPoint(), ReferenceTrajectory::construct(), TwoBodyDecayTrajectory::constructSingleTsosWithErrors(), GlobalMuonTrackMatcher::convertToTSOSTk(), GlobalMuonTrackMatcher::convertToTSOSTkHit(), AlignmentMonitorTracksFromTrajectories::event(), AnalyticalImpactPointExtrapolator::extrapolateFullState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateFullState(), GsfTrackProducerBase::fillMode(), CosmicMuonSmoother::fit(), NuclearTrackCorrector::getInitialState(), TransientInitialStateEstimator::innerState(), CRackTrajectoryBuilder::innerState(), MatcherUsingTracksAlgorithm::matchWithPropagation(), GlobalTrackerMuonAlignment::misalignMuonL(), MultiTrajectoryStateMode::momentumFromModeLocal(), GlobalTrackerMuonAlignment::muonFitter(), oldMUcompute(), TrajectoryStateWithArbitraryError::operator()(), MultiTrajectoryStateMode::positionFromModeLocal(), TrackCandidateProducer::produce(), cms::CosmicTrackFinder::produce(), TrackingRecHitPropagator::project(), RecHitPropagator::propagate(), KalmanAlignmentTrackRefitter::refitSingleTracklet(), NuclearInteractionFinder::rescaleError(), CosmicMuonUtilities::reverseDirection(), KFBasedPixelFitter::run(), GlobalMuonTrackMatcher::samePlane(), SeedTransformer::seedTransform(), CosmicMuonSmoother::smooth(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), GlobalTrackerMuonAlignment::trackFitter(), DualBzeroTrajectoryFactory::trajectories(), DualTrajectoryFactory::trajectories(), TrackTransformer::transform(), GaussianStateConversions::tsosFromMultiGaussianState(), MultiGaussianStateTransform::tsosFromSingleState(), GsfMultiStateUpdator::update(), GsfMaterialEffectsUpdator::updateState(), VolumeMaterialEffectsUpdator::updateState(), and MaterialEffectsUpdator::updateStateInPlace().

183  {
184  return data().surface();
185  }
const T & data() const
Definition: ProxyBase.h:67
SurfaceSide TrajectoryStateOnSurface::surfaceSide ( ) const
inline
void TrajectoryStateOnSurface::swap ( TrajectoryStateOnSurface rh)
inlinenoexcept

Definition at line 118 of file TrajectoryStateOnSurface.h.

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

Referenced by swap().

118  {
119  Base::swap(rh);
120  }
void swap(ProxyBase &other) noexcept
Definition: ProxyBase.h:46
double TrajectoryStateOnSurface::transverseCurvature ( ) const
inline
void TrajectoryStateOnSurface::update ( const LocalTrajectoryParameters p,
const SurfaceType aSurface,
const MagneticField field,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)

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

Definition at line 65 of file TrajectoryStateOnSurface.cc.

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

Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.Steps::__setitem__(), 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(), relval_steps.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(), Vispa.Gui.PortConnection.PointToPointConnection::updateConnection(), MaterialEffectsUpdator::updateStateInPlace(), and TrajectorySegmentBuilder::updateTrajectory().

69 {
70  if (data().canUpdateLocalParameters()) {
71  unsharedData().update(p, aSurface, field, side);
72  } else {
73  *this = TrajectoryStateOnSurface(p, aSurface, field, side);
74  }
75 }
T & unsharedData()
Definition: ProxyBase.h:69
const T & data() const
Definition: ProxyBase.h:67
void TrajectoryStateOnSurface::update ( const LocalTrajectoryParameters p,
const LocalTrajectoryError err,
const SurfaceType aSurface,
const MagneticField field,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface,
double  weight = 1. 
)

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

Definition at line 79 of file TrajectoryStateOnSurface.cc.

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

Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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().

85 {
86  if (data().canUpdateLocalParameters()) {
87  unsharedData().update(p, err, aSurface, field, side, weight);
88  } else {
89  *this = TrajectoryStateOnSurface(p, err, aSurface, field, side, weight);
90  }
91 }
T & unsharedData()
Definition: ProxyBase.h:69
const T & data() const
Definition: ProxyBase.h:67
double TrajectoryStateOnSurface::weight ( void  ) const
inline