pxar
 All Classes Namespaces Functions Variables Typedefs Friends
PixTestPattern.hh
1 #ifndef PixTestPattern_H
2 #define PixTestPattern_H
3 
4 #include "PixTest.hh"
5 #include "PixUtil.hh"
6 #include "ConfigParameters.hh"
7 
8 class DLLEXPORT PixTestPattern : public PixTest {
9 public:
10  PixTestPattern(PixSetup *, std::string);
12  virtual ~PixTestPattern();
13 
14  virtual bool setParameter(std::string parName, std::string sval);
15  void init();
16  void setToolTips();
17  void doTest();
18 
19  void stop();
20  void runCommand(std::string);
21  bool setPattern(std::string);
22  bool setPixels(std::string, std::string);
23  void FillHistos(std::vector<pxar::Event> , std::vector<TH2D*> , std::vector<TProfile2D*> , std::vector<TH1D*> );
24  void PrintEvents(int, int, std::string, std::vector<TH2D*> , std::vector<TProfile2D*> , std::vector<TH1D*> );
25  void TriggerLoop(int , std::vector<TH2D*> , std::vector<TProfile2D*> , std::vector<TH1D*> );
26  void pgToDefault();
27  void FinalCleaning();
28 
29 private:
30 
31  int fParPgCycles;
32  int fParTrigLoop;
33  int fParPeriod;
34  int fParSeconds;
35  bool fPatternFromFile;
36  bool fResultsOnFile;
37  bool fBinOut;
38  std::string fInputFile;
39  std::string fOutputFile;
40  bool fUnMaskAll;
41  bool fExtClk;
42  bool fParFillTree;
43 
44  bool fParOutOfRange;
45  bool fDaq_loop;
46  std::string f_Directory;
47  std::vector<std::pair<std::string, uint8_t> > fPg_setup;
48  std::vector<std::pair<int, int> > fPIXm;
49  uint16_t fPeriod;
50  int fCheckFreq;
51  int fNpix;
52 
53  ClassDef(PixTestPattern, 1)
54 
55 };
56 #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 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