ATLAS Offline Software
Loading...
Searching...
No Matches
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 363 of file CaloTowerStore.cxx.

365 : nentries (the_nentries),
366 backref_next (false),
367 n1 (0),
368 ncells (the_ncells),
369 offs1 (0),
370 offs2 (0)
371{
372 assert (the_nentries <= nentries_max);
373 assert (the_ncells <= ncells_max);
374}
static const unsigned int nentries_max
static const unsigned int ncells_max

◆ 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 377 of file CaloTowerStore.cxx.

382 : nentries (the_nentries),
383 backref_next (false),
384 n1 (the_n1),
385 ncells (the_ncells),
386 offs1 (the_offs1),
387 offs2 (the_offs2)
388{
389 assert (the_nentries <= nentries_max);
390 assert (the_ncells <= ncells_max);
391 assert (the_n1 <= n1_max);
392 assert (the_offs1 <= offs1_max);
393 assert (the_offs2 <= offs2_max);
394}
static const unsigned int n1_max
static const unsigned int offs1_max
static const unsigned int offs2_max

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: