#include <SpdDetectorConf.h>
Public Member Functions | |
long int | getLastVersion () |
gets the last version | |
long int | update () |
updates data with db | |
int | getDataFromDB () |
gets data with db | |
PixelConfDb & | getChannel (int channel) |
to get channel configuration | |
PixelConfDb & | operator[] (unsigned int channel) |
void | setVersionNumber (long int version) |
long int | getVersionNumber () |
SpdDetectorConf (void) | |
~SpdDetectorConf (void) | |
Private Member Functions | |
std::vector< std::string > | getSectorVerFields () |
std::vector< std::string > | getDetectorVerFields () |
int | setSectorVersion (int sector, long int version) |
sets the sector version | |
long int | updateSector (int sector) |
updates one sector | |
int | getChannelNumber (int sector, int hs) |
gets channels number from sector and hs number | |
Private Attributes | |
PixelConfDb | hsChannels [NChannels] |
configuration for 60 HS's | |
SpdVerTable | sectorTables [NSectors] |
SpdVerTable | detectorTable |
SpdDetectorConf::SpdDetectorConf | ( | void | ) |
SpdDetectorConf::~SpdDetectorConf | ( | void | ) |
std::vector< std::string > SpdDetectorConf::getSectorVerFields | ( | ) | [private] |
std::vector< std::string > SpdDetectorConf::getDetectorVerFields | ( | ) | [private] |
int SpdDetectorConf::setSectorVersion | ( | int | sector, | |
long int | version | |||
) | [private] |
sets the sector version
long int SpdDetectorConf::updateSector | ( | int | sector | ) | [private] |
updates one sector
int SpdDetectorConf::getChannelNumber | ( | int | sector, | |
int | hs | |||
) | [inline, private] |
gets channels number from sector and hs number
long int SpdDetectorConf::getLastVersion | ( | ) |
gets the last version
long int SpdDetectorConf::update | ( | ) |
updates data with db
SpdDetectorConf::getDataFromDB | ( | ) |
gets data with db
PixelConfDb& SpdDetectorConf::getChannel | ( | int | channel | ) | [inline] |
to get channel configuration
PixelConfDb& SpdDetectorConf::operator[] | ( | unsigned int | channel | ) | [inline] |
void SpdDetectorConf::setVersionNumber | ( | long int | version | ) |
long int SpdDetectorConf::getVersionNumber | ( | ) | [inline] |
PixelConfDb SpdDetectorConf::hsChannels[NChannels] [private] |
configuration for 60 HS's
SpdVerTable SpdDetectorConf::sectorTables[NSectors] [private] |
obects to manage the versioning 10 sector versions plus its own detector version
SpdVerTable SpdDetectorConf::detectorTable [private] |