Project
Loading...
Searching...
No Matches
o2::itsmft::tracking::test Namespace Reference

Classes

class  CombinedTrackingPlan
 
struct  ReferenceTrackingParameters
 
struct  TestClusterSourceInput
 

Concepts

concept  HasDetectorRadii
 
concept  HasMemoryPolicy
 
concept  HasFailurePolicy
 

Functions

SurfaceCatalogView combinedCatalogView ()
 
std::vector< LayerId > orderedSurfaceRange (uint16_t first, uint16_t count)
 
TrackerInitialization makeCombinedConfiguration (const TrackingParameters &itsParams, const TrackingParameters &mftParams)
 
TrackingParameters makeTestTrackingParameters (o2::detectors::DetID::ID detector)
 
void resetReferenceTrackingParameters (ReferenceTrackingParameters &parameters, o2::detectors::DetID::ID detector)
 
TrackingPlan makeTrackingPlan (const TrackingParameters &parameters)
 
TrackingPlan makeTrackingPlan (TrackingParameters &&parameters)
 
template<typename Parameters >
TrackingPlan makeTrackingPlan (const std::vector< Parameters > &parameters)
 
std::vector< TrackingParameters > expandTrackingPlan (const TrackingPlan &plan)
 
std::vector< TrackingParameters > referenceTrackingParameters (o2::detectors::DetID::ID detector, TrackingMode::Type mode)
 
void loadSources (TimeFrame &frame, const SurfaceCatalogView &catalog, gsl::span< const TestClusterSourceInput > sources, const o2::InteractionRecord &, std::vector< std::vector< uint32_t > > *indices=nullptr, std::vector< std::vector< uint32_t > > *sizes=nullptr, bool requireCompleteMapping=false)
 
void loadTimeFrameSources (TimeFrame &frame, gsl::span< const TestClusterSourceInput > sources, SurfaceCatalogView catalog, const o2::InteractionRecord &origin, std::vector< std::vector< uint32_t > > *indices=nullptr, std::vector< std::vector< uint32_t > > *sizes=nullptr)
 
template<typename Decoder >
void loadTimeFrameSource (TimeFrame &frame, const Decoder &decoder, const o2::InteractionRecord &origin, const o2::its::LayerTiming &timing, gsl::span< const itsmft::CompClusterExt > clusters, gsl::span< const unsigned char > patterns, gsl::span< const o2::itsmft::ROFRecord > rofs, const itsmft::TopologyDictionary *dictionary, const dataformats::MCTruthContainer< MCCompLabel > *labels, o2::detectors::DetID::ID detector, gsl::span< const LayerId > layerToSurface, SurfaceCatalogView catalog, std::vector< std::vector< uint32_t > > *externalIndicesBySurface=nullptr, std::vector< std::vector< uint32_t > > *clusterSizesBySurface=nullptr)
 

Variables

constexpr auto CombinedSurfaceCatalog
 

Function Documentation

◆ combinedCatalogView()

SurfaceCatalogView o2::itsmft::tracking::test::combinedCatalogView ( )
inline

Definition at line 44 of file CombinedTrackingTestSupport.h.

◆ expandTrackingPlan()

std::vector< TrackingParameters > o2::itsmft::tracking::test::expandTrackingPlan ( const TrackingPlan &  plan)
inline

Definition at line 100 of file TrackingParameterTestSupport.h.

◆ loadSources()

void o2::itsmft::tracking::test::loadSources ( TimeFrame &  frame,
const SurfaceCatalogView &  catalog,
gsl::span< const TestClusterSourceInput >  sources,
const o2::InteractionRecord &  ,
std::vector< std::vector< uint32_t > > *  indices = nullptr,
std::vector< std::vector< uint32_t > > *  sizes = nullptr,
bool  requireCompleteMapping = false 
)
inline

Definition at line 131 of file TrackingParameterTestSupport.h.

◆ loadTimeFrameSource()

