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