CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | Friends
TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT > Struct Template Reference

#include <PixelTrackUtilities.h>

Classes

struct  ConstViewTemplateFreeParams
 
struct  Metadata
 
struct  ViewTemplateFreeParams
 

Public Types

using AlignmentEnforcement = cms::soa::AlignmentEnforcement
 
using byte_size_type = cms::soa::byte_size_type
 
using ConstView = ConstViewTemplate< cms::soa::RestrictQualify::enabled, cms::soa::RangeChecking::disabled >
 
template<bool RESTRICT_QUALIFY, bool RANGE_CHECKING>
using ConstViewTemplate = ConstViewTemplateFreeParams< ALIGNMENT, ALIGNMENT_ENFORCEMENT, RESTRICT_QUALIFY, RANGE_CHECKING >
 
using self_type = TrackSoALayout
 
using size_type = cms::soa::size_type
 
template<cms::soa::SoAColumnType COLUMN_TYPE, class C >
using SoAConstValueWithConf = cms::soa::SoAConstValue< COLUMN_TYPE, C, conditionalAlignment >
 
template<cms::soa::SoAColumnType COLUMN_TYPE, class C >
using SoAValueWithConf = cms::soa::SoAValue< COLUMN_TYPE, C, conditionalAlignment >
 
using View = ViewTemplate< cms::soa::RestrictQualify::enabled, cms::soa::RangeChecking::disabled >
 
template<bool RESTRICT_QUALIFY, bool RANGE_CHECKING>
using ViewTemplate = ViewTemplateFreeParams< ALIGNMENT, ALIGNMENT_ENFORCEMENT, RESTRICT_QUALIFY, RANGE_CHECKING >
 

Public Member Functions

 __attribute__ ((always_inline)) const Metadata metadata() const
 
 __attribute__ ((always_inline)) Metadata metadata()
 
TrackSoALayoutoperator= (TrackSoALayout const &_soa_impl_other)
 
template<typename T >
void ROOTReadStreamer (T &onfile)
 
void ROOTStreamerCleaner ()
 
void soaToStreamInternal (std::ostream &_soa_impl_os) const
 
 TrackSoALayout ()
 
 TrackSoALayout (std::byte *mem, size_type elements)
 
 TrackSoALayout (TrackSoALayout const &_soa_impl_other)
 

Static Public Member Functions

static constexpr byte_size_type computeDataSize (size_type elements)
 

Public Attributes

friend Metadata
 

Static Public Attributes

static constexpr byte_size_type alignment = ALIGNMENT
 
static constexpr bool alignmentEnforcement = ALIGNMENT_ENFORCEMENT
 
static constexpr byte_size_type conditionalAlignment = alignmentEnforcement == cms::soa::AlignmentEnforcement::enforced ? alignment : 0
 
static constexpr byte_size_type defaultAlignment = 128
 

Private Member Functions

void organizeColumnsFromBuffer ()
 

Private Attributes

byte_size_type byteSize_
 
size_type elements_
 
std::byte * mem_
 
size_type const scalar_ = 1
 

Friends

template<typename T >
void dump ()
 

Detailed Description

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
struct TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >

Definition at line 46 of file PixelTrackUtilities.h.

Member Typedef Documentation

◆ AlignmentEnforcement

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
using TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::AlignmentEnforcement = cms::soa::AlignmentEnforcement

Definition at line 46 of file PixelTrackUtilities.h.

◆ byte_size_type

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
using TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::byte_size_type = cms::soa::byte_size_type

Definition at line 46 of file PixelTrackUtilities.h.

◆ ConstView

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
using TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::ConstView = ConstViewTemplate<cms::soa::RestrictQualify::enabled, cms::soa::RangeChecking::disabled>

Definition at line 46 of file PixelTrackUtilities.h.

◆ ConstViewTemplate

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
template<bool RESTRICT_QUALIFY, bool RANGE_CHECKING>
using TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::ConstViewTemplate = ConstViewTemplateFreeParams<ALIGNMENT, ALIGNMENT_ENFORCEMENT, RESTRICT_QUALIFY, RANGE_CHECKING>

Definition at line 46 of file PixelTrackUtilities.h.

◆ self_type

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
using TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::self_type = TrackSoALayout

Definition at line 46 of file PixelTrackUtilities.h.

◆ size_type

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
using TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::size_type = cms::soa::size_type

Definition at line 46 of file PixelTrackUtilities.h.

◆ SoAConstValueWithConf

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
template<cms::soa::SoAColumnType COLUMN_TYPE, class C >
using TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::SoAConstValueWithConf = cms::soa::SoAConstValue<COLUMN_TYPE, C, conditionalAlignment>

Definition at line 46 of file PixelTrackUtilities.h.

◆ SoAValueWithConf

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
template<cms::soa::SoAColumnType COLUMN_TYPE, class C >
using TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::SoAValueWithConf = cms::soa::SoAValue<COLUMN_TYPE, C, conditionalAlignment>

Definition at line 46 of file PixelTrackUtilities.h.