template<typename Decoder >
void o2::itsmft::tracking::test::loadTimeFrameSource ( TimeFrame &  frame,
const Decoder &  decoder,
const o2::InteractionRecord &  origin,
const o2::its::LayerTiming &  timing,
gsl::span< const itsmft::CompClusterExt >  clusters,
gsl::span< const unsigned char >  patterns,
gsl::span< const o2::itsmft::ROFRecord >  rofs,
const itsmft::TopologyDictionary *  dictionary,
const dataformats::MCTruthContainer< MCCompLabel > *  labels,
o2::detectors::DetID::ID  detector,
gsl::span< const LayerId >  layerToSurface,
SurfaceCatalogView  catalog,
std::vector< std::vector< uint32_t > > *  externalIndicesBySurface = nullptr,
std::vector< std::vector< uint32_t > > *  clusterSizesBySurface = nullptr 
)

Definition at line 174 of file TrackingParameterTestSupport.h.

◆ loadTimeFrameSources()

void o2::itsmft::tracking::test::loadTimeFrameSources ( TimeFrame &  frame,
gsl::span< const TestClusterSourceInput >  sources,
SurfaceCatalogView  catalog,
const o2::InteractionRecord &  origin,
std::vector< std::vector< uint32_t > > *  indices = nullptr,
std::vector< std::vector< uint32_t > > *  sizes = nullptr 
)
inline

Definition at line 165 of file TrackingParameterTestSupport.h.

◆ makeCombinedConfiguration()

TrackerInitialization o2::itsmft::tracking::test::makeCombinedConfiguration ( const TrackingParameters &  itsParams,
const TrackingParameters &  mftParams 
)
inline

Definition at line 59 of file CombinedTrackingTestSupport.h.

◆ makeTestTrackingParameters()

TrackingParameters o2::itsmft::tracking::test::makeTestTrackingParameters ( o2::detectors::DetID::ID  detector)
inline

Definition at line 41 of file TrackingParameterTestSupport.h.

◆ makeTrackingPlan() [1/3]

template<typename Parameters >
TrackingPlan o2::itsmft::tracking::test::makeTrackingPlan ( const std::vector< Parameters > &  parameters)

Definition at line 90 of file TrackingParameterTestSupport.h.

◆ makeTrackingPlan() [2/3]

TrackingPlan o2::itsmft::tracking::test::makeTrackingPlan ( const TrackingParameters &  parameters)
inline

Definition at line 79 of file TrackingParameterTestSupport.h.

◆ makeTrackingPlan() [3/3]

TrackingPlan o2::itsmft::tracking::test::makeTrackingPlan ( TrackingParameters &&  parameters)
inline

Definition at line 83 of file TrackingParameterTestSupport.h.

◆ orderedSurfaceRange()

std::vector< LayerId > o2::itsmft::tracking::test::orderedSurfaceRange ( uint16_t  first,
uint16_t  count 
)
inline

Definition at line 49 of file CombinedTrackingTestSupport.h.

◆ referenceTrackingParameters()

std::vector< TrackingParameters > o2::itsmft::tracking::test::referenceTrackingParameters ( o2::detectors::DetID::ID  detector,
TrackingMode::Type  mode 
)
inline

Definition at line 108 of file TrackingParameterTestSupport.h.

◆ resetReferenceTrackingParameters()

void o2::itsmft::tracking::test::resetReferenceTrackingParameters ( ReferenceTrackingParameters &  parameters,
o2::detectors::DetID::ID  detector 
)
inline

Definition at line 59 of file TrackingParameterTestSupport.h.

Variable Documentation

◆ CombinedSurfaceCatalog

constexpr auto o2::itsmft::tracking::test::CombinedSurfaceCatalog
inlineconstexpr
Initial value:
= [] {
std::array<SurfaceDescriptor, ITSNLayers + MFTNLayers> surfaces{};
auto output = std::copy(kITSSurfaces.begin(), kITSSurfaces.end(), surfaces.begin());
std::copy(kMFTSurfaces.begin(), kMFTSurfaces.end(), output);
return surfaces;
}()
void output(const std::map< std::string, ChannelStat > &channels)
Definition rawdump.cxx:197
constexpr std::array< SurfaceDescriptor, MFTNLayers > kMFTSurfaces
constexpr std::array< SurfaceDescriptor, ITSNLayers > kITSSurfaces

Definition at line 37 of file CombinedTrackingTestSupport.h.