ATLAS Offline Software
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CaloTowerStore::Entry Struct Reference
Collaboration diagram for CaloTowerStore::Entry:

Public Types

enum  { large_stride = 64, small_stride = 1 }
 

Public Member Functions

 Entry (unsigned int the_hash=0, unsigned int the_windex=0, unsigned int the_ncells=1, unsigned int the_stride=0)
 

Public Attributes

unsigned int hash: hash_width
 
unsigned int windex: windex_width
 
unsigned int ncells: ncells_width
 
unsigned int stride: stride_width
 

Static Public Attributes

static const unsigned int hash_width = 18
 
static const unsigned int hash_max = (1<<hash_width)-1
 
static const unsigned int windex_width = 6
 
static const unsigned int windex_max = (1<<windex_width)-1
 
static const unsigned int ncells_width = 7
 
static const unsigned int ncells_max = (1<<ncells_width)-1
 
static const unsigned int stride_width = 1
 
static const unsigned int stride_max = (1<<stride_width)-1
 

Detailed Description

Definition at line 159 of file CaloTowerStore.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
large_stride 
small_stride 

Definition at line 173 of file CaloTowerStore.h.

173  {
174  large_stride = 64,
175  small_stride = 1
176  };

Constructor & Destructor Documentation

◆ Entry()

CaloTowerStore::Entry::Entry ( unsigned int  the_hash = 0,
unsigned int  the_windex = 0,
unsigned int  the_ncells = 1,
unsigned int  the_stride = 0 
)

Definition at line 351 of file CaloTowerStore.cxx.

355  : hash (the_hash),
356  windex (the_windex),
357  ncells (the_ncells),
358  stride (the_stride)
359 {
360  assert (the_hash <= hash_max);
361  assert (the_windex <= windex_max);
362  assert (the_ncells <= ncells_max);
363  assert (the_stride <= stride_max);
364 }

Member Data Documentation

◆ hash

unsigned int CaloTowerStore::Entry::hash

Definition at line 178 of file CaloTowerStore.h.

◆ hash_max

const unsigned int CaloTowerStore::Entry::hash_max = (1<<hash_width)-1
static

Definition at line 162 of file CaloTowerStore.h.

◆ hash_width

const unsigned int CaloTowerStore::Entry::hash_width = 18
static

Definition at line 161 of file CaloTowerStore.h.

◆ ncells

unsigned int CaloTowerStore::Entry::ncells

Definition at line 180 of file CaloTowerStore.h.

◆ ncells_max

const unsigned int CaloTowerStore::Entry::ncells_max = (1<<ncells_width)-1
static

Definition at line 166 of file CaloTowerStore.h.

◆ ncells_width

const unsigned int CaloTowerStore::Entry::ncells_width = 7
static

Definition at line 165 of file CaloTowerStore.h.

◆ stride

unsigned int CaloTowerStore::Entry::stride

Definition at line 181 of file CaloTowerStore.h.

◆ stride_max

const unsigned int CaloTowerStore::Entry::stride_max = (1<<stride_width)-1
static

Definition at line 168 of file CaloTowerStore.h.

◆ stride_width

const unsigned int CaloTowerStore::Entry::stride_width = 1
static

Definition at line 167 of file CaloTowerStore.h.

◆ windex

unsigned int CaloTowerStore::Entry::windex

Definition at line 179 of file CaloTowerStore.h.

◆ windex_max

const unsigned int CaloTowerStore::Entry::windex_max = (1<<windex_width)-1
static

Definition at line 164 of file CaloTowerStore.h.

◆ windex_width

const unsigned int CaloTowerStore::Entry::windex_width = 6
static

Definition at line 163 of file CaloTowerStore.h.


The documentation for this struct was generated from the following files:
CaloTowerStore::Entry::ncells_max
static const unsigned int ncells_max
Definition: CaloTowerStore.h:166
CaloTowerStore::Entry::hash_max
static const unsigned int hash_max
Definition: CaloTowerStore.h:162
CaloTowerStore::Entry::ncells
unsigned int ncells
Definition: CaloTowerStore.h:180
CaloTowerStore::Entry::windex_max
static const unsigned int windex_max
Definition: CaloTowerStore.h:164
CaloTowerStore::Entry::hash
unsigned int hash
Definition: CaloTowerStore.h:178
CaloTowerStore::Entry::windex
unsigned int windex
Definition: CaloTowerStore.h:179
CaloTowerStore::Entry::stride_max
static const unsigned int stride_max
Definition: CaloTowerStore.h:168
CaloTowerStore::Entry::large_stride
@ large_stride
Definition: CaloTowerStore.h:174
CaloTowerStore::Entry::small_stride
@ small_stride
Definition: CaloTowerStore.h:175
CaloTowerStore::Entry::stride
unsigned int stride
Definition: CaloTowerStore.h:181