pxar
 All Classes Namespaces Functions Variables Typedefs Friends
PixTestIV.hh
1 #ifndef PIXTESTIV_H
2 #define PIXTESTIV_H
3 
4 #include <vector>
5 
6 #include "TTimeStamp.h"
7 
8 #include "PixTest.hh"
9 
10 class DLLEXPORT PixTestIV: public PixTest {
11 public:
12  PixTestIV(PixSetup *, std::string);
13  PixTestIV();
14  virtual ~PixTestIV();
15  virtual bool setParameter(std::string parName, std::string sval);
16  void init();
17  void bookHist(std::string);
18  void doTest();
19  void stop();
20 
21 private:
22  void writeOutput(std::vector<double> &voltageMeasurements,
23  std::vector<double> &currentMeasurements,
24  std::vector<TTimeStamp> &timeStamps,
25  bool aborted);
26 
27  double fParVoltageStart; //volts
28  double fParVoltageStop; //volts
29  double fParVoltageStep; //volts
30  double fParDelay; //seconds
31  double fParCompliance; //uA
32  bool fStop;
33  std::string fParPort;
34 
35  ClassDef(PixTestIV, 1)
36 
37 };
38 #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 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