Public Member Functions | |
ConfigParameters (std::string filename) | |
void | initialize () |
bool | readConfigParameterFile (std::string filename) |
void | readAllConfigParameterFiles () |
void | readRocPixelConfig () |
void | readTbParameters () |
void | readRocDacs () |
void | readTbmDacs () |
void | readReadbackCal () |
void | writeAllFiles () |
bool | writeConfigParameterFile () |
bool | writeDacParameterFile (int iroc, std::vector< std::pair< std::string, uint8_t > >) |
bool | writeTrimFile (int iroc, std::vector< pxar::pixelConfig >) |
bool | writeTbmParameterFile (int itbm, std::vector< std::pair< std::string, uint8_t > >, std::vector< std::pair< std::string, uint8_t > >) |
bool | writeTbParameterFile () |
bool | writeTestParameterFile (std::string test="all") |
bool | writeReadbackFile (int iroc, std::vector< std::pair< std::string, double > > v) |
bool | writeMaskFile (std::vector< std::vector< std::pair< int, int > > > v, std::string name="") |
std::string | getTBParameterFileName () |
std::string | getDACParameterFileName () |
std::string | getTbmParameterFileName () |
std::string | getTrimParameterFileName () |
std::string | getTestParameterFileName () |
std::string | getGainPedestalParameterFileName () |
std::string | getGainPedestalFileName () |
std::string | getTrimVcalSufix () |
std::string | getRootFileName () |
std::string | getLogFileName () |
std::string | getMaskFileName () |
std::string | getDebugFileName () |
std::string | getDirectory () |
std::string | getRocType () |
std::string | getTbmType () |
std::string | getHdiType () |
std::string | getTbName () |
std::vector< std::pair < std::string, uint8_t > > | getTbParameters () |
std::vector< std::pair < std::string, double > > | getTbPowerSettings () |
std::vector< std::pair < std::string, uint8_t > > | getTbSigDelays () |
std::vector< std::pair < std::string, uint8_t > > | getTbPgSettings () |
std::vector< std::vector < std::pair< std::string, uint8_t > > > | getTbmDacs () |
std::vector< std::vector < std::pair< std::string, uint8_t > > > | getRocDacs () |
std::vector< std::vector < std::pair< std::string, double > > > | getReadbackCal () |
std::vector< std::string > | getDacs () |
std::vector< std::pair < std::string, uint8_t > > | readDacFile (std::string fname) |
std::vector< std::pair < std::string, double > > | readReadbackFile (std::string fname) |
void | readTrimFile (std::string fname, std::vector< pxar::pixelConfig > &) |
std::vector< std::vector < std::pair< int, int > > > | readMaskFile (std::string fname) |
std::vector< std::vector < pxar::pixelConfig > > | getRocPixelConfig () |
std::vector< pxar::pixelConfig > | getRocPixelConfig (int i) |
bool | customI2cAddresses () |
std::vector< uint8_t > | getI2cAddresses () |
bool | setTbParameter (std::string, uint8_t, bool appendIfNotFound=false) |
bool | setTbPowerSettings (std::string, double) |
bool | setTbmDac (std::string var, uint8_t val, int itbm=-1) |
bool | setRocDac (std::string var, uint8_t val, int iroc=-1) |
bool | setTrimBits (int trim) |
void | setProbe (std::string probe, std::string value) |
std::string | getProbe (std::string probe) |
void | setTBParameterFileName (std::string filename) |
void | setDACParameterFileName (std::string filename) |
void | setTbmParameterFileName (std::string filename) |
void | setTrimParameterFileName (std::string filename) |
void | setTrimVcalSuffix (std::string name, bool nocheck=false) |
void | setTestParameterFileName (std::string filename) |
void | setRootFileName (std::string filename) |
void | setLogFileName (std::string filename) |
void | setDebugFileName (std::string filename) |
void | setMaskFileName (std::string filename) |
void | setDirectory (std::string dirname) |
void | setGuiMode (bool a) |
unsigned int | getNrocs () |
unsigned int | getNtbms () |
std::vector< int > | getSelectedRocs () |
std::vector< int > | getSelectedTbms () |
void | setSelectedRocs (std::vector< int > v) |
void | setSelectedTbms (std::vector< int > v) |
void | readGainPedestalParameters () |
void | writeGainPedestalParameters () |
void | setGainPedestalParameters (std::vector< std::vector< gainPedestalParameters > >) |
std::vector< std::vector < gainPedestalParameters > > | getGainPedestalParameters () |
double | getIa () |
double | getId () |
double | getVa () |
double | getVd () |
bool | getHvOn () |
uint8_t | getHubId () |
void | replaceAll (std::string &str, const std::string &from, const std::string &to) |
void | cleanupString (std::string &str) |
void | readNrocs (std::string line) |
Static Public Member Functions | |
static ConfigParameters * | Singleton () |
static bool | bothAreSpaces (char lhs, char rhs) |
Definition at line 34 of file ConfigParameters.hh.