◆ View

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
using TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::View = ViewTemplate<cms::soa::RestrictQualify::enabled, cms::soa::RangeChecking::disabled>

Definition at line 46 of file PixelTrackUtilities.h.

◆ ViewTemplate

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
template<bool RESTRICT_QUALIFY, bool RANGE_CHECKING>
using TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::ViewTemplate = ViewTemplateFreeParams<ALIGNMENT, ALIGNMENT_ENFORCEMENT, RESTRICT_QUALIFY, RANGE_CHECKING>

Definition at line 46 of file PixelTrackUtilities.h.

Constructor & Destructor Documentation

◆ TrackSoALayout() [1/3]

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::TrackSoALayout ( )
inline

Definition at line 46 of file PixelTrackUtilities.h.

52 {

◆ TrackSoALayout() [2/3]

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::TrackSoALayout ( std::byte *  mem,
size_type  elements 
)
inline

Definition at line 46 of file PixelTrackUtilities.h.

52 {

◆ TrackSoALayout() [3/3]

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::TrackSoALayout ( TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT > const &  _soa_impl_other)
inline

Definition at line 46 of file PixelTrackUtilities.h.

52 {

Member Function Documentation

◆ __attribute__() [1/2]

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::__attribute__ ( (always_inline)  ) const
inline

Definition at line 46 of file PixelTrackUtilities.h.

52 {

◆ __attribute__() [2/2]

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::__attribute__ ( (always_inline)  )
inline

Definition at line 46 of file PixelTrackUtilities.h.

52 {

◆ computeDataSize()

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
static constexpr byte_size_type TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::computeDataSize ( size_type  elements)
inlinestatic

Definition at line 46 of file PixelTrackUtilities.h.

52 {

◆ operator=()

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
TrackSoALayout& TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::operator= ( TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT > const &  _soa_impl_other)
inline

Definition at line 46 of file PixelTrackUtilities.h.

52 {

◆ organizeColumnsFromBuffer()

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
void TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::organizeColumnsFromBuffer ( )
inlineprivate

Definition at line 46 of file PixelTrackUtilities.h.

52 {

◆ ROOTReadStreamer()

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
template<typename T >
void TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::ROOTReadStreamer ( T onfile)
inline

Definition at line 46 of file PixelTrackUtilities.h.

52 {

◆ ROOTStreamerCleaner()

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
void TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::ROOTStreamerCleaner ( )
inline

Definition at line 46 of file PixelTrackUtilities.h.

52 {

◆ soaToStreamInternal()

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
void TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::soaToStreamInternal ( std::ostream &  _soa_impl_os) const
inline

Definition at line 46 of file PixelTrackUtilities.h.

52 {

Friends And Related Function Documentation

◆ dump

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
template<typename T >
void dump ( )
friend

Definition at line 168 of file eve_filter.cc.

168  {
169  std::cout << parents.fPattern << std::endl;
170  for (unsigned int i = 0; i < filters.size(); ++i)
171  std::cout << '\t' << std::setw(32) << std::left << filters[i].fPattern << '\t' << colors[i] << std::endl;
172 }
TPRegexp parents
Definition: eve_filter.cc:21
std::vector< TPRegexp > filters
Definition: eve_filter.cc:22
Definition: colors.py:1

Member Data Documentation

◆ alignment

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
constexpr byte_size_type TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::alignment = ALIGNMENT
static

Definition at line 46 of file PixelTrackUtilities.h.

◆ alignmentEnforcement

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
constexpr bool TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::alignmentEnforcement = ALIGNMENT_ENFORCEMENT
static

Definition at line 46 of file PixelTrackUtilities.h.

◆ byteSize_

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
byte_size_type TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::byteSize_
private

Definition at line 46 of file PixelTrackUtilities.h.

◆ conditionalAlignment

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
constexpr byte_size_type TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::conditionalAlignment = alignmentEnforcement == cms::soa::AlignmentEnforcement::enforced ? alignment : 0
static

Definition at line 46 of file PixelTrackUtilities.h.

◆ defaultAlignment

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
constexpr byte_size_type TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::defaultAlignment = 128
static

Definition at line 46 of file PixelTrackUtilities.h.

◆ elements_

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
size_type TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::elements_
private

Definition at line 46 of file PixelTrackUtilities.h.

◆ mem_

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
std::byte* TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::mem_
private

Definition at line 46 of file PixelTrackUtilities.h.

◆ Metadata

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
friend TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::Metadata

Definition at line 46 of file PixelTrackUtilities.h.

◆ scalar_

template<typename TrackerTraits>
template<std::size_t ALIGNMENT = cms::soa::CacheLineSize::defaultSize, bool ALIGNMENT_ENFORCEMENT = cms::soa::AlignmentEnforcement::relaxed>
size_type const TrackSoA< TrackerTraits >::TrackSoALayout< ALIGNMENT, ALIGNMENT_ENFORCEMENT >::scalar_ = 1
private

Definition at line 46 of file PixelTrackUtilities.h.