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:
ProxyBase11< T >

Public Member Functions

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

Private Types

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

Additional Inherited Members

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

Detailed Description

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

Definition at line 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 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 29 of file TrajectoryStateOnSurface.h.

TrajectoryStateOnSurface::TrajectoryStateOnSurface ( BasicTrajectoryState p)
inlineexplicit

Definition at line 31 of file TrajectoryStateOnSurface.h.

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

Definition at line 32 of file TrajectoryStateOnSurface.h.

TrajectoryStateOnSurface::~TrajectoryStateOnSurface ( )
inline

Definition at line 34 of file TrajectoryStateOnSurface.h.

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

Definition at line 38 of file TrajectoryStateOnSurface.h.

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

Definition at line 41 of file TrajectoryStateOnSurface.h.

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

Definition at line 45 of file TrajectoryStateOnSurface.h.

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

Definition at line 59 of file TrajectoryStateOnSurface.h.

59 : 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
std::vector<TrajectoryStateOnSurface> TrajectoryStateOnSurface::components ( ) const
inline
const CurvilinearTrajectoryError& TrajectoryStateOnSurface::curvilinearError ( ) const
inline
FreeTrajectoryState const* TrajectoryStateOnSurface::freeState ( bool  withErrors = true) const
inline

Definition at line 76 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::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(), 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(), AddTvTrack::getSecondaryVertices(), MuonTrackAnalyzer::getSeedTSOS(), TrackDetectorAssociator::getTAMuonChamberMatches(), HDetIdAssociator::getTrajectory(), CosmicTrackingRegion::hits_(), StateOnTrackerBound::operator()(), TransientTrackKinematicStateBuilder::operator()(), TSCBLBuilderWithPropagator::operator()(), CtfSpecialSeedGenerator::postCheck(), MuonUpdatorAtVertex::propagate(), CachedTrajectory::propagate(), StandAloneMuonTrajectoryBuilder::propagateTheSeedTSOS(), MuonUpdatorAtVertex::propagateToNominalLine(), Propagator::propagateWithPath(), TrackEfficiencyMonitor::trackerAcceptance(), TSGFromPropagation::trackerSeeds(), FastTSGFromPropagation::trackerSeeds(), StandAloneMuonTrajectoryBuilder::trajectories(), CosmicMuonTrajectoryBuilder::trajectories(), and SimpleNavigableLayer::wellInside().

76  {
77  return data().freeTrajectoryState();
78  }
const T & data() const
Definition: ProxyBase11.h:66
FreeTrajectoryState const* TrajectoryStateOnSurface::freeTrajectoryState ( bool  withErrors = true) const
inline
GlobalVector TrajectoryStateOnSurface::globalDirection ( ) const
inline
GlobalVector TrajectoryStateOnSurface::globalMomentum ( ) const
inline

Definition at line 92 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by MuonErrorMatrix::adjust(), TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), TrackBuildingAnalyzer::analyze(), ElectronSeedAnalyzer::analyze(), MuonSeedsAnalyzer::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(), MuonTrajectoryCleaner::clean(), TrackerSeedCleaner::clean(), MuonCkfTrajectoryBuilder::collectMeasurement(), SiStripGainFromData::ComputeChargeOverPath(), TECLayer::computeCrossings(), TBLayer::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(), GlobalCosmicMuonTrajectoryBuilder::match(), GlobalMuonTrackMatcher::match_Rmom(), MatcherUsingTracksAlgorithm::matchWithPropagation(), oldMUcompute(), VertexMass::operator()(), TrackFilterForPVFinding::operator()(), BeamSpotAlignmentDerivatives::operator()(), CompareTwoTracks::operator()(), MomentumDependentPedeLabeler::parameterLabel(), DynamicTruncation::preliminaryFit(), ElectronSeedGenerator::prepareElTrackSeed(), TrackCandidateProducer::produce(), FakeTrackProducer< T >::produce(), ConversionSeedFilterCharge::produce(), TrajectorySeedProducer::produce(), L2MuonSeedGenerator::produce(), SeedToTrackProducer::produce(), MuonSimHitProducer::produce(), TrackExtrapolator::propagateTrackToVolume(), TkConvValidator::recalculateMomentumAtFittedVertex(), MultiHitGeneratorFromChi2::refit2Hits(), 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().

