Project
Loading...
Searching...
No Matches
testPropagator.cxx File Reference
#include <boost/test/unit_test.hpp>
#include <algorithm>
#include <array>
#include <cmath>
#include <cstring>
#include <limits>
#include <sstream>
#include "CommonConstants/MathConstants.h"
#include "ITSMFTTracking/ITSMFTDetectorDefinitions.h"
#include "ITSMFTTracking/RefitDriver.h"
#include "ITSMFTTracking/Propagator.h"

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   ITSMFTPropagator
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Functions

 BOOST_AUTO_TEST_CASE (ForwardHelixSmallAngleMomentumDerivative)
 
 BOOST_AUTO_TEST_CASE (ForwardHelixFloatSeriesBoundary)
 
 BOOST_AUTO_TEST_CASE (ForwardHelixTransportMatchesNumericalDerivatives)
 
 BOOST_AUTO_TEST_CASE (CylinderToCylinderPropagateAndUpdateSucceeds)
 
 BOOST_AUTO_TEST_CASE (DiskToDiskPropagateAndUpdateSucceeds)
 
 BOOST_AUTO_TEST_CASE (AcceptedForwardPropagationSelectsFieldAndLowFieldPaths)
 
 BOOST_AUTO_TEST_CASE (CompatibleFamilyMatchesDirectBarrelPrimitiveReplayWithoutMaterial)
 
 BOOST_AUTO_TEST_CASE (BarrelMaterialUsesLegacyIncidencePathLength)
 
 BOOST_AUTO_TEST_CASE (LinearizedBarrelMaterialUsesLegacyReferenceIncidence)
 
 BOOST_AUTO_TEST_CASE (LinearizedBarrelMaterialKeepsReferenceQ2PtForMCSOnly)
 
 BOOST_AUTO_TEST_CASE (FailingLinearizedBarrelMaterialLeavesStateAndReferenceUnchanged)
 
 BOOST_AUTO_TEST_CASE (CompatibleFamilyMatchesDirectForwardPrimitiveReplayWithoutMaterial)
 
 BOOST_AUTO_TEST_CASE (ForwardMaterialUsesLegacyIncidencePathLength)
 
 BOOST_AUTO_TEST_CASE (LinearizedForwardMaterialUsesReferenceIncidence)
 
 BOOST_AUTO_TEST_CASE (LinearizedForwardMaterialKeepsReferenceQ2PtForMCSOnly)
 
 BOOST_AUTO_TEST_CASE (FailingLinearizedForwardMaterialLeavesStateAndReferenceUnchanged)
 
 BOOST_AUTO_TEST_CASE (MaterialPropagationRejectsMismatchedReferenceKinds)
 
 BOOST_AUTO_TEST_CASE (BarrelStateConvertsToForwardThenPropagatesToDiskMeasurement)
 
 BOOST_AUTO_TEST_CASE (KindConversionRelinearizesAtConvertedState)
 
 BOOST_AUTO_TEST_CASE (ReverseKindConversionRelinearizesAtConvertedState)
 
 BOOST_AUTO_TEST_CASE (ConversionCovarianceMatchesFixedPlaneHelixDifferences)
 
 BOOST_AUTO_TEST_CASE (BarrelZUncertaintySurvivesConversionAndRoundTrip)
 
 BOOST_AUTO_TEST_CASE (ConversionRejectsSingularAndNonFiniteInputsTransactionally)
 
 BOOST_AUTO_TEST_CASE (NonlinearAttachmentUsesTargetKindAndRollsBackAfterConversion)
 
 BOOST_AUTO_TEST_CASE (ConvertFamilyPreservesChargeAndPID)
 
 BOOST_AUTO_TEST_CASE (ConvertFamilySameFamilyIsNoOpSuccess)
 
 BOOST_AUTO_TEST_CASE (ForwardToBarrelConversionFailsAtOriginTransactionally)
 
 BOOST_AUTO_TEST_CASE (ForwardToBarrelRejectsUnrepresentableDirectionsTransactionally)
 
 BOOST_AUTO_TEST_CASE (ZeroMaterialPathSucceeds)
 
 BOOST_AUTO_TEST_CASE (NonzeroNominalMaterialChangesResultRelativeToZeroMaterial)
 
 BOOST_AUTO_TEST_CASE (RefitDriverSkipsHoleSlots)
 
 BOOST_AUTO_TEST_CASE (FullMFTRefitLegUsesNominalMaterialAtEverySurface)
 
 BOOST_AUTO_TEST_CASE (NegativeMeasurementVarianceFailsTransactionally)
 
 BOOST_AUTO_TEST_CASE (Chi2GateRejectsOversizedPredictedChi2Transactionally)
 
 BOOST_AUTO_TEST_CASE (UnrecognizedTargetSurfaceKindFails)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 14 of file testPropagator.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 13 of file testPropagator.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   ITSMFTPropagator

Definition at line 12 of file testPropagator.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/35]

BOOST_AUTO_TEST_CASE ( AcceptedForwardPropagationSelectsFieldAndLowFieldPaths  )

Definition at line 467 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [2/35]

BOOST_AUTO_TEST_CASE ( BarrelMaterialUsesLegacyIncidencePathLength  )

Definition at line 512 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [3/35]

