pxar
 All Classes Namespaces Functions Variables Typedefs Friends
PixTestThreshMap.hh
1 #ifndef PIXTESTTHRESH_H
2 #define PIXTESTTHRESH_H
3 
4 #include "PixTest.hh"
5 
6 #define ROCNUMROWS 80
7 #define ROCNUMCOLS 52
8 
9 class DLLEXPORT PixTestThreshMap: public PixTest {
10 public:
11  PixTestThreshMap(PixSetup *, std::string);
13  virtual ~PixTestThreshMap();
14  virtual bool setParameter(std::string parName, std::string sval);
15  void init();
16  void setToolTips();
17  void bookHist(std::string);
18 
19  void doTest();
20 
21 private:
22 
23  std::string fParDac;
24  uint8_t fParThresholdLevel;
25  uint16_t fParNtrig;
26  int fParLoDAC;
27  int fParHiDAC;
28  int fParStepSize;
29  bool fParRisingEdge;
30  bool fParCalS;
31 
32  std::map<int, int> id2idx; // map the ROC ID onto the index of the ROC
33 
34  ClassDef(PixTestThreshMap, 1)
35 
36 };
37 #endif
virtual void doTest()
function connected to "DoTest" button of PixTab
Definition: PixTest.cc:602
void bookHist(std::string name)
use if you want, or define the histograms in the specific member functions
Definition: PixTest.cc:93
virtual void setToolTips()
implement this to provide updated tool tips if the user changes test parameters
Definition: PixTest.cc:85
virtual bool setParameter(std::string parName, std::string sval)
set the string value of a parameter
Definition: PixTest.cc:433
void init()
sets all test parameters
Definition: PixTest.cc:62