92  {
93  return data().globalMomentum();
94  }
const T & data() const
Definition: ProxyBase11.h:66
const GlobalTrajectoryParameters& TrajectoryStateOnSurface::globalParameters ( void  ) const
inline
GlobalPoint TrajectoryStateOnSurface::globalPosition ( ) const
inline

Definition at line 89 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by IPTools::absoluteImpactParameter(), CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), LayerCollector::allLayers(), CkfDebugger::analyseCompatibleMeasurements(), ElectronSeedAnalyzer::analyze(), MuonEnergyDepositAnalyzer::analyze(), SiPixelHitEfficiencySource::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(), FWTrackProxyBuilderFullFramework::buildTrack(), MuonTrackLoader::buildTrackAtPCA(), MuonSeedTrack::buildTrackAtPCA(), TangentApproachInRPhi::calculate(), barrelUtil::calculatePhiWindow(), EgammaHLTElectronDetaDphiProducer::calDEtaDPhiSCTrk(), MuonCkfTrajectoryBuilder::collectMeasurement(), MuDetRing::compatible(), BarrelDetLayer::compatible(), MuRodBarrelLayer::compatibleDets(), MuRingForwardLayer::compatibleDets(), MuDetRing::compatibleDets(), MuDetRod::compatibleDets(), TrackEfficiencyMonitor::compatibleLayers(), TECLayer::computeCrossings(), TBLayer::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(), HLTMuonPointingFilter::filter(), DynamicTruncation::filter(), ConversionTrackEcalImpactPoint::find(), InOutConversionSeedFinder::findSeeds(), CosmicMuonSmoother::fit(), MuonShowerInformationFiller::getCompatibleDets(), NuclearTrackCorrector::getInitialState(), ConversionSeedFilter::getKine(), AddTvTrack::getSecondaryVertices(), ConversionProducer::getTrackImpactPosition(), HDetIdAssociator::getTrajectory(), reco::TrackGhostTrackState::globalPosition(), CosmicTrackingRegion::hits_(), CosmicMuonSmoother::initialState(), MuRingForwardDoubleLayer::isInsideOut(), IPTools::jetTrackDistance(), GlobalTrackQualityProducer::kink(), IPTools::linearImpactParameter(), reco::TrackGhostTrackState::linearize(), IPTools::linearizedSignedImpactParameter3D(), TSGForRoadSearch::makeSeeds_0(), TSGForRoadSearch::makeSeeds_4(), TrajectoryManager::makeSinglePSimHit(), GlobalCosmicMuonTrajectoryBuilder::match(), GlobalMuonTrackMatcher::match(), L1MuonMatcherAlgo::match(), GlobalMuonTrackMatcher::match_D(), GlobalMuonTrackMatcher::match_Rpos(), L1MuonMatcherAlgo::matchGeneric(), OuterEstimator::maximalLocalDisplacement(), StateOnTrackerBound::operator()(), ValidHitPairFilter::operator()(), TSCBLBuilderWithPropagator::operator()(), CRackTrajectoryBuilder::CompareDetByTraj::operator()(), operator<<(), ElectronSeedGenerator::prepareElTrackSeed(), ShallowTrackClustersProducer::produce(), TrackIPProducer::produce(), MuonReSeeder::produce(), pat::L1MuonMatcher::produce(), pat::HLTL1MuonMatcher::produce(), FakeTrackProducer< T >::produce(), TrackCandidateProducer::produce(), L2MuonSeedGenerator::produce(), MuonSimHitProducer::produce(), TriggerMatcherToHLTDebug::produce(), MuonUpdatorAtVertex::propagate(), MuonGmtPair::propagate(), spr::propagateCalo(), MuonUpdatorAtVertex::propagateToNominalLine(), cms::MuonTCMETValueMapProducer::propagateTrack(), spr::propagateTrackerEnd(), TCMETAlgo::propagateTrackToCalorimeterFace(), 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(), TrackTransformer::transform(), GlobalMuonRefitter::transform(), ResidualRefitting::trkExtrap(), MuonTrajectoryUpdator::update(), VolumeMaterialEffectsUpdator::updateState(), reco::TrackGhostTrackState::vertexStateOnGhostTrack(), reco::TrackGhostTrackState::vertexStateOnMeasurement(), SimpleNavigableLayer::wellInside(), TSGFromPropagation::zDis(), and FastTSGFromPropagation::zDis().

