![]() |
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. | |
| TGCDatabaseASDToPP (const TGCDatabaseASDToPP &, bool v_isCommon=true) | |
| Copy constructor. | |
| virtual | ~TGCDatabaseASDToPP () |
| Destructor. | |
| 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. | |
| 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. | |
| virtual void | getindexDBVectorIn (std::vector< int > &tmpindexDBIn) const |
| Get the IndexDBIn table. | |
| virtual void | getNIndexDBIn (int &tmpNIndexDBIn) const |
| Get the size of the IndexDBIn table. | |
| virtual void | getmaxIndexIn (int *tmpmaxIndexIn) const |
| Get the maximum values of indexIn with NIndexIn dimensions. | |
| virtual void | getminIndexIn (int *tmpminIndexIn) const |
| Get the minimum values of indexIn with NIndexIn dimensions. | |
| virtual void | getindexDBVectorOut (std::vector< int > &tmpindexDBOut) const |
| Get the IndexDBOut table. | |
| virtual void | getNIndexDBOut (int &tmpNIndexDBOut) const |
| Get the size of the IndexDBOut table. | |
| virtual void | getmaxIndexOut (int *tmpmaxIndexOut) const |
| Get the maximum values of indexOut with NIndexOut dimensions. | |
| virtual void | getminIndexOut (int *tmpminIndexOut) const |
| Get the minimum values of indexOut with NIndexOut dimensions. | |
| bool | isCommon () const |
| This method is used to know the database is common or sector specific. | |
| DatabaseType | getDatabaseType () const |
| virtual int | getEntry (int entry, int column) const |
| virtual int | getEntrySize (int entry) const |
| virtual int | getMaxEntry () const |
Static Public Attributes | |
| static const int | IndexIn [NIndexIn] = {0, 1, 6} |
| static const int | ReverseIndexIn [DATABASESIZE] |
| static const int | IndexOut [NIndexOut] = {3, 4, 5} |
| static const int | ReverseIndexOut [DATABASESIZE] |
Protected Attributes | |
| std::string | m_filename |
| std::string | m_blockname |
| std::vector< std::vector< int > > | m_database |
Private Member Functions | |
| virtual void | readDB () override |
| TGCDatabaseASDToPP () | |
| virtual void | makeIndexDBIn () |
| Make the IndexDBIn table. | |
| virtual int | convertIndexDBIn (int *indexIn) const |
| Get the interal number, which is between 0 and NIndexDBIn-1. | |
| virtual void | makeIndexDBOut () |
| Make the IndexDBOut table. | |
| virtual int | convertIndexDBOut (int *indexOut) const |
| Get the interal number, which is between 0 and NIndexDBOut-1. | |
| TGCDatabaseASDToPP & | operator= (const TGCDatabaseASDToPP &right) |
| hidden assignment operator | |
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. | |
| DatabaseType | m_type |
Definition at line 12 of file TGCDatabaseASDToPP.h.
(x, y, zz) is used as IndexOut in this class.
| Enumerator | |
|---|---|
| DATABASESIZE | |
Definition at line 28 of file TGCDatabaseASDToPP.h.
|
inherited |
| Enumerator | |
|---|---|
| NoDatabaseType | |
| ASDToPP | |
| InPP | |
| PPToSL | |
| SLBToROD | |
| MaxDatabaseType | |
Definition at line 15 of file TGCDatabase.h.
| MuonTGC_Cabling::TGCDatabaseASDToPP::TGCDatabaseASDToPP | ( | const std::string & | filename, |
| const std::string & | blockname, | ||
| bool | v_isCommon = true ) |
Constructor.
Definition at line 19 of file TGCDatabaseASDToPP.cxx.
| MuonTGC_Cabling::TGCDatabaseASDToPP::TGCDatabaseASDToPP | ( | const TGCDatabaseASDToPP & | right, |
| bool | v_isCommon = true ) |
Copy constructor.
Definition at line 39 of file TGCDatabaseASDToPP.cxx.
|
virtual |
|
inlineprivate |
Definition at line 78 of file TGCDatabaseASDToPP.h.
|
privatevirtual |
Get the interal number, which is between 0 and NIndexDBIn-1.
Definition at line 286 of file TGCDatabaseASDToPP.cxx.
|
privatevirtual |
Get the interal number, which is between 0 and NIndexDBOut-1.
Definition at line 316 of file TGCDatabaseASDToPP.cxx.
|
overridevirtual |
Reimplemented from MuonTGC_Cabling::TGCDatabase.
Definition at line 96 of file TGCDatabaseASDToPP.cxx.
|
inlineinherited |
Definition at line 37 of file TGCDatabase.h.
|
virtualinherited |
Definition at line 17 of file TGCDatabase.cxx.
|
virtualinherited |
Definition at line 21 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 110 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 144 of file TGCDatabaseASDToPP.cxx.
|
virtual |
Get the IndexDBIn table.
Definition at line 123 of file TGCDatabaseASDToPP.cxx.
|
virtual |
Get the IndexDBOut table.
Definition at line 157 of file TGCDatabaseASDToPP.cxx.
|
virtualinherited |
Definition at line 25 of file TGCDatabase.cxx.
|
virtual |
Get the maximum values of indexIn with NIndexIn dimensions.
Definition at line 132 of file TGCDatabaseASDToPP.cxx.
|
virtual |
Get the maximum values of indexOut with NIndexOut dimensions.
Definition at line 166 of file TGCDatabaseASDToPP.cxx.
|
virtual |
Get the minimum values of indexIn with NIndexIn dimensions.
Definition at line 138 of file TGCDatabaseASDToPP.cxx.
|
virtual |
Get the minimum values of indexOut with NIndexOut dimensions.
Definition at line 172 of file TGCDatabaseASDToPP.cxx.
|
virtual |
Get the size of the IndexDBIn table.
Definition at line 128 of file TGCDatabaseASDToPP.cxx.
|
virtual |
Get the size of the IndexDBOut table.
Definition at line 162 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 178 of file TGCDatabaseASDToPP.cxx.
|
privatevirtual |
Make the IndexDBIn table.
Definition at line 267 of file TGCDatabaseASDToPP.cxx.
|
privatevirtual |
Make the IndexDBOut table.
Definition at line 295 of file TGCDatabaseASDToPP.cxx.
|
private |
hidden assignment operator
|
overrideprivatevirtual |
Reimplemented from MuonTGC_Cabling::TGCDatabase.
Definition at line 182 of file TGCDatabaseASDToPP.cxx.
|
overridevirtual |
Reimplemented from MuonTGC_Cabling::TGCDatabase.
Definition at line 55 of file TGCDatabaseASDToPP.cxx.
|
static |
Definition at line 30 of file TGCDatabaseASDToPP.h.
|
static |
Definition at line 33 of file TGCDatabaseASDToPP.h.
|
protectedinherited |
Definition at line 55 of file TGCDatabase.h.
|
protectedinherited |
Definition at line 56 of file TGCDatabase.h.
|
protectedinherited |
Definition at line 54 of file TGCDatabase.h.
|
private |
Definition at line 85 of file TGCDatabaseASDToPP.h.
|
private |
Definition at line 95 of file TGCDatabaseASDToPP.h.
|
private |
This bool variable is used to know the database is common or sector specific.
Definition at line 102 of file TGCDatabaseASDToPP.h.
|
private |
Definition at line 87 of file TGCDatabaseASDToPP.h.
|
private |
Definition at line 97 of file TGCDatabaseASDToPP.h.
|
private |
Definition at line 88 of file TGCDatabaseASDToPP.h.
|
private |
Definition at line 98 of file TGCDatabaseASDToPP.h.
|
private |
Definition at line 86 of file TGCDatabaseASDToPP.h.
|
private |
Definition at line 96 of file TGCDatabaseASDToPP.h.
|
privateinherited |
Definition at line 59 of file TGCDatabase.h.
|
static |
Definition at line 31 of file TGCDatabaseASDToPP.h.
|
static |
Definition at line 34 of file TGCDatabaseASDToPP.h.