This file contains the base class for "pixel configuration data" management. More...
#include <interface/PixelConfigBase.h>
Public Member Functions | |
std::string | creator () |
std::string | date () |
std::string | description () |
std::string | getAuthor () const |
std::string | getComment () const |
PixelConfigBase (std::string description, std::string creator, std::string date) | |
void | setAuthor (std::string author) |
void | setComment (std::string comment) |
virtual void | writeASCII (std::string dir="") const =0 |
virtual void | writeXML (std::ofstream *out, std::ofstream *out1, std::ofstream *out2) const |
virtual void | writeXML (pos::PixelConfigKey key, int version, std::string path) const |
virtual void | writeXML (std::ofstream *out) const |
virtual void | writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1, std::ofstream *out2) const |
virtual void | writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const |
virtual void | writeXMLTrailer (std::ofstream *out) const |
virtual void | writeXMLTrailer (std::ofstream *out, std::ofstream *ou1, std::ofstream *out2) const |
virtual | ~PixelConfigBase () |
Private Attributes | |
std::string | comment_ |
std::string | creator_ |
std::string | date_ |
std::string | description_ |
This file contains the base class for "pixel configuration data" management.
" "
A longer explanation will be placed here later
Definition at line 33 of file PixelConfigBase.h.
PixelConfigBase::PixelConfigBase | ( | std::string | description, |
std::string | creator, | ||
std::string | date | ||
) |
Definition at line 16 of file PixelConfigBase.cc.
: description_(description), creator_(creator), date_(date){ }
virtual pos::PixelConfigBase::~PixelConfigBase | ( | ) | [inline, virtual] |
Definition at line 46 of file PixelConfigBase.h.
{}
std::string pos::PixelConfigBase::creator | ( | ) |
std::string pos::PixelConfigBase::date | ( | ) |
std::string pos::PixelConfigBase::description | ( | ) |
std::string pos::PixelConfigBase::getAuthor | ( | ) | const [inline] |
Definition at line 74 of file PixelConfigBase.h.
References creator_.
Referenced by pos::PixelPortcardMap::writeXMLHeader(), pos::PixelMaskAllPixels::writeXMLHeader(), pos::PixelLTCConfig::writeXMLHeader(), pos::PixelTBMSettings::writeXMLHeader(), pos::PixelTrimAllPixels::writeXMLHeader(), pos::PixelLowVoltageMap::writeXMLHeader(), pos::PixelDelay25Calib::writeXMLHeader(), pos::PixelDACSettings::writeXMLHeader(), pos::PixelTKFECConfig::writeXMLHeader(), pos::PixelMaxVsf::writeXMLHeader(), pos::PixelTTCciConfig::writeXMLHeader(), pos::PixelDetectorConfig::writeXMLHeader(), pos::PixelFEDCard::writeXMLHeader(), pos::PixelFECConfig::writeXMLHeader(), pos::PixelCalibConfiguration::writeXMLHeader(), pos::PixelNameTranslation::writeXMLHeader(), pos::PixelFEDConfig::writeXMLHeader(), pos::PixelPortCardConfig::writeXMLHeader(), and pos::PixelGlobalDelay25::writeXMLHeader().
{return creator_ ;}
std::string pos::PixelConfigBase::getComment | ( | ) | const [inline] |
Definition at line 75 of file PixelConfigBase.h.
References base64_encode(), and comment_.
Referenced by pos::PixelPortcardMap::writeXMLHeader(), pos::PixelLTCConfig::writeXMLHeader(), pos::PixelMaskAllPixels::writeXMLHeader(), pos::PixelTBMSettings::writeXMLHeader(), pos::PixelDelay25Calib::writeXMLHeader(), pos::PixelLowVoltageMap::writeXMLHeader(), pos::PixelTrimAllPixels::writeXMLHeader(), pos::PixelDACSettings::writeXMLHeader(), pos::PixelMaxVsf::writeXMLHeader(), pos::PixelTKFECConfig::writeXMLHeader(), pos::PixelDetectorConfig::writeXMLHeader(), pos::PixelTTCciConfig::writeXMLHeader(), pos::PixelCalibConfiguration::writeXMLHeader(), pos::PixelFECConfig::writeXMLHeader(), pos::PixelFEDCard::writeXMLHeader(), pos::PixelFEDConfig::writeXMLHeader(), pos::PixelNameTranslation::writeXMLHeader(), pos::PixelGlobalDelay25::writeXMLHeader(), and pos::PixelPortCardConfig::writeXMLHeader().
{return base64_encode((unsigned char *)comment_.c_str(), comment_.length()) ;}
void pos::PixelConfigBase::setAuthor | ( | std::string | author | ) | [inline] |
void pos::PixelConfigBase::setComment | ( | std::string | comment | ) | [inline] |
virtual void pos::PixelConfigBase::writeASCII | ( | std::string | dir = "" | ) | const [pure virtual] |
Implemented in pos::PixelCalibConfiguration, pos::PixelDACSettings, pos::PixelDelay25Calib, pos::PixelDetectorConfig, pos::PixelFECConfig, pos::PixelFEDCard, pos::PixelFEDConfig, pos::PixelGlobalDelay25, pos::PixelLowVoltageMap, pos::PixelLTCConfig, pos::PixelMaskAllPixels, pos::PixelMaskBase, pos::PixelMaskAllPixels, pos::PixelMaxVsf, pos::PixelNameTranslation, pos::PixelPortCardConfig, pos::PixelPortcardMap, pos::PixelTBMSettings, pos::PixelTKFECConfig, pos::PixelTrimAllPixels, pos::PixelTrimBase, pos::PixelTrimCommon, and pos::PixelTTCciConfig.
virtual void pos::PixelConfigBase::writeXML | ( | pos::PixelConfigKey | key, |
int | version, | ||
std::string | path | ||
) | const [inline, virtual] |
Reimplemented in pos::PixelCalibConfiguration, pos::PixelDACSettings, pos::PixelDelay25Calib, pos::PixelDetectorConfig, pos::PixelFECConfig, pos::PixelFEDCard, pos::PixelFEDConfig, pos::PixelLowVoltageMap, pos::PixelLTCConfig, pos::PixelMaskAllPixels, pos::PixelMaskBase, pos::PixelMaskAllPixels, pos::PixelMaxVsf, pos::PixelNameTranslation, pos::PixelPortCardConfig, pos::PixelPortcardMap, pos::PixelTBMSettings, pos::PixelTKFECConfig, pos::PixelTrimAllPixels, pos::PixelTrimBase, pos::PixelTrimCommon, and pos::PixelTTCciConfig.
Definition at line 67 of file PixelConfigBase.h.
{;}
virtual void pos::PixelConfigBase::writeXML | ( | std::ofstream * | out | ) | const [inline, virtual] |
Reimplemented in pos::PixelFEDCard, pos::PixelMaskAllPixels, and pos::PixelTrimCommon.
Definition at line 69 of file PixelConfigBase.h.
{;}
virtual void pos::PixelConfigBase::writeXML | ( | std::ofstream * | out, |
std::ofstream * | out1, | ||
std::ofstream * | out2 | ||
) | const [inline, virtual] |
Reimplemented in pos::PixelCalibConfiguration, pos::PixelDACSettings, pos::PixelDelay25Calib, pos::PixelDetectorConfig, pos::PixelFECConfig, pos::PixelFEDCard, pos::PixelFEDConfig, pos::PixelGlobalDelay25, pos::PixelLowVoltageMap, pos::PixelLTCConfig, pos::PixelMaskAllPixels, pos::PixelMaskBase, pos::PixelMaxVsf, pos::PixelNameTranslation, pos::PixelPortCardConfig, pos::PixelPortcardMap, pos::PixelTBMSettings, pos::PixelTKFECConfig, pos::PixelTrimAllPixels, pos::PixelTrimBase, and pos::PixelTTCciConfig.
Definition at line 61 of file PixelConfigBase.h.
{;}
virtual void pos::PixelConfigBase::writeXMLHeader | ( | pos::PixelConfigKey | key, |
int | version, | ||
std::string | path, | ||
std::ofstream * | out | ||
) | const [inline, virtual] |
Reimplemented in pos::PixelFEDCard, pos::PixelMaskAllPixels, and pos::PixelTrimCommon.
Definition at line 68 of file PixelConfigBase.h.
{;}
virtual void pos::PixelConfigBase::writeXMLHeader | ( | pos::PixelConfigKey | key, |
int | version, | ||
std::string | path, | ||
std::ofstream * | out, | ||
std::ofstream * | out1, | ||
std::ofstream * | out2 | ||
) | const [inline, virtual] |
Reimplemented in pos::PixelCalibConfiguration, pos::PixelDACSettings, pos::PixelDelay25Calib, pos::PixelDetectorConfig, pos::PixelFECConfig, pos::PixelFEDCard, pos::PixelFEDConfig, pos::PixelGlobalDelay25, pos::PixelLowVoltageMap, pos::PixelLTCConfig, pos::PixelMaskAllPixels, pos::PixelMaskBase, pos::PixelMaxVsf, pos::PixelNameTranslation, pos::PixelPortCardConfig, pos::PixelPortcardMap, pos::PixelTBMSettings, pos::PixelTKFECConfig, pos::PixelTrimAllPixels, pos::PixelTrimBase, and pos::PixelTTCciConfig.
Definition at line 55 of file PixelConfigBase.h.
{;}
virtual void pos::PixelConfigBase::writeXMLTrailer | ( | std::ofstream * | out | ) | const [inline, virtual] |
Reimplemented in pos::PixelFEDCard, pos::PixelMaskAllPixels, and pos::PixelTrimCommon.
Definition at line 70 of file PixelConfigBase.h.
{;}
virtual void pos::PixelConfigBase::writeXMLTrailer | ( | std::ofstream * | out, |
std::ofstream * | ou1, | ||
std::ofstream * | out2 | ||
) | const [inline, virtual] |
Reimplemented in pos::PixelCalibConfiguration, pos::PixelDACSettings, pos::PixelDelay25Calib, pos::PixelDetectorConfig, pos::PixelFECConfig, pos::PixelFEDCard, pos::PixelFEDConfig, pos::PixelGlobalDelay25, pos::PixelLowVoltageMap, pos::PixelLTCConfig, pos::PixelMaskAllPixels, pos::PixelMaskBase, pos::PixelMaxVsf, pos::PixelNameTranslation, pos::PixelPortCardConfig, pos::PixelPortcardMap, pos::PixelTBMSettings, pos::PixelTKFECConfig, pos::PixelTrimAllPixels, pos::PixelTrimBase, and pos::PixelTTCciConfig.
Definition at line 64 of file PixelConfigBase.h.
{;}
std::string pos::PixelConfigBase::comment_ [private] |
Definition at line 82 of file PixelConfigBase.h.
Referenced by getComment(), and setComment().
std::string pos::PixelConfigBase::creator_ [private] |
Definition at line 80 of file PixelConfigBase.h.
Referenced by getAuthor(), and setAuthor().
std::string pos::PixelConfigBase::date_ [private] |
Definition at line 81 of file PixelConfigBase.h.
std::string pos::PixelConfigBase::description_ [private] |
Definition at line 79 of file PixelConfigBase.h.