BOOST_AUTO_TEST_CASE ( BarrelStateConvertsToForwardThenPropagatesToDiskMeasurement  )

Definition at line 779 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [4/35]

BOOST_AUTO_TEST_CASE ( BarrelZUncertaintySurvivesConversionAndRoundTrip  )

Definition at line 888 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [5/35]

BOOST_AUTO_TEST_CASE ( Chi2GateRejectsOversizedPredictedChi2Transactionally  )

Definition at line 1155 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [6/35]

BOOST_AUTO_TEST_CASE ( CompatibleFamilyMatchesDirectBarrelPrimitiveReplayWithoutMaterial  )

Definition at line 482 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [7/35]

BOOST_AUTO_TEST_CASE ( CompatibleFamilyMatchesDirectForwardPrimitiveReplayWithoutMaterial  )

Definition at line 626 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [8/35]

BOOST_AUTO_TEST_CASE ( ConversionCovarianceMatchesFixedPlaneHelixDifferences  )

Definition at line 872 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [9/35]

BOOST_AUTO_TEST_CASE ( ConversionRejectsSingularAndNonFiniteInputsTransactionally  )

Definition at line 910 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [10/35]

BOOST_AUTO_TEST_CASE ( ConvertFamilyPreservesChargeAndPID  )

Definition at line 959 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [11/35]

BOOST_AUTO_TEST_CASE ( ConvertFamilySameFamilyIsNoOpSuccess  )

Definition at line 969 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [12/35]

BOOST_AUTO_TEST_CASE ( CylinderToCylinderPropagateAndUpdateSucceeds  )

Definition at line 433 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [13/35]

BOOST_AUTO_TEST_CASE ( DiskToDiskPropagateAndUpdateSucceeds  )

Definition at line 450 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [14/35]

BOOST_AUTO_TEST_CASE ( FailingLinearizedBarrelMaterialLeavesStateAndReferenceUnchanged  )

Definition at line 609 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [15/35]

BOOST_AUTO_TEST_CASE ( FailingLinearizedForwardMaterialLeavesStateAndReferenceUnchanged  )

Definition at line 746 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [16/35]

BOOST_AUTO_TEST_CASE ( ForwardHelixFloatSeriesBoundary  )

Definition at line 302 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [17/35]

BOOST_AUTO_TEST_CASE ( ForwardHelixSmallAngleMomentumDerivative  )

Definition at line 243 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [18/35]

BOOST_AUTO_TEST_CASE ( ForwardHelixTransportMatchesNumericalDerivatives  )

Definition at line 369 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [19/35]

BOOST_AUTO_TEST_CASE ( ForwardMaterialUsesLegacyIncidencePathLength  )

Definition at line 655 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [20/35]

BOOST_AUTO_TEST_CASE ( ForwardToBarrelConversionFailsAtOriginTransactionally  )

Definition at line 980 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [21/35]

BOOST_AUTO_TEST_CASE ( ForwardToBarrelRejectsUnrepresentableDirectionsTransactionally  )

Definition at line 992 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [22/35]

BOOST_AUTO_TEST_CASE ( FullMFTRefitLegUsesNominalMaterialAtEverySurface  )

Definition at line 1070 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [23/35]

BOOST_AUTO_TEST_CASE ( KindConversionRelinearizesAtConvertedState  )

Definition at line 810 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [24/35]

BOOST_AUTO_TEST_CASE ( LinearizedBarrelMaterialKeepsReferenceQ2PtForMCSOnly  )

Definition at line 594 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [25/35]

BOOST_AUTO_TEST_CASE ( LinearizedBarrelMaterialUsesLegacyReferenceIncidence  )

Definition at line 554 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [26/35]

BOOST_AUTO_TEST_CASE ( LinearizedForwardMaterialKeepsReferenceQ2PtForMCSOnly  )

Definition at line 731 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [27/35]

BOOST_AUTO_TEST_CASE ( LinearizedForwardMaterialUsesReferenceIncidence  )

Definition at line 695 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [28/35]

BOOST_AUTO_TEST_CASE ( MaterialPropagationRejectsMismatchedReferenceKinds  )

Definition at line 763 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [29/35]

BOOST_AUTO_TEST_CASE ( NegativeMeasurementVarianceFailsTransactionally  )

Definition at line 1127 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [30/35]

BOOST_AUTO_TEST_CASE ( NonlinearAttachmentUsesTargetKindAndRollsBackAfterConversion  )

Definition at line 923 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [31/35]

BOOST_AUTO_TEST_CASE ( NonzeroNominalMaterialChangesResultRelativeToZeroMaterial  )

Definition at line 1022 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [32/35]

BOOST_AUTO_TEST_CASE ( RefitDriverSkipsHoleSlots  )

Definition at line 1049 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [33/35]

BOOST_AUTO_TEST_CASE ( ReverseKindConversionRelinearizesAtConvertedState  )

Definition at line 843 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [34/35]

BOOST_AUTO_TEST_CASE ( UnrecognizedTargetSurfaceKindFails  )

Definition at line 1177 of file testPropagator.cxx.

◆ BOOST_AUTO_TEST_CASE() [35/35]

BOOST_AUTO_TEST_CASE ( ZeroMaterialPathSucceeds  )

Definition at line 1009 of file testPropagator.cxx.