CMS 3D CMS Logo

List of all members | Public Types | Static Public Attributes
edm::soahelper::Aligned< T, ALIGNMENT > Struct Template Reference

#include <SoATupleHelper.h>

Public Types

typedef T Type
 

Static Public Attributes

static const unsigned int kAlignment = ALIGNMENT
 

Detailed Description

template<typename T, unsigned int ALIGNMENT>
struct edm::soahelper::Aligned< T, ALIGNMENT >

A decorator class used in SoATuple's template argument list to denote that the type T should be stored with an unusual byte alignment given by ALIGNMENT. NOTE: It is up to the user to be sure sizeof(T) >= ALIGNMENT.

Definition at line 62 of file SoATupleHelper.h.

Member Typedef Documentation

◆ Type

template<typename T , unsigned int ALIGNMENT>
typedef T edm::soahelper::Aligned< T, ALIGNMENT >::Type

Definition at line 64 of file SoATupleHelper.h.

Member Data Documentation

◆ kAlignment

template<typename T , unsigned int ALIGNMENT>
const unsigned int edm::soahelper::Aligned< T, ALIGNMENT >::kAlignment = ALIGNMENT
static

Definition at line 63 of file SoATupleHelper.h.