1 #ifndef PIXTESTREADBACK_H
2 #define PIXTESTREADBACK_H
5 #include "PHCalibration.hh"
9 #include <TProfile2D.h>
22 virtual bool setParameter(std::string parName, std::string sval);
23 bool setTrgFrequency(uint8_t TrgTkDel);
26 void ProcessData(uint16_t numevents = 1000);
28 std::vector<uint8_t> daqReadback(std::string dac, uint8_t vana, int8_t parReadback);
29 std::vector<uint8_t> daqReadback(std::string dac, uint8_t vana,
unsigned int roc, int8_t parReadback);
30 std::vector<uint8_t> daqReadback(std::string dac,
double vana, int8_t parReadback);
31 std::vector<uint8_t> daqReadbackIa();
36 std::vector<double> getCalibratedVbg();
39 std::vector<double> getCalibratedIa();
40 double getCalibratedIa(
unsigned int roc);
53 uint16_t fParTriggerFrequency;
61 std::vector<double> fPar0VdCal;
62 std::vector<double> fPar1VdCal;
63 std::vector<double> fPar0VaCal;
64 std::vector<double> fPar1VaCal;
65 std::vector<double> fPar0RbIaCal;
66 std::vector<double> fPar1RbIaCal;
67 std::vector<double> fPar0TbIaCal;
68 std::vector<double> fPar1TbIaCal;
69 std::vector<double> fPar2TbIaCal;
71 std::vector<std::vector<std::pair<std::string, double> > > fRbCal;
76 std::vector<double> fRbVbg;
80 std::vector<std::pair<std::string, uint8_t> > fPg_setup;
82 std::vector<TH2D*> fHits;
83 std::vector<TProfile2D*> fPhmap;
84 std::vector<TH1D*> fPh;
85 std::vector<TH1D*> fQ;
86 std::vector<TProfile2D*> fQmap;
virtual void runCommand(std::string command)
allow execution of any button in the test
virtual void doTest()
function connected to "DoTest" button of PixTab
void bookHist(std::string name)
use if you want, or define the histograms in the specific member functions
virtual void setToolTips()
implement this to provide updated tool tips if the user changes test parameters
virtual bool setParameter(std::string parName, std::string sval)
set the string value of a parameter
void init()
sets all test parameters