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>
std::string AOHGainStringFromAOHNumber(unsigned int AOHNumber) const
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
This file contains the base class for "pixel configuration data" management.
unsigned int getdeviceAddress(unsigned int i) const
unsigned int AOHGainAddressFromAOHNumber(unsigned int AOHNumber) const
unsigned int getccuAddress() const
std::string portcardname_
const std::string & getPortCardName() const
unsigned int geti2cSpeed() const
std::map< std::string, unsigned int > nameToAddress_
void writeASCII(std::string dir="") const override
std::map< std::string, std::string > nameDBtoFileConversion_
unsigned int getAOHGain(unsigned int AOHNumber) const
unsigned int getdeviceValuesForAddress(unsigned int address) const
unsigned int ringAddress_
PixelPortCardConfig(std::vector< std::vector< std::string > > &tableMat)
unsigned int channelAddress_
bool containsSetting(std::string settingName) const
unsigned int getdevicesize() const
void setDataBaseAOHGain(std::string settingName, unsigned int value)
This file contains the base class for "pixel configuration data" management.
std::string gettype() const
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
unsigned int getdeviceValues(unsigned int i) const
unsigned int getchannelAddress() const
void fillDBToFileAddress()
unsigned int new_PLL_CTR2_value(std::string CTR4or5, unsigned int last_CTR2) const
key
prepare the HTCondor submission files and eventually submit them
unsigned int getringAddress() const
void setdeviceValues(unsigned int address, unsigned int value)
void setPortCardName(std::string newName)
unsigned int getAOHBias(unsigned int AOHNumber) const
This is the documentation about PixelNameTranslation...
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
std::vector< std::pair< unsigned int, unsigned int > > device_
unsigned int AOHBiasAddressFromAOHNumber(unsigned int AOHNumber) const
unsigned int getdeviceAddressForSetting(std::string settingName) const
std::vector< unsigned int > key_
key used for sorting device_
unsigned int getdeviceValuesForSetting(std::string settingName) const
std::string getTKFECID() const
void setAOHGain(unsigned int AOHNumber, unsigned int value)
bool containsDeviceAddress(unsigned int deviceAddress) const