89  {
90  return data().globalPosition();
91  }
const T & data() const
Definition: ProxyBase11.h:66
bool TrajectoryStateOnSurface::hasError ( void  ) const
inline
bool TrajectoryStateOnSurface::isValid ( void  ) const
inline

Definition at line 68 of file TrajectoryStateOnSurface.h.

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

Referenced by IPTools::absoluteImpactParameter(), CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), PFTrackTransformer::addPointsAndBrems(), MultiTrajectoryStateAssembler::addState(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), DeDxDiscriminatorLearner::algoAnalyze(), SiStripGainFromData::algoAnalyze(), SiStripGainFromCalibTree::algoAnalyze(), LayerCollector::allLayers(), CkfDebugger::analyseRecHitExistance(), ElectronSeedAnalyzer::analyze(), HcalCorrPFCalculation::analyze(), MuonAlignmentAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), TestTrackHits::analyze(), DTChamberEfficiency::analyze(), MuonAlignment::analyze(), SeedMultiplicityAnalyzer::analyze(), analyzer::SiPixelLorentzAngle::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SignedImpactParameter3D::apply(), SignedDecayLength3D::apply(), TrackAssociatorByPosition::associateRecoToSim(), TrackAssociatorByPosition::associateSimToReco(), CosmicMuonTrajectoryBuilder::build(), 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(), ConversionProducer::checkPhi(), reco::modules::TrackerTrackHitFilter::checkPXLCorrClustCharge(), MuonTrajectoryCleaner::clean(), MuonCkfTrajectoryBuilder::collectMeasurement(), CollinearFitAtTM2::CollinearFitAtTM2(), PixelClusterShapeSeedComparitor::compatible(), MuDetRing::compatible(), ForwardDetLayer::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(), HLTMuonPointingFilter::filter(), CSCEfficiency::filter(), ConversionTrackEcalImpactPoint::find(), SETFilter::findChi2(), CkfTrajectoryBuilder::findCompatibleMeasurements(), TrackEfficiencyMonitor::findNextLayer(), CollinearFitAtTM::fit(), CosmicMuonSmoother::fit(), CosmicMuonTrajectoryBuilder::flipTrajectory(), MuonTrackAnalyzer::getSeedTSOS(), TrackDetectorAssociator::getTAMuonChamberMatches(), ConversionProducer::getTrackImpactPosition(), HDetIdAssociator::getTrajectory(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), GlobalTrajectoryBuilderBase::getTransientRecHits(), CosmicTrackingRegion::hits_(), SeedFromProtoTrack::init(), CosmicMuonSmoother::initialState(), TransientInitialStateEstimator::innerState(), GeomDetCompatibilityChecker::isCompatible(), reco::TrackGhostTrackState::isValid(), IPTools::jetTrackDistance(), GlobalTrackQualityProducer::kink(), IPTools::linearizedSignedImpactParameter3D(), TSGForRoadSearch::makeSeeds_0(), TSGForRoadSearch::makeSeeds_4(), 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()(), TkClonerImpl::operator()(), StateOnTrackerBound::operator()(), FullConvolutionWithMaterial::operator()(), ValidHitPairFilter::operator()(), MultiTrajectoryStateMode::positionFromModeCartesian(), MultiTrajectoryStateMode::positionFromModeLocal(), DynamicTruncation::preliminaryFit(), ElectronSeedGenerator::prepareElTrackSeed(), FastElectronSeedGenerator::prepareElTrackSeed(), EgammaHLTPixelMatchElectronAlgo::process(), TrackIPProducer::produce(), MuonReSeeder::produce(), pat::L1MuonMatcher::produce(), pat::HLTL1MuonMatcher::produce(), DeDxEstimatorProducer::produce(), TrajectorySeedProducer::produce(), TrackCandidateProducer::produce(), ConvBremSeedProducer::produce(), DeDxDiscriminatorProducer::produce(), L2MuonSeedGenerator::produce(), ShallowGainCalibration::produce(), TrackerToMuonPropagator::produce(), cms::CosmicTrackFinder::produce(), MuonSimHitProducer::produce(), TriggerMatcherToHLTDebug::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), TkClonerImpl::project(), MuonGmtPair::propagate(), spr::propagateCalo(), StandAloneMuonTrajectoryBuilder::propagateTheSeedTSOS(), cms::MuonTCMETValueMapProducer::propagateTrack(), spr::propagateTrackerEnd(), TCMETAlgo::propagateTrackToCalorimeterFace(), 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().

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

