pxar
 All Classes Namespaces Functions Variables Typedefs Friends
PixTestSetTrim.hh
1 // -- author: Daniel Pitzl
2 #ifndef PIXTESTSETTRIM_H
3 #define PIXTESTSETTRIM_H
4 
5 #include "PixTest.hh"
6 
7 class DLLEXPORT PixTestSetTrim: public PixTest {
8 public:
9  PixTestSetTrim(PixSetup *, std::string);
11  virtual ~PixTestSetTrim();
12  virtual bool setParameter(std::string parName, std::string sval);
13  void init();
14  void setToolTips();
15  void bookHist(std::string);
16  void RocThrMap( uint8_t roc, uint32_t nTrig,
17  bool xtalk, bool cals );
18  void printThrMap( uint8_t roc, int &nok );
19  void TrimStep( int roc, int target, int correction,
20  int nTrig, int xtalk, int cals );
21 
22  void doTest();
23 
24 private:
25 
26  uint8_t fParVcal; // target threshold
27  int fParNtrig;
28  uint8_t modthr[16][52][80];
29  uint8_t modtrm[16][52][80];
30 
31  uint8_t rocthr[52][80];
32  uint8_t roctrm[52][80];
33 
34  ClassDef(PixTestSetTrim, 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