![]() |
ATLAS Offline Software
|
#include <TGCDatabaseInPP.h>
Public Types | |
| enum | INDEXIN { NIndexIn = 3 , IndexInMin = 0 , IndexInMax = 2 } |
| enum | DatabaseType { NoDatabaseType = -1 , ASDToPP , InPP , PPToSL , SLBToROD , MaxDatabaseType } |
Public Member Functions | |
| TGCDatabaseInPP (const std::string &filename, const std::string &blockname) | |
| Constructor. | |
| TGCDatabaseInPP (const TGCDatabaseInPP &) | |
| Copy constructor. | |
| virtual | ~TGCDatabaseInPP () |
| 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 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. | |
| DatabaseType | getDatabaseType () const |
| virtual int | getEntry (int entry, int column) const |
| virtual int | getEntrySize (int entry) const |
| virtual int | getMaxEntry () const |
| virtual int | getIndexDBOut (int *indexOut) const |
Protected Attributes | |
| std::string | m_filename |
| std::string | m_blockname |
| std::vector< std::vector< int > > | m_database |
Private Member Functions | |
| virtual void | readDB () override |
| TGCDatabaseInPP () | |
| virtual void | makeIndexDBIn () |
| Make the IndexDBIn table. | |
| virtual int | convertIndexDBIn (int *indexIn) const |
| Get the internal number, which is between 0 and NIndexDBIn-1. | |
| TGCDatabaseInPP & | operator= (const TGCDatabaseInPP &right) |
| hidden assignment operator | |
Private Attributes | |
| std::vector< int > | m_indexDBIn |
| int | m_NIndexDBIn = 0 |
| int | m_maxIndexIn [NIndexIn] {} |
| int | m_minIndexIn [NIndexIn] {} |
| DatabaseType | m_type |
Definition at line 12 of file TGCDatabaseInPP.h.
|
inherited |
| Enumerator | |
|---|---|
| NoDatabaseType | |
| ASDToPP | |
| InPP | |
| PPToSL | |
| SLBToROD | |
| MaxDatabaseType | |
Definition at line 15 of file TGCDatabase.h.
(s, t, uu) is used as IndexIn in this class.
| Enumerator | |
|---|---|
| NIndexIn | |
| IndexInMin | |
| IndexInMax | |
Definition at line 29 of file TGCDatabaseInPP.h.
| MuonTGC_Cabling::TGCDatabaseInPP::TGCDatabaseInPP | ( | const std::string & | filename, |
| const std::string & | blockname ) |
Constructor.
Definition at line 12 of file TGCDatabaseInPP.cxx.
| MuonTGC_Cabling::TGCDatabaseInPP::TGCDatabaseInPP | ( | const TGCDatabaseInPP & | right | ) |
Copy constructor.
Definition at line 24 of file TGCDatabaseInPP.cxx.
|
virtual |
|
inlineprivate |
Definition at line 57 of file TGCDatabaseInPP.h.
|
privatevirtual |
Get the internal number, which is between 0 and NIndexDBIn-1.
Definition at line 177 of file TGCDatabaseInPP.cxx.
|
overridevirtual |
Reimplemented from MuonTGC_Cabling::TGCDatabase.
Definition at line 58 of file TGCDatabaseInPP.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 72 of file TGCDatabaseInPP.cxx.
|
virtualinherited |
Reimplemented in MuonTGC_Cabling::TGCDatabaseASDToPP.
Definition at line 48 of file TGCDatabase.cxx.
|
virtual |
Get the IndexDBIn table.
Definition at line 85 of file TGCDatabaseInPP.cxx.
|
virtualinherited |
Definition at line 25 of file TGCDatabase.cxx.
|
virtual |
Get the maximum values of indexIn with NIndexIn dimensions.
Definition at line 93 of file TGCDatabaseInPP.cxx.
|
virtual |
Get the minimum values of indexIn with NIndexIn dimensions.
Definition at line 99 of file TGCDatabaseInPP.cxx.
|
virtual |
Get the size of the IndexDBIn table.
Definition at line 89 of file TGCDatabaseInPP.cxx.
|
privatevirtual |
Make the IndexDBIn table.
Definition at line 157 of file TGCDatabaseInPP.cxx.
|
private |
hidden assignment operator
|
overrideprivatevirtual |
Reimplemented from MuonTGC_Cabling::TGCDatabase.
Definition at line 105 of file TGCDatabaseInPP.cxx.
|
overridevirtual |
Reimplemented from MuonTGC_Cabling::TGCDatabase.
Definition at line 34 of file TGCDatabaseInPP.cxx.
|
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 64 of file TGCDatabaseInPP.h.
|
private |
Definition at line 66 of file TGCDatabaseInPP.h.
|
private |
Definition at line 67 of file TGCDatabaseInPP.h.
|
private |
Definition at line 65 of file TGCDatabaseInPP.h.
|
privateinherited |
Definition at line 59 of file TGCDatabase.h.