pxar
 All Classes Namespaces Functions Variables Typedefs Friends
PixTestSetup.hh
1 // -- author: Martino Dall'Osso
2 #ifndef PixTestSetup_H
3 #define PixTestSetup_H
4 
5 #include "PixTest.hh"
6 
7 class DLLEXPORT PixTestSetup : public PixTest {
8 public:
9  PixTestSetup(PixSetup *, std::string);
10  PixTestSetup();
11  virtual ~PixTestSetup();
12  virtual bool setParameter(std::string parName, std::string sval);
13  void init();
14  void setToolTips();
15  void bookHist(std::string);
16  void runCommand(std::string);
17 
18  void doTest();
19  void saveTbParameters();
20  std::vector<std::pair<std::string,uint8_t> > getMagicDelays(uint8_t , uint8_t);
21 
22 private:
23 
24  int fClkMax;
25  int fDeserMax;
26  int fParCals;
27  bool ParOutOfRange;
28  std::vector<std::pair<std::string, uint8_t> > sig_delays;
29 
30 
31  ClassDef(PixTestSetup, 1)
32 
33 };
34 #endif
virtual void runCommand(std::string command)
allow execution of any button in the test
Definition: PixTest.cc:129
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
void saveTbParameters()
save TB parameters to file
Definition: PixTest.cc:1522
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