Project
Loading...
Searching...
No Matches
testMultiSourceLoading.cxx File Reference
#include <boost/test/unit_test.hpp>
#include <limits>
#include <cmath>
#include <memory>
#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/DetectorConfiguration.h"
#include "TrackingParameterTestSupport.h"
#include "ITSMFTTracking/TimeFrame.h"
#include "SimulationDataFormat/MCCompLabel.h"
#include "SimulationDataFormat/MCTruthContainer.h"

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   ITSMFT MultiSourceLoading
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Functions

 BOOST_AUTO_TEST_CASE (SingleITSSourceLoadsIntoExpectedSurfaces)
 
 BOOST_AUTO_TEST_CASE (SystematicErrorsUseMappedSurfacesForBothDetectorsExactlyOnce)
 
 BOOST_AUTO_TEST_CASE (ClusterLoadingDoesNotRequireTiming)
 
 BOOST_AUTO_TEST_CASE (SingleMFTSourceLoadsIntoExpectedSurfaces)
 
 BOOST_AUTO_TEST_CASE (CombinedITSAndMFTSourcesLoadTogether)
 
 BOOST_AUTO_TEST_CASE (TwoSourcesCannotOwnTheSameSurface)
 
 BOOST_AUTO_TEST_CASE (IdenticalExternalIndicesInDifferentSourcesDoNotCollide)
 
 BOOST_AUTO_TEST_CASE (OriginalClusterIdResolvesLabelsAndCompactGlobal)
 
 BOOST_AUTO_TEST_CASE (IndependentROFCountsAcrossSourcesAreAllowed)
 
 BOOST_AUTO_TEST_CASE (OverlappingAndNonOverlappingSourceTimingIntervals)
 
 BOOST_AUTO_TEST_CASE (TriggeredAndContinuousReadoutAreBothSupportedTogether)
 
 BOOST_AUTO_TEST_CASE (SourceSpecificPatternCursorsAreIndependent)
 
 BOOST_AUTO_TEST_CASE (CommonDictionaryPatternDoesNotConsumeExplicitBytes)
 
 BOOST_AUTO_TEST_CASE (ExactPatternConsumptionSucceedsAndTrailingBytesAreRejected)
 
 BOOST_AUTO_TEST_CASE (MissingDictionaryThrowsBeforeProductionGeometryDecode)
 
 BOOST_AUTO_TEST_CASE (AbsentLabelsAreLegal)
 
 BOOST_AUTO_TEST_CASE (NonDenseAndDuplicateAndInvalidSourceIdsAreRejected)
 
 BOOST_AUTO_TEST_CASE (InvalidROFClusterRangesAreRejected)
 
 BOOST_AUTO_TEST_CASE (ZeroROFsIsValidWithZeroClusters)
 
 BOOST_AUTO_TEST_CASE (InvalidLayerToSurfaceMappingIsRejected)
 
 BOOST_AUTO_TEST_CASE (DetectorSurfaceMismatchIsRejected)
 
 BOOST_AUTO_TEST_CASE (UnsafeDecodedLayerIsRejected)
 
 BOOST_AUTO_TEST_CASE (LoadingClearsPreviousDataBeforeValidation)
 
 BOOST_AUTO_TEST_CASE (CallerResetsAfterPartialLoadFailure)
 
 BOOST_AUTO_TEST_CASE (EmptyFrameAccessorsAvoidNullPointerArithmetic)
 
 BOOST_AUTO_TEST_CASE (UnconfiguredFrameRejectsEvenAnEmptyLoad)
 
 BOOST_AUTO_TEST_CASE (MaxVerticesIncludesEachDistinctSourceLookup)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 14 of file testMultiSourceLoading.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 13 of file testMultiSourceLoading.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   ITSMFT MultiSourceLoading

Definition at line 12 of file testMultiSourceLoading.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/27]

BOOST_AUTO_TEST_CASE ( AbsentLabelsAreLegal  )

Definition at line 873 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [2/27]

BOOST_AUTO_TEST_CASE ( CallerResetsAfterPartialLoadFailure  )