Definition at line 125 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::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(), SiStripGainFromCalibTree::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(), TrackCandidateProducer::produce(), TrajectorySeedProducer::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().

125  {
126  return data().localError();
127  }
const T & data() const
Definition: ProxyBase11.h:66
LocalVector TrajectoryStateOnSurface::localMomentum ( ) const
inline
const LocalTrajectoryParameters& TrajectoryStateOnSurface::localParameters ( ) const
inline

Definition at line 113 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::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(), PixelClusterParameterEstimator::getParameters(), TransientInitialStateEstimator::innerState(), CRackTrajectoryBuilder::innerState(), StripClusterParameterEstimator::localParameters(), GsfTrackProducerBase::localParametersFromQpMode(), StripClusterParameterEstimator::localParametersV(), GlobalMuonTrackMatcher::match_Chi2(), MeasurementExtractor::measuredParameters(), GlobalTrackerMuonAlignment::misalignMuonL(), MultiTrajectoryStateMode::momentumFromModeLocal(), GlobalTrackerMuonAlignment::muonFitter(), SegmentAlignmentDerivatives4D::operator()(), TrajectoryStateWithArbitraryError::operator()(), KarimakiAlignmentDerivatives::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().

113  {
114  return data().localParameters();
115  }
const T & data() const
Definition: ProxyBase11.h:66
LocalPoint TrajectoryStateOnSurface::localPosition ( ) const
inline

Definition at line 116 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

Referenced by CosmicTrajectoryBuilder::AddHit(), MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), MuonDT2ChamberResidual::addResidual(), CkfDebugger::analyseCompatibleMeasurements(), MuonAlignmentAnalyzer::analyze(), SiPixelHitEfficiencySource::analyze(), MuonAlignment::analyze(), analyzer::SiPixelLorentzAngle::analyze(), barrelUtil::calculatePhiWindow(), tkDetUtil::calculatePhiWindow(), MuDetRing::compatible(), ForwardDetLayer::compatible(), MuRingForwardDoubleLayer::compatible(), MuRodBarrelLayer::compatibleDets(), InsideBoundsMeasurementEstimator::estimate(), Chi2MeasurementEstimatorBase::estimate(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), TSOSHistogramMaker::fill(), TrackerValidationVariables::fillHitQuantities(), OverlapProblemTSOSPositionFilter::filter(), SiStripFineDelayTLA::findtrackangle(), TkPixelMeasurementDet::hasBadComponents(), DeDxDiscriminatorTools::IsFarFromBorder(), ShallowGainCalibration::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), SiStripGainFromCalibTree::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().

116  {
117  return data().localPosition();
118  }
const T & data() const
Definition: ProxyBase11.h:66
const MagneticField* TrajectoryStateOnSurface::magneticField ( ) const
inline
TrajectoryStateOnSurface& TrajectoryStateOnSurface::operator= ( TrajectoryStateOnSurface &&  rh)
inlinenoexcept

