1 #ifndef PIXELFECCONFIGINTERFACE_H
2 #define PIXELFECCONFIGINTERFACE_H
33 const std::vector<unsigned char>& allPixels,
34 const bool buffermode =
false) = 0;
37 unsigned char maskAndTrim,
38 const bool buffermode =
false) = 0;
48 const std::vector<unsigned int>& dacs,
49 const bool buffermode =
false) = 0;
56 const std::vector<unsigned char>& allPixels) = 0;
58 virtual int rocinit(
int mfec,
int fecchannel,
int hubaddress,
int portaddress,
int rocid,
int mask,
int trim) = 0;
60 virtual int injectrstroc(
const int mfec,
const int bitstate) = 0;
61 virtual int injecttrigger(
const int mfec,
const int bitstate) = 0;
62 virtual int injectrsttbm(
const int mfec,
const int bitstate) = 0;
63 virtual int injectrstcsr(
const int mfec,
const int bitstate) = 0;
67 virtual int loopcaltrigger(
const int mfec,
const int bitstate) = 0;
79 bool buffermode =
false) = 0;
82 int mfec,
int fecchannel,
int hubaddress,
int portaddress,
int rocid,
bool buffermode =
false) = 0;
84 virtual int calpix(
int mfec,
92 bool buffermode =
false) = 0;
94 virtual int tbmcmd(
int mfec,
110 bool buffermode =
false) = 0;
122 bool buffermode =
false) = 0;
131 unsigned char databyte,
132 bool buffermode =
false) = 0;
136 virtual void fecDebug(
int newstate) = 0;
154 virtual int rocreset(
int mfec,
int fecchannel,
int tbmchannel,
int hubaddress) = 0;
virtual int tbmcmd(int mfec, int fecchannel, int tbmchannel, int hubaddress, int portaddress, int offset, int databyte, int direction)=0
virtual int loopcaltrigger(const int mfec, const int bitstate)=0
virtual int clrcal(int mfec, int fecchannel, int hubaddress, int portaddress, int rocid, bool buffermode=false)=0
virtual void setMaskAndTrimAll(const PixelHdwAddress &theROC, const std::vector< unsigned char > &allPixels, const bool buffermode=false)=0
virtual int delay25Test(int mymfec, int myfecchannel, int myhubaddress, int mytbmchannel, int myportaddress, int myrocid, int mymask, int mytrim, int nTry, int commands, int &success0, int &success1, int &success2, int &success3, int &success4)=0
virtual int progdac(int mfec, int fecchannel, int hubaddress, int portaddress, int rocid, int dacaddress, int dacvalue, bool buffermode=false)=0
virtual int enablecallatency(const int mfec, const int bitstate)=0
virtual int injectrstcsr(const int mfec, const int bitstate)=0
virtual int calpix(int mfec, int mfecchannel, int hubaddress, int portaddress, int rocid, int coladdr, int rowaddress, int caldata, bool buffermode=false)=0
static void trim(std::string &s)
Store mfec, mfecchannel etc.
virtual int dcolenable(int mfec, int mfecchannel, int hubaddress, int portaddress, int rocid, int dcol, int dcolstate, bool buffermode=false)=0
virtual int rocreset(int mfec, int fecchannel, int tbmchannel, int hubaddress)=0
virtual int injecttrigger(const int mfec, const int bitstate)=0
virtual int roctrimload(int mfec, int fecchannel, int hubaddress, int portaddress, int rocid, const std::vector< unsigned char > &allPixels)=0
PixelFECConfigInterface()
virtual int disableexttrigger(const int mfec, const int bitstate)=0
virtual ~PixelFECConfigInterface()
Store mfec, mfecchannel etc.
virtual int injectrstroc(const int mfec, const int bitstate)=0
virtual void fecDebug(int newstate)=0
virtual int qbufsend(void)=0
virtual int progpix(int mfec, int mfecchannel, int hubaddress, int portaddress, int rocid, int coladdr, int rowaddress, unsigned char databyte, bool buffermode=false)=0
virtual int progpix1(int mfec, int mfecchannel, int hubaddress, int portaddress, int rocid, int coladdr, int rowaddress, int mask, int trim, bool buffermode=false)=0
virtual int getversion(const int mfec, unsigned long *data)=0
virtual int rocinit(int mfec, int fecchannel, int hubaddress, int portaddress, int rocid, int mask, int trim)=0
char data[epos_bytes_allocation]
virtual void setDcolEnableAll(const PixelHdwAddress &theROC, unsigned char maskAndTrim, const bool buffermode=false)=0
virtual int callatencycount(const int mfec, const int latency)=0
virtual void setAllDAC(const PixelHdwAddress &theROC, const std::vector< unsigned int > &dacs, const bool buffermode=false)=0
virtual int injectrsttbm(const int mfec, const int bitstate)=0
virtual int loopnormtrigger(const int mfec, const int bitstate)=0