Go to the documentation of this file. 1 #ifndef PixelPortCardConfig_h
2 #define PixelPortCardConfig_h
38 std::ofstream *
out1 =
nullptr,
39 std::ofstream *
out2 =
nullptr)
const override;
40 void writeXML(std::ofstream *
out, std::ofstream *
out1 =
nullptr, std::ofstream *
out2 =
nullptr)
const override;
42 std::ofstream *
out1 =
nullptr,
43 std::ofstream *
out2 =
nullptr)
const override;
72 unsigned int getAOHGain(
unsigned int AOHNumber)
const;
96 std::vector<std::pair<unsigned int, unsigned int> >
device_;
100 std::vector<unsigned int>
key_;
106 std::map<std::string, unsigned int>
unsigned int getdeviceAddress(unsigned int i) const
bool containsSetting(std::string settingName) const
std::map< std::string, std::string > nameDBtoFileConversion_
This is the documentation about PixelNameTranslation...
unsigned int getccuAddress() const
std::string portcardname_
PixelPortCardConfig(std::vector< std::vector< std::string > > &tableMat)
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
const std::string & getPortCardName() const
void fillDBToFileAddress()
std::map< std::string, unsigned int > nameToAddress_
unsigned int ringAddress_
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
This file contains the base class for "pixel configuration data" management.
std::string AOHGainStringFromAOHNumber(unsigned int AOHNumber) const
void setAOHGain(unsigned int AOHNumber, unsigned int value)
void setPortCardName(std::string newName)
std::string gettype() const
unsigned int getdeviceValuesForAddress(unsigned int address) const
unsigned int getdevicesize() const
void writeASCII(std::string dir="") const override
This file contains the base class for "pixel configuration data" management.
unsigned int new_PLL_CTR2_value(std::string CTR4or5, unsigned int last_CTR2) const
unsigned int getchannelAddress() const
std::vector< std::pair< unsigned int, unsigned int > > device_
unsigned int getAOHGain(unsigned int AOHNumber) const
unsigned int channelAddress_
void setDataBaseAOHGain(std::string settingName, unsigned int value)
unsigned int getdeviceValues(unsigned int i) const
void setdeviceValues(unsigned int address, unsigned int value)
unsigned int AOHBiasAddressFromAOHNumber(unsigned int AOHNumber) const
unsigned int getdeviceValuesForSetting(std::string settingName) const
unsigned int getringAddress() const
unsigned int getdeviceAddressForSetting(std::string settingName) const
unsigned int AOHGainAddressFromAOHNumber(unsigned int AOHNumber) const
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
unsigned int getAOHBias(unsigned int AOHNumber) const
std::string getTKFECID() const
unsigned int geti2cSpeed() const
bool containsDeviceAddress(unsigned int deviceAddress) const
std::vector< unsigned int > key_
key used for sorting device_