Definition at line 48 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::swap().

48  {
49  Base::swap(rh);
50  return *this;
51  }
void swap(ProxyBase11 &other) noexcept
Definition: ProxyBase11.h:48
TrajectoryStateOnSurface& TrajectoryStateOnSurface::operator= ( TrajectoryStateOnSurface const &  rh)
inlinenoexcept

Definition at line 53 of file TrajectoryStateOnSurface.h.

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

53  {
54  Base::operator=(rh);
55  return *this;
56  }
ProxyBase11 & operator=(std::shared_ptr< U > p)
Definition: ProxyBase11.h:41
void TrajectoryStateOnSurface::rescaleError ( double  factor)
inline
CurvilinearTrajectoryError& TrajectoryStateOnSurface::setCurvilinearError ( )
inline

Definition at line 209 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::sharedData().

209  {
210  return sharedData().setCurvilinearError();
211  }
T & sharedData()
Definition: ProxyBase11.h:76
double TrajectoryStateOnSurface::signedInverseMomentum ( ) const
inline

Definition at line 101 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::data().

101  {
102  return data().signedInverseMomentum();
103  }
const T & data() const
Definition: ProxyBase11.h:66
const SurfaceType& TrajectoryStateOnSurface::surface ( ) const
inline

Definition at line 128 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::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(), CkfDebugger::computePulls(), 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(), ElectronSeedGenerator::prepareElTrackSeed(), TrackCandidateProducer::produce(), cms::CosmicTrackFinder::produce(), RecHitPropagator::propagate(), MuonTrajectoryUpdator::propagateState(), KalmanAlignmentTrackRefitter::refitSingleTracklet(), NuclearInteractionFinder::rescaleError(), CosmicMuonUtilities::reverseDirection(), KFBasedPixelFitter::run(), GlobalMuonTrackMatcher::samePlane(), SeedTransformer::seedTransform(), CosmicMuonSmoother::smooth(), Traj2TrackHits::split(), CosmicMuonUtilities::stepPropagate(), DynamicTruncation::testCSCstation(), DynamicTruncation::testDTstation(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), GlobalTrackerMuonAlignment::trackFitter(), DualTrajectoryFactory::trajectories(), DualBzeroTrajectoryFactory::trajectories(), TrackTransformer::transform(), GaussianStateConversions::tsosFromMultiGaussianState(), MultiGaussianStateTransform::tsosFromSingleState(), GsfMultiStateUpdator::update(), GsfMaterialEffectsUpdator::updateState(), VolumeMaterialEffectsUpdator::updateState(), MaterialEffectsUpdator::updateStateInPlace(), and DynamicTruncation::updateWithDThits().

128  {
129  return data().surface();
130  }
const T & data() const
Definition: ProxyBase11.h:66
SurfaceSide TrajectoryStateOnSurface::surfaceSide ( ) const
inline
void TrajectoryStateOnSurface::swap ( TrajectoryStateOnSurface rh)
inlinenoexcept

Definition at line 63 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::swap().

Referenced by swap().

63  {
64  Base::swap(rh);
65  }
void swap(ProxyBase11 &other) noexcept
Definition: ProxyBase11.h:48
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__(), 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(), DynamicTruncation::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:66
T & unsharedData()
Definition: ProxyBase11.h:68
void TrajectoryStateOnSurface::update ( const LocalTrajectoryParameters p,
SurfaceSide  side 
)
inline

Definition at line 167 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::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().

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

Definition at line 170 of file TrajectoryStateOnSurface.h.

References ProxyBase11< T >::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().

172  {unsharedData().update(p, err, side);}
T & unsharedData()
Definition: ProxyBase11.h:68
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__(), 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().

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:66
T & unsharedData()
Definition: ProxyBase11.h:68
double TrajectoryStateOnSurface::weight ( void  ) const
inline