Definition at line 1171 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [3/27]

BOOST_AUTO_TEST_CASE ( ClusterLoadingDoesNotRequireTiming  )

Definition at line 284 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [4/27]

BOOST_AUTO_TEST_CASE ( CombinedITSAndMFTSourcesLoadTogether  )

Definition at line 347 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [5/27]

BOOST_AUTO_TEST_CASE ( CommonDictionaryPatternDoesNotConsumeExplicitBytes  )

Definition at line 783 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [6/27]

BOOST_AUTO_TEST_CASE ( DetectorSurfaceMismatchIsRejected  )

Definition at line 1079 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [7/27]

BOOST_AUTO_TEST_CASE ( EmptyFrameAccessorsAvoidNullPointerArithmetic  )

Definition at line 1231 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [8/27]

BOOST_AUTO_TEST_CASE ( ExactPatternConsumptionSucceedsAndTrailingBytesAreRejected  )

Definition at line 814 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [9/27]

BOOST_AUTO_TEST_CASE ( IdenticalExternalIndicesInDifferentSourcesDoNotCollide  )

Definition at line 451 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [10/27]

BOOST_AUTO_TEST_CASE ( IndependentROFCountsAcrossSourcesAreAllowed  )

Definition at line 549 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [11/27]

BOOST_AUTO_TEST_CASE ( InvalidLayerToSurfaceMappingIsRejected  )

Definition at line 1054 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [12/27]

BOOST_AUTO_TEST_CASE ( InvalidROFClusterRangesAreRejected  )

Definition at line 950 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [13/27]

BOOST_AUTO_TEST_CASE ( LoadingClearsPreviousDataBeforeValidation  )

Definition at line 1138 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [14/27]

BOOST_AUTO_TEST_CASE ( MaxVerticesIncludesEachDistinctSourceLookup  )

Definition at line 1263 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [15/27]

BOOST_AUTO_TEST_CASE ( MissingDictionaryThrowsBeforeProductionGeometryDecode  )

Definition at line 856 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [16/27]

BOOST_AUTO_TEST_CASE ( NonDenseAndDuplicateAndInvalidSourceIdsAreRejected  )

Definition at line 903 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [17/27]

BOOST_AUTO_TEST_CASE ( OriginalClusterIdResolvesLabelsAndCompactGlobal  )

Definition at line 511 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [18/27]

BOOST_AUTO_TEST_CASE ( OverlappingAndNonOverlappingSourceTimingIntervals  )

Definition at line 602 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [19/27]

BOOST_AUTO_TEST_CASE ( SingleITSSourceLoadsIntoExpectedSurfaces  )

Definition at line 189 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [20/27]

BOOST_AUTO_TEST_CASE ( SingleMFTSourceLoadsIntoExpectedSurfaces  )

Definition at line 312 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [21/27]

BOOST_AUTO_TEST_CASE ( SourceSpecificPatternCursorsAreIndependent  )

Definition at line 729 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [22/27]

BOOST_AUTO_TEST_CASE ( SystematicErrorsUseMappedSurfacesForBothDetectorsExactlyOnce  )

Definition at line 225 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [23/27]

BOOST_AUTO_TEST_CASE ( TriggeredAndContinuousReadoutAreBothSupportedTogether  )

Definition at line 662 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [24/27]

BOOST_AUTO_TEST_CASE ( TwoSourcesCannotOwnTheSameSurface  )

Definition at line 409 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [25/27]

BOOST_AUTO_TEST_CASE ( UnconfiguredFrameRejectsEvenAnEmptyLoad  )

Definition at line 1250 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [26/27]

BOOST_AUTO_TEST_CASE ( UnsafeDecodedLayerIsRejected  )

Definition at line 1106 of file testMultiSourceLoading.cxx.

◆ BOOST_AUTO_TEST_CASE() [27/27]

BOOST_AUTO_TEST_CASE ( ZeroROFsIsValidWithZeroClusters  )

Definition at line 1028 of file testMultiSourceLoading.cxx.