pxar
 All Classes Namespaces Functions Variables Typedefs Friends
PixTestGainPedestal.hh
1 #ifndef PIXTESTGAINPEDESTAL_H
2 #define PIXTESTGAINPEDESTAL_H
3 
4 #include "PixTest.hh"
5 #include "shist256.hh"
6 
7 class DLLEXPORT PixTestGainPedestal: public PixTest {
8 public:
9  PixTestGainPedestal(PixSetup *, std::string);
11  virtual ~PixTestGainPedestal();
12  virtual bool setParameter(std::string parName, std::string sval);
13  void init();
14  void setToolTips();
15  void bookHist(std::string);
16 
17  void runCommand(std::string command);
18 
19  void measure();
20  void printHistograms();
21  void fit();
22  void saveGainPedestalParameters();
23 
24  void doTest();
25  void fullTest();
26 
27 private:
28 
29  int fParNtrig, fParShowFits, fParExtended, fParDumpHists;
30 
31  std::vector<shist256*> fHists;
32  std::vector<int> fLpoints, fHpoints;
33 
34  ClassDef(PixTestGainPedestal, 1)
35 
36 };
37 #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
virtual void fullTest()
function called when FullTest is running; most often this is simply calling doTest() ...
Definition: PixTest.cc:607
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