ATLAS Offline Software
|
#include <TGCDatabaseASDToPP.h>
Public Types | |
enum | DATABASESIZE { DATABASESIZE =8 } |
enum | INDEXIN { NIndexIn =3 } |
enum | INDEXOUT { NIndexOut =3 } |
enum | DatabaseType { NoDatabaseType =-1, ASDToPP, InPP, PPToSL, SLBToROD, MaxDatabaseType } |
Public Member Functions | |
TGCDatabaseASDToPP (const std::string &filename, const std::string &blockname, bool v_isCommon=true) | |
Constructor. More... | |
TGCDatabaseASDToPP (const TGCDatabaseASDToPP &, bool v_isCommon=true) | |
Copy constructor. More... | |
virtual | ~TGCDatabaseASDToPP (void) |
Destructor. More... | |
virtual bool | update (const std::vector< int > &) override |
virtual int | find (const std::vector< int > &) const override |
virtual int | getIndexDBIn (int *indexIn) const override |
Get IndexDBIn (position in the databse between 0 and database.size()-1) from indexIn which is NIndexIn-dimension array. More... | |
virtual int | getIndexDBOut (int *indexOut) const override |
Get IndexDBOut (position in the databse between 0 and database.size()-1) from indexOut which is NIndexOut-dimension array. More... | |
virtual void | getindexDBVectorIn (std::vector< int > &tmpindexDBIn) const |
Get the IndexDBIn table. More... | |
virtual void | getNIndexDBIn (int &tmpNIndexDBIn) const |
Get the size of the IndexDBIn table. More... | |
virtual void | getmaxIndexIn (int *tmpmaxIndexIn) const |
Get the maximum values of indexIn with NIndexIn dimensions. More... | |
virtual void | getminIndexIn (int *tmpminIndexIn) const |
Get the minimum values of indexIn with NIndexIn dimensions. More... | |
virtual void | getindexDBVectorOut (std::vector< int > &tmpindexDBOut) const |
Get the IndexDBOut table. More... | |
virtual void | getNIndexDBOut (int &tmpNIndexDBOut) const |
Get the size of the IndexDBOut table. More... | |
virtual void | getmaxIndexOut (int *tmpmaxIndexOut) const |
Get the maximum values of indexOut with NIndexOut dimensions. More... | |
virtual void | getminIndexOut (int *tmpminIndexOut) const |
Get the minimum values of indexOut with NIndexOut dimensions. More... | |
bool | isCommon () const |
This method is used to know the database is common or sector specific. More... | |
DatabaseType | getDatabaseType (void) const |
virtual int | getEntry (int entry, int column) const |
virtual int | getEntrySize (int entry) const |
virtual int | getMaxEntry (void) const |
Static Public Attributes | |
static const int | IndexIn [NIndexIn] = {0, 1, 6} |
static const int | ReverseIndexIn [DATABASESIZE] = {0, 1, -1, -1, -1, -1, 2, -1} |
static const int | IndexOut [NIndexOut] = {3, 4, 5} |
static const int | ReverseIndexOut [DATABASESIZE] = {-1, -1, -1, 0, 1, 2, -1, -1} |
Protected Attributes | |
std::string | m_filename |
std::string | m_blockname |
std::vector< std::vector< int > > | m_database |
Private Member Functions | |
virtual void | readDB (void) override |
TGCDatabaseASDToPP (void) | |
virtual void | makeIndexDBIn (void) |
Make the IndexDBIn table. More... | |
virtual int | convertIndexDBIn (int *indexIn) const |
Get the interal number, which is between 0 and NIndexDBIn-1. More... | |
virtual void | makeIndexDBOut (void) |
Make the IndexDBOut table. More... | |
virtual int | convertIndexDBOut (int *indexOut) const |
Get the interal number, which is between 0 and NIndexDBOut-1. More... | |
TGCDatabaseASDToPP & | operator= (const TGCDatabaseASDToPP &right) |
hidden assignment operator More... | |
Private Attributes | |
std::vector< int > | m_indexDBIn |
int | m_NIndexDBIn = 0 |
int | m_maxIndexIn [NIndexIn] {} |
int | m_minIndexIn [NIndexIn] {} |
std::vector< int > | m_indexDBOut |
int | m_NIndexDBOut = 0 |
int | m_maxIndexOut [NIndexOut] {} |
int | m_minIndexOut [NIndexOut] {} |
bool | m_isCommon |
This bool variable is used to know the database is common or sector specific. More... | |
DatabaseType | m_type |
Definition at line 13 of file TGCDatabaseASDToPP.h.
(x, y, zz) is used as IndexOut in this class.
Enumerator | |
---|---|
DATABASESIZE |
Definition at line 30 of file TGCDatabaseASDToPP.h.
|
inherited |
Enumerator | |
---|---|
NoDatabaseType | |
ASDToPP | |
InPP | |
PPToSL | |
SLBToROD | |
MaxDatabaseType |
Definition at line 17 of file TGCDatabase.h.
MuonTGC_Cabling::TGCDatabaseASDToPP::TGCDatabaseASDToPP | ( | const std::string & | filename, |
const std::string & | blockname, | ||
bool | v_isCommon = true |
||
) |
MuonTGC_Cabling::TGCDatabaseASDToPP::TGCDatabaseASDToPP | ( | const TGCDatabaseASDToPP & | right, |
bool | v_isCommon = true |
||
) |
|
virtual |
|
inlineprivate |
Definition at line 81 of file TGCDatabaseASDToPP.h.
|
privatevirtual |
Get the interal number, which is between 0 and NIndexDBIn-1.
Definition at line 281 of file TGCDatabaseASDToPP.cxx.
|
privatevirtual |
Get the interal number, which is between 0 and NIndexDBOut-1.
Definition at line 311 of file TGCDatabaseASDToPP.cxx.
|
overridevirtual |
Reimplemented from MuonTGC_Cabling::TGCDatabase.
Definition at line 93 of file TGCDatabaseASDToPP.cxx.
|
inlineinherited |
Definition at line 35 of file TGCDatabase.h.
|
virtualinherited |
Definition at line 28 of file TGCDatabase.cxx.
|
virtualinherited |
Definition at line 32 of file TGCDatabase.cxx.
|
overridevirtual |
Get IndexDBIn (position in the databse between 0 and database.size()-1) from indexIn which is NIndexIn-dimension array.
Reimplemented from MuonTGC_Cabling::TGCDatabase.
Definition at line 108 of file TGCDatabaseASDToPP.cxx.
|
overridevirtual |
Get IndexDBOut (position in the databse between 0 and database.size()-1) from indexOut which is NIndexOut-dimension array.
Reimplemented from MuonTGC_Cabling::TGCDatabase.
Definition at line 142 of file TGCDatabaseASDToPP.cxx.
|
virtual |
Get the IndexDBIn table.
Definition at line 118 of file TGCDatabaseASDToPP.cxx.
|
virtual |
Get the IndexDBOut table.
Definition at line 152 of file TGCDatabaseASDToPP.cxx.
|
virtualinherited |
Definition at line 36 of file TGCDatabase.cxx.
|
virtual |
Get the maximum values of indexIn with NIndexIn dimensions.
Definition at line 128 of file TGCDatabaseASDToPP.cxx.
|
virtual |
Get the maximum values of indexOut with NIndexOut dimensions.
Definition at line 162 of file TGCDatabaseASDToPP.cxx.
|
virtual |
Get the minimum values of indexIn with NIndexIn dimensions.
Definition at line 135 of file TGCDatabaseASDToPP.cxx.
|
virtual |
Get the minimum values of indexOut with NIndexOut dimensions.
Definition at line 169 of file TGCDatabaseASDToPP.cxx.
|
virtual |
Get the size of the IndexDBIn table.
Definition at line 123 of file TGCDatabaseASDToPP.cxx.
|
virtual |
Get the size of the IndexDBOut table.
Definition at line 157 of file TGCDatabaseASDToPP.cxx.
bool MuonTGC_Cabling::TGCDatabaseASDToPP::isCommon | ( | ) | const |
This method is used to know the database is common or sector specific.
Definition at line 176 of file TGCDatabaseASDToPP.cxx.
|
privatevirtual |
|
privatevirtual |
|
private |
hidden assignment operator
|
overrideprivatevirtual |
Reimplemented from MuonTGC_Cabling::TGCDatabase.
Definition at line 181 of file TGCDatabaseASDToPP.cxx.
|
overridevirtual |
Reimplemented from MuonTGC_Cabling::TGCDatabase.
Definition at line 55 of file TGCDatabaseASDToPP.cxx.
|
static |
Definition at line 32 of file TGCDatabaseASDToPP.h.
|
static |
Definition at line 35 of file TGCDatabaseASDToPP.h.
|
protectedinherited |
Definition at line 53 of file TGCDatabase.h.
|
protectedinherited |
Definition at line 54 of file TGCDatabase.h.
|
protectedinherited |
Definition at line 52 of file TGCDatabase.h.
|
private |
Definition at line 88 of file TGCDatabaseASDToPP.h.
|
private |
Definition at line 98 of file TGCDatabaseASDToPP.h.
|
private |
This bool variable is used to know the database is common or sector specific.
Definition at line 104 of file TGCDatabaseASDToPP.h.
|
private |
Definition at line 90 of file TGCDatabaseASDToPP.h.
|
private |
Definition at line 100 of file TGCDatabaseASDToPP.h.
|
private |
Definition at line 91 of file TGCDatabaseASDToPP.h.
|
private |
Definition at line 101 of file TGCDatabaseASDToPP.h.
|
private |
Definition at line 89 of file TGCDatabaseASDToPP.h.
|
private |
Definition at line 99 of file TGCDatabaseASDToPP.h.
|
privateinherited |
Definition at line 57 of file TGCDatabase.h.
|
static |
Definition at line 33 of file TGCDatabaseASDToPP.h.
|
static |
Definition at line 36 of file TGCDatabaseASDToPP.h.