ATLAS Offline Software
|
Hash table for Tile fragments (==drawers ==collections in StoreGate) More...
#include <TileFragHash.h>
Public Types | |
enum | TYPE { Beam =255, Default =0, Digitizer =0, OptFilterDsp =1, OptFilterOffline =2, OptFilterDspCompressed =3, ManyAmps =4, MF =5, FitFilter =6, FitFilterCool =7, FlatFilter =8, WienerFilterOffline =9 } |
initialize More... | |
typedef int | ID |
Public Member Functions | |
TileFragHash () | |
virtual | ~TileFragHash () |
void | initialize (const TileHWID *tileHWID, TYPE type=Default) |
int | operator() (const ID &id) const |
Convert ID to int. More... | |
int | hash (const ID &id) const |
Convert ID to int (same as the converter, but easier to call from python) More... | |
ID | identifier (int i) const |
reverse conversion More... | |
int | max () const |
return maximum number of IDs More... | |
int | offset () const |
return offset More... | |
TYPE | type () const |
return hash type More... | |
Static Public Member Functions | |
static std::string | typeToString (TYPE type) |
Printable representation of a type. More... | |
Private Attributes | |
int | m_size |
total number of IDs More... | |
int | m_offset |
TYPE | m_type |
int | m_lookup [m_table_size] |
std::vector< ID > | m_int2id |
Static Private Attributes | |
static const int | m_table_size = 0x500 |
lookup table More... | |
Hash table for Tile fragments (==drawers ==collections in StoreGate)
Hash table Identifier builds a table of drawer identifiers 4 * 64 in total for ATLAS only 32 in the testbeam
Definition at line 24 of file TileFragHash.h.
typedef int TileFragHash::ID |
Definition at line 28 of file TileFragHash.h.
enum TileFragHash::TYPE |
initialize
Enumerator | |
---|---|
Beam | |
Default | |
Digitizer | |
OptFilterDsp | |
OptFilterOffline | |
OptFilterDspCompressed | |
ManyAmps | |
MF | |
FitFilter | |
FitFilterCool | |
FlatFilter | |
WienerFilterOffline |
Definition at line 33 of file TileFragHash.h.
TileFragHash::TileFragHash | ( | ) |
|
inlinevirtual |
Definition at line 30 of file TileFragHash.h.
Convert ID to int (same as the converter, but easier to call from python)
Definition at line 74 of file TileFragHash.cxx.
TileFragHash::ID TileFragHash::identifier | ( | int | i | ) | const |
|
inline |
|
inline |
|
inline |
|
static |
|
private |
Definition at line 73 of file TileFragHash.h.
|
private |
Definition at line 71 of file TileFragHash.h.
|
private |
Definition at line 66 of file TileFragHash.h.
|
private |
total number of IDs
Definition at line 65 of file TileFragHash.h.
|
staticprivate |
lookup table
Definition at line 70 of file TileFragHash.h.
|
private |
Definition at line 67 of file TileFragHash.h.