#include <TGCDatabaseSLBToROD.h>
Definition at line 13 of file TGCDatabaseSLBToROD.h.
◆ DatabaseType
| Enumerator |
|---|
| NoDatabaseType | |
| ASDToPP | |
| InPP | |
| PPToSL | |
| SLBToROD | |
| MaxDatabaseType | |
Definition at line 17 of file TGCDatabase.h.
◆ TGCDatabaseSLBToROD() [1/3]
| MuonTGC_Cabling::TGCDatabaseSLBToROD::TGCDatabaseSLBToROD |
( |
const std::string & | filename, |
|
|
const std::string & | blockname ) |
Definition at line 12 of file TGCDatabaseSLBToROD.cxx.
15{
16
18}
virtual void readDB(void)
TGCDatabase(DatabaseType type=NoDatabaseType)
◆ TGCDatabaseSLBToROD() [2/3]
◆ ~TGCDatabaseSLBToROD()
| MuonTGC_Cabling::TGCDatabaseSLBToROD::~TGCDatabaseSLBToROD |
( |
void | | ) |
|
|
virtual |
◆ TGCDatabaseSLBToROD() [3/3]
| MuonTGC_Cabling::TGCDatabaseSLBToROD::TGCDatabaseSLBToROD |
( |
void | | ) |
|
|
inlineprivate |
◆ find()
| int MuonTGC_Cabling::TGCDatabaseSLBToROD::find |
( |
const std::vector< int > & | channel | ) |
const |
|
virtual |
Reimplemented from MuonTGC_Cabling::TGCDatabase.
Definition at line 72 of file TGCDatabaseSLBToROD.cxx.
73{
75
77
79
80 for(
unsigned int i=0;
i<size;
i++){
83 break;
84 }
85 }
86 } else {
87
88 for(
unsigned int i=0;
i<size;
i++){
94 break;
95 }
96 }
97 }
98
100}
std::vector< std::vector< int > > m_database
◆ getDatabaseType()
| DatabaseType MuonTGC_Cabling::TGCDatabase::getDatabaseType |
( |
void | | ) |
const |
|
inlineinherited |
◆ getEntry()
| int MuonTGC_Cabling::TGCDatabase::getEntry |
( |
int | entry, |
|
|
int | column ) const |
|
virtualinherited |
◆ getEntrySize()
| int MuonTGC_Cabling::TGCDatabase::getEntrySize |
( |
int | entry | ) |
const |
|
virtualinherited |
◆ getIndexDBIn()
| int MuonTGC_Cabling::TGCDatabase::getIndexDBIn |
( |
int * | indexIn | ) |
const |
|
virtualinherited |
◆ getIndexDBOut()
| int MuonTGC_Cabling::TGCDatabase::getIndexDBOut |
( |
int * | indexOut | ) |
const |
|
virtualinherited |
◆ getMaxEntry()
| int MuonTGC_Cabling::TGCDatabase::getMaxEntry |
( |
void | | ) |
const |
|
virtualinherited |
◆ operator=()
hidden assignment operator
◆ readDB()
| void MuonTGC_Cabling::TGCDatabaseSLBToROD::readDB |
( |
void | | ) |
|
|
privatevirtual |
Reimplemented from MuonTGC_Cabling::TGCDatabase.
Definition at line 20 of file TGCDatabaseSLBToROD.cxx.
20 {
23
27
28 while(getline(
file,buf)){
29 if(
buf.compare(0,
module.size(),module)==0)
break;
30 }
31
32 while(getline(
file,buf)){
33 if(
buf.compare(1,
type.size(),type)==0)
break;
34 }
35
36 while(getline(
file,buf)){
37 if(
buf.compare(0,2,
" ")!=0)
break;
38 std::istringstream
line(buf);
39 std::vector<int>
entry;
40 for(
int i=0;
i<6;
i++){
41 int temp=-1;
43 entry.push_back(temp);
44 }
46 }
47
49}
◆ update()
| bool MuonTGC_Cabling::TGCDatabaseSLBToROD::update |
( |
const std::vector< int > & | input | ) |
|
|
virtual |
◆ m_blockname
| std::string MuonTGC_Cabling::TGCDatabase::m_blockname |
|
protectedinherited |
◆ m_database
| std::vector< std::vector<int> > MuonTGC_Cabling::TGCDatabase::m_database |
|
protectedinherited |
◆ m_filename
| std::string MuonTGC_Cabling::TGCDatabase::m_filename |
|
protectedinherited |
◆ m_type
The documentation for this class was generated from the following files: