CMS 3D CMS Logo

Classes | Namespaces | Macros | Functions
DynArray.h File Reference

Go to the source code of this file.

Classes

class  DynArray< T >
 

Namespaces

 dynarray
 

Macros

#define declareDynArray(T, n, x)
 
#define initDynArray(T, n, x, i)
 
#define unInitDynArray(T, n, x)
 

Functions

template<typename T >
T dynarray::num (T s)
 

Macro Definition Documentation

◆ declareDynArray

#define declareDynArray (   T,
  n,
 
)

◆ initDynArray

#define initDynArray (   T,
  n,
  x,
 
)
Value:
alignas(alignof(T)) unsigned char x##_storage[sizeof(T) * dynarray::num(n)]; \
DynArray<T> x(x##_storage, n, i)
T num(T s)
Definition: DynArray.h:83
float x
long double T

Definition at line 94 of file DynArray.h.

Referenced by LocalMaximumSeedFinder::findSeeds().

◆ unInitDynArray

#define unInitDynArray (   T,
  n,
 
)
Value:
alignas(alignof(T)) unsigned char x##_storage[sizeof(T) * dynarray::num(n)]; \
DynArray<T> x(x##_storage)
T num(T s)
Definition: DynArray.h:83
float x
long double T

Definition at line 88 of file DynArray.h.

Referenced by Basic2DGenericPFlowPositionCalc::calculateAndSetPositionActual(), LocalMaximumSeedFinder::findSeeds(), and TkStripMeasurementDet::simpleRecHits().