1 #ifndef PIXELFECCONFIGINTERFACE_H
2 #define PIXELFECCONFIGINTERFACE_H
36 const std::vector<unsigned char>& allPixels,
37 const bool buffermode=
false)=0;
40 unsigned char maskAndTrim,
41 const bool buffermode=
false )=0;
51 const std::vector<unsigned int>& dacs,
52 const bool buffermode=
false) = 0;
55 int hubaddress,
int portaddress,
int rocid,
56 const std::vector<unsigned char>& allPixels)=0;
58 virtual int rocinit(
int mfec,
int fecchannel,
59 int hubaddress,
int portaddress,
int rocid,
60 int mask,
int trim)=0;
62 virtual int injectrstroc(
const int mfec,
const int bitstate)=0;
63 virtual int injecttrigger(
const int mfec,
const int bitstate)=0;
64 virtual int injectrsttbm(
const int mfec,
const int bitstate)=0;
65 virtual int injectrstcsr(
const int mfec,
const int bitstate)=0;
74 virtual int progdac(
int mfec,
int fecchannel,
75 int hubaddress,
int portaddress,
int rocid,
76 int dacaddress,
int dacvalue,
77 bool buffermode=
false)=0;
79 virtual int clrcal(
int mfec,
int fecchannel,
80 int hubaddress,
int portaddress,
int rocid,
81 bool buffermode=
false)=0;
84 virtual int calpix(
int mfec,
int mfecchannel,
int hubaddress,
87 int coladdr,
int rowaddress,
89 bool buffermode=
false)=0;
91 virtual int tbmcmd(
int mfec,
int fecchannel,
92 int tbmchannel,
int hubaddress,
int portaddress,
93 int offset,
int databyte,
int direction)=0;
96 virtual int dcolenable(
int mfec,
int mfecchannel,
97 int hubaddress,
int portaddress,
int rocid,
98 int dcol,
int dcolstate,
99 bool buffermode=
false)=0;
102 virtual int progpix1(
int mfec,
int mfecchannel,
int hubaddress,
int portaddress,
104 int coladdr,
int rowaddress,
105 int mask,
int trim,
bool buffermode=
false)=0;
107 virtual int progpix(
int mfec,
int mfecchannel,
int hubaddress,
int portaddress,
109 int coladdr,
int rowaddress,
110 unsigned char databyte,
bool buffermode=
false)=0;
114 virtual void fecDebug(
int newstate)=0;
133 virtual int rocreset(
int mfec,
int fecchannel,
134 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
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