Project
Loading...
Searching...
No Matches
testGenericTrack.cxx File Reference
#include <boost/test/unit_test.hpp>
#include <array>
#include <limits>
#include <memory>
#include <optional>
#include <stdexcept>
#include <type_traits>
#include <vector>
#include <gsl/gsl>
#include "CommonDataFormat/InteractionRecord.h"
#include "DataFormatsITSMFT/CompCluster.h"
#include "DataFormatsITSMFT/ROFRecord.h"
#include "DataFormatsITSMFT/TopologyDictionary.h"
#include "DetectorsCommonDataFormats/DetID.h"
#include "ITSMFTTracking/GenericTrack.h"
#include "ITSMFTTracking/DetectorConfiguration.h"
#include "TrackingParameterTestSupport.h"
#include "ITSMFTTracking/detail/TimeFrameScratch.h"
#include "ITSMFTTracking/TrackPublicationHelpers.h"
#include "ITSMFTTracking/TimeFrame.h"
#include "ITSMFTTracking/TrackingConfigParam.h"
#include "SimulationDataFormat/MCCompLabel.h"
#include "SimulationDataFormat/MCTruthContainer.h"

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   ITSMFT GenericTrack
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Functions

 BOOST_AUTO_TEST_CASE (GenericTrackUsesSharedStateAndLegacyTimestamp)
 
 BOOST_AUTO_TEST_CASE (GenericTrackLayoutAndDeviceCompatibilityTraits)
 
 BOOST_AUTO_TEST_CASE (EmptyDefaultRangeIsValidForAnyContainerSize)
 
 BOOST_AUTO_TEST_CASE (ValidSingleMultiAndHoleContainingRanges)
 
 BOOST_AUTO_TEST_CASE (OutOfRangeAndReversedRangesAreRejected)
 
 BOOST_AUTO_TEST_CASE (SurfaceMeasurementStorageUsesStablePreSortIndices)
 
 BOOST_AUTO_TEST_CASE (CrossSurfaceAndCrossSourceTrackClusterReferenceResolution)
 
 BOOST_AUTO_TEST_CASE (HitSurfacesEqualsUnionAndEachMeasurementSurfaceMatchesItsReference)
 
 BOOST_AUTO_TEST_CASE (SuccessfulReloadClearsCommonTrackResults)
 
 BOOST_AUTO_TEST_CASE (FailedLoadClearsCommonTrackResults)
 
 BOOST_AUTO_TEST_CASE (TimeFrameWipeInvalidatesCommonTrackResultsTogether)
 
 BOOST_AUTO_TEST_CASE (TrackPublicationTimestampIsSymmetricAndClamped)
 
 BOOST_AUTO_TEST_CASE (TrackPublicationPreservesLegacyTimestampPrecisionAndRange)
 
 BOOST_AUTO_TEST_CASE (TrackPublicationUsesLegacyPublicationOrder)
 
 BOOST_AUTO_TEST_CASE (TrackPublicationOrderUsesClampedTimesAndChi2WithoutChangingTracks)
 
 BOOST_AUTO_TEST_CASE (TrackPublicationUsesLegacyClockSemantics)
 
 BOOST_AUTO_TEST_CASE (TrackPublicationRejectsMalformedReferences)
 
 BOOST_AUTO_TEST_CASE (TrackPublicationROFsPreserveInputMetadataAndIgnoreOutOfRangeTimes)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 33 of file testGenericTrack.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 32 of file testGenericTrack.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   ITSMFT GenericTrack

Definition at line 31 of file testGenericTrack.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/18]

BOOST_AUTO_TEST_CASE ( CrossSurfaceAndCrossSourceTrackClusterReferenceResolution  )

Definition at line 341 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [2/18]

BOOST_AUTO_TEST_CASE ( EmptyDefaultRangeIsValidForAnyContainerSize  )

Definition at line 119 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [3/18]

BOOST_AUTO_TEST_CASE ( FailedLoadClearsCommonTrackResults  )

Definition at line 587 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [4/18]

BOOST_AUTO_TEST_CASE ( GenericTrackLayoutAndDeviceCompatibilityTraits  )

Definition at line 83 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [5/18]

BOOST_AUTO_TEST_CASE ( GenericTrackUsesSharedStateAndLegacyTimestamp  )

Definition at line 65 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [6/18]

BOOST_AUTO_TEST_CASE ( HitSurfacesEqualsUnionAndEachMeasurementSurfaceMatchesItsReference  )

Definition at line 385 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [7/18]

BOOST_AUTO_TEST_CASE ( OutOfRangeAndReversedRangesAreRejected  )

Definition at line 160 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [8/18]

BOOST_AUTO_TEST_CASE ( SuccessfulReloadClearsCommonTrackResults  )

Definition at line 568 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [9/18]

BOOST_AUTO_TEST_CASE ( SurfaceMeasurementStorageUsesStablePreSortIndices  )

Definition at line 310 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [10/18]

BOOST_AUTO_TEST_CASE ( TimeFrameWipeInvalidatesCommonTrackResultsTogether  )

Definition at line 615 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [11/18]

BOOST_AUTO_TEST_CASE ( TrackPublicationOrderUsesClampedTimesAndChi2WithoutChangingTracks  )

Definition at line 687 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [12/18]

BOOST_AUTO_TEST_CASE ( TrackPublicationPreservesLegacyTimestampPrecisionAndRange  )

Definition at line 652 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [13/18]

BOOST_AUTO_TEST_CASE ( TrackPublicationRejectsMalformedReferences  )

Definition at line 735 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [14/18]

BOOST_AUTO_TEST_CASE ( TrackPublicationROFsPreserveInputMetadataAndIgnoreOutOfRangeTimes  )

Definition at line 760 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [15/18]

BOOST_AUTO_TEST_CASE ( TrackPublicationTimestampIsSymmetricAndClamped  )

Definition at line 643 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [16/18]

BOOST_AUTO_TEST_CASE ( TrackPublicationUsesLegacyClockSemantics  )

Definition at line 712 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [17/18]

BOOST_AUTO_TEST_CASE ( TrackPublicationUsesLegacyPublicationOrder  )

Definition at line 663 of file testGenericTrack.cxx.

◆ BOOST_AUTO_TEST_CASE() [18/18]

BOOST_AUTO_TEST_CASE ( ValidSingleMultiAndHoleContainingRanges  )

Definition at line 127 of file testGenericTrack.cxx.