#include <TGCDatabaseInPP.h>
Definition at line 13 of file TGCDatabaseInPP.h.
◆ DatabaseType
Enumerator |
---|
NoDatabaseType | |
ASDToPP | |
InPP | |
PPToSL | |
SLBToROD | |
MaxDatabaseType | |
Definition at line 17 of file TGCDatabase.h.
◆ INDEXIN
share/MuonTGC_Cabling_PP.db
X,
Y, ZZ =
OR'ed channel informationin (if exist)
(s, t, uu) is used as IndexIn in this class.
Enumerator |
---|
NIndexIn | |
IndexInMin | |
IndexInMax | |
Definition at line 31 of file TGCDatabaseInPP.h.
◆ TGCDatabaseInPP() [1/3]
MuonTGC_Cabling::TGCDatabaseInPP::TGCDatabaseInPP |
( |
const std::string & |
filename, |
|
|
const std::string & |
blockname |
|
) |
| |
◆ TGCDatabaseInPP() [2/3]
◆ ~TGCDatabaseInPP()
MuonTGC_Cabling::TGCDatabaseInPP::~TGCDatabaseInPP |
( |
void |
| ) |
|
|
virtual |
◆ TGCDatabaseInPP() [3/3]
MuonTGC_Cabling::TGCDatabaseInPP::TGCDatabaseInPP |
( |
void |
| ) |
|
|
inlineprivate |
◆ convertIndexDBIn()
int MuonTGC_Cabling::TGCDatabaseInPP::convertIndexDBIn |
( |
int * |
indexIn | ) |
const |
|
privatevirtual |
Get the internal number, which is between 0 and NIndexDBIn-1.
Definition at line 176 of file TGCDatabaseInPP.cxx.
179 for(
int iIndexIn=1; iIndexIn<
NIndexIn; iIndexIn++) {
◆ find()
int MuonTGC_Cabling::TGCDatabaseInPP::find |
( |
const std::vector< int > & |
channel | ) |
const |
|
overridevirtual |
◆ 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::TGCDatabaseInPP::getIndexDBIn |
( |
int * |
indexIn | ) |
const |
|
overridevirtual |
◆ getIndexDBOut()
int MuonTGC_Cabling::TGCDatabase::getIndexDBOut |
( |
int * |
indexOut | ) |
const |
|
virtualinherited |
◆ getindexDBVectorIn()
void MuonTGC_Cabling::TGCDatabaseInPP::getindexDBVectorIn |
( |
std::vector< int > & |
tmpindexDBIn | ) |
const |
|
virtual |
◆ getMaxEntry()
int MuonTGC_Cabling::TGCDatabase::getMaxEntry |
( |
void |
| ) |
const |
|
virtualinherited |
◆ getmaxIndexIn()
void MuonTGC_Cabling::TGCDatabaseInPP::getmaxIndexIn |
( |
int * |
tmpmaxIndexIn | ) |
const |
|
virtual |
Get the maximum values of indexIn with NIndexIn dimensions.
Definition at line 97 of file TGCDatabaseInPP.cxx.
99 for(
int iIndexIn=0; iIndexIn<
NIndexIn; iIndexIn++) {
◆ getminIndexIn()
void MuonTGC_Cabling::TGCDatabaseInPP::getminIndexIn |
( |
int * |
tmpminIndexIn | ) |
const |
|
virtual |
Get the minimum values of indexIn with NIndexIn dimensions.
Definition at line 104 of file TGCDatabaseInPP.cxx.
106 for(
int iIndexIn=0; iIndexIn<
NIndexIn; iIndexIn++) {
◆ getNIndexDBIn()
void MuonTGC_Cabling::TGCDatabaseInPP::getNIndexDBIn |
( |
int & |
tmpNIndexDBIn | ) |
const |
|
virtual |
◆ makeIndexDBIn()
void MuonTGC_Cabling::TGCDatabaseInPP::makeIndexDBIn |
( |
void |
| ) |
|
|
privatevirtual |
Make the IndexDBIn table.
Definition at line 157 of file TGCDatabaseInPP.cxx.
159 for(
int iIndexIn=0; iIndexIn<
NIndexIn; iIndexIn++) {
162 for(
int iIndexDBIn=0; iIndexDBIn<
m_NIndexDBIn; iIndexDBIn++) {
169 for(
int iIndexIn=0; iIndexIn<
NIndexIn; iIndexIn++) {
◆ operator=()
hidden assignment operator
◆ readDB()
void MuonTGC_Cabling::TGCDatabaseInPP::readDB |
( |
void |
| ) |
|
|
overrideprivatevirtual |
◆ update()
bool MuonTGC_Cabling::TGCDatabaseInPP::update |
( |
const std::vector< int > & |
input | ) |
|
|
overridevirtual |
Reimplemented from MuonTGC_Cabling::TGCDatabase.
Definition at line 39 of file TGCDatabaseInPP.cxx.
42 if(
ip<0)
return false;
44 const unsigned int input_size =
input.size();
46 const unsigned int database_ip_size =
m_database[
ip].size();
47 for(
unsigned int i=3;
i<database_ip_size;
i++){
54 if(database_ip_size < input_size){
55 for(
unsigned int i=database_ip_size;
i<input_size;
i++){
◆ 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_indexDBIn
std::vector<int> MuonTGC_Cabling::TGCDatabaseInPP::m_indexDBIn |
|
private |
◆ m_maxIndexIn
int MuonTGC_Cabling::TGCDatabaseInPP::m_maxIndexIn[NIndexIn] {} |
|
private |
◆ m_minIndexIn
int MuonTGC_Cabling::TGCDatabaseInPP::m_minIndexIn[NIndexIn] {} |
|
private |
◆ m_NIndexDBIn
int MuonTGC_Cabling::TGCDatabaseInPP::m_NIndexDBIn = 0 |
|
private |
◆ m_type
The documentation for this class was generated from the following files: