#include #include "FERODBFieldPositions.h" using namespace std; int main( int argc, char** argv ) { FERODBFieldPositions *fp = new FERODBFieldPositions(); cout << fp->TPCcomment << endl; cout << fp->AltroTable->getColName(fp->AltroTable->ON_ALTRO) << ": " << fp->AltroTable->ON_ALTRO << endl; cout << fp->AltroTable->getColName(fp->AltroTable->ON_CHANNEL[0]) << ": " << fp->AltroTable->ON_CHANNEL[0] << endl; cout << fp->AltroTable->getColName(fp->AltroTable->L1_CHANNEL[0]) << ": " << fp->AltroTable->L1_CHANNEL[0] << endl; cout << fp->RcuTable->getColName(fp->RcuTable->ON_RCU) << ": " << fp->RcuTable->ON_RCU << endl; cout << fp->RcuTable->getColName(fp->RcuTable->id) << ": " << fp->RcuTable->id << endl; cout << fp->FecTable->getColName(fp->FecTable->ON_FEC) << ": " << fp->FecTable->ON_FEC << endl; cout << fp->FecTable->getColName(fp->FecTable->RDO_FEC) << ": " << fp->FecTable->RDO_FEC << endl; cout << fp->FecTable->getColName(fp->FecTable->id) << ": " << fp->FecTable->id << endl; cout << "Position of ON_ALTRO: " << fp->AltroTable->getPosition("ON_ALTRO") << endl; cout << "Position of RCUttc_roi_latency_min: " << fp->RCUttc_roi_latency_min << endl; cout << "Position of K3_CHANNEL02: " << fp->QAll_Altro_K2_CHANNEL[02] << endl; cout << "Position of QAll_AF_FEC_ID: " << fp->QAll_AF_FEC_ID << endl; cout << "Position of QAll_Fec_RDO_FEC: " << fp->QAll_Fec_RDO_FEC << endl; return 1; delete fp; fp = 0; }