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

Public Member Functions

 Tower (unsigned int the_nentries, unsigned int the_ncells)
 
 Tower (unsigned int the_nentries, unsigned int the_ncells, unsigned int the_n1, unsigned int the_offs1, unsigned int the_offs2)
 

Public Attributes

unsigned int nentries: nentries_width
 
bool backref_next: backref_next_width
 
unsigned int n1: n1_width
 
unsigned int ncells: ncells_width
 
unsigned int offs1: offs1_width
 
unsigned int offs2: offs2_width
 

Static Public Attributes

static const unsigned int nentries_width = 5
 
static const unsigned int nentries_max = (1<<nentries_width)-1
 
static const unsigned int backref_next_width = 1
 
static const unsigned int backref_next_max = (1<<backref_next_width)-1
 
static const unsigned int n1_width = 2
 
static const unsigned int n1_max = (1<<n1_width)-1
 
static const unsigned int ncells_width = 8
 
static const unsigned int ncells_max = (1<<ncells_width)-1
 
static const unsigned int offs1_width = 8
 
static const unsigned int offs1_max = (1<<offs1_width)-1
 
static const unsigned int offs2_width = 8
 
static const unsigned int offs2_max = (1<<offs2_width)-1
 

Detailed Description

Definition at line 189 of file CaloTowerStore.h.

Constructor & Destructor Documentation

◆ Tower() [1/2]

CaloTowerStore::Tower::Tower ( unsigned int  the_nentries,
unsigned int  the_ncells 
)

Definition at line 367 of file CaloTowerStore.cxx.

369  : nentries (the_nentries),
370  backref_next (false),
371  n1 (0),
372  ncells (the_ncells),
373  offs1 (0),
374  offs2 (0)
375 {
376  assert (the_nentries <= nentries_max);
377  assert (the_ncells <= ncells_max);
378 }

◆ Tower() [2/2]

CaloTowerStore::Tower::Tower ( unsigned int  the_nentries,
unsigned int  the_ncells,
unsigned int  the_n1,
unsigned int  the_offs1,
unsigned int  the_offs2 
)

Definition at line 381 of file CaloTowerStore.cxx.

386  : nentries (the_nentries),
387  backref_next (false),
388  n1 (the_n1),
389  ncells (the_ncells),
390  offs1 (the_offs1),
391  offs2 (the_offs2)
392 {
393  assert (the_nentries <= nentries_max);
394  assert (the_ncells <= ncells_max);
395  assert (the_n1 <= n1_max);
396  assert (the_offs1 <= offs1_max);
397  assert (the_offs2 <= offs2_max);
398 }

Member Data Documentation

◆ backref_next

bool CaloTowerStore::Tower::backref_next

Definition at line 205 of file CaloTowerStore.h.

◆ backref_next_max

const unsigned int CaloTowerStore::Tower::backref_next_max = (1<<backref_next_width)-1
static

Definition at line 194 of file CaloTowerStore.h.

◆ backref_next_width

const unsigned int CaloTowerStore::Tower::backref_next_width = 1
static

Definition at line 193 of file CaloTowerStore.h.

◆ n1

unsigned int CaloTowerStore::Tower::n1

Definition at line 206 of file CaloTowerStore.h.

◆ n1_max

const unsigned int CaloTowerStore::Tower::n1_max = (1<<n1_width)-1
static

Definition at line 196 of file CaloTowerStore.h.

◆ n1_width

const unsigned int CaloTowerStore::Tower::n1_width = 2
static

Definition at line 195 of file CaloTowerStore.h.

◆ ncells

unsigned int CaloTowerStore::Tower::ncells

Definition at line 207 of file CaloTowerStore.h.

◆ ncells_max

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

Definition at line 198 of file CaloTowerStore.h.

◆ ncells_width

const unsigned int CaloTowerStore::Tower::ncells_width = 8
static

Definition at line 197 of file CaloTowerStore.h.

◆ nentries

unsigned int CaloTowerStore::Tower::nentries

Definition at line 204 of file CaloTowerStore.h.

◆ nentries_max

const unsigned int CaloTowerStore::Tower::nentries_max = (1<<nentries_width)-1
static

Definition at line 192 of file CaloTowerStore.h.

◆ nentries_width

const unsigned int CaloTowerStore::Tower::nentries_width = 5
static

Definition at line 191 of file CaloTowerStore.h.

◆ offs1

unsigned int CaloTowerStore::Tower::offs1

Definition at line 208 of file CaloTowerStore.h.

◆ offs1_max

const unsigned int CaloTowerStore::Tower::offs1_max = (1<<offs1_width)-1
static

Definition at line 200 of file CaloTowerStore.h.

◆ offs1_width

const unsigned int CaloTowerStore::Tower::offs1_width = 8
static

Definition at line 199 of file CaloTowerStore.h.

◆ offs2

unsigned int CaloTowerStore::Tower::offs2

Definition at line 209 of file CaloTowerStore.h.

◆ offs2_max

const unsigned int CaloTowerStore::Tower::offs2_max = (1<<offs2_width)-1
static

Definition at line 202 of file CaloTowerStore.h.

◆ offs2_width

const unsigned int CaloTowerStore::Tower::offs2_width = 8
static

Definition at line 201 of file CaloTowerStore.h.


The documentation for this struct was generated from the following files:
CaloTowerStore::Tower::nentries
unsigned int nentries
Definition: CaloTowerStore.h:204
CaloTowerStore::Tower::offs2
unsigned int offs2
Definition: CaloTowerStore.h:209
CaloTowerStore::Tower::offs1_max
static const unsigned int offs1_max
Definition: CaloTowerStore.h:200
CaloTowerStore::Tower::offs2_max
static const unsigned int offs2_max
Definition: CaloTowerStore.h:202
CaloTowerStore::Tower::nentries_max
static const unsigned int nentries_max
Definition: CaloTowerStore.h:192
CaloTowerStore::Tower::ncells_max
static const unsigned int ncells_max
Definition: CaloTowerStore.h:198
CaloTowerStore::Tower::ncells
unsigned int ncells
Definition: CaloTowerStore.h:207
CaloTowerStore::Tower::n1_max
static const unsigned int n1_max
Definition: CaloTowerStore.h:196
CaloTowerStore::Tower::backref_next
bool backref_next
Definition: CaloTowerStore.h:205
CaloTowerStore::Tower::n1
unsigned int n1
Definition: CaloTowerStore.h:206
CaloTowerStore::Tower::offs1
unsigned int offs1
Definition: CaloTowerStore.h:208