pxar
 All Classes Namespaces Functions Variables Typedefs Friends
PixTestHighRate.hh
1 #ifndef PIXTESTHIGHRATE_H
2 #define PIXTESTHIGHRATE_H
3 
4 #include "PixTest.hh"
5 #include "PHCalibration.hh"
6 
7 #include <TProfile2D.h>
8 
9 
10 class DLLEXPORT PixTestHighRate: public PixTest {
11 public:
12  PixTestHighRate(PixSetup *, std::string);
14  virtual ~PixTestHighRate();
15  virtual bool setParameter(std::string parName, std::string sval);
16  void init();
17  void setToolTips();
18  void bookHist(std::string);
19 
20  void runCommand(std::string command);
21  void doTest();
22  void doCalDelScan();
23  void doXPixelAlive();
24  void doRunDaq();
25  void doRunMaskHotPixels();
26  void doStop();
27 
28  void doHitMap(int nseconds, std::vector<TH2D*>);
29  void fillMap(std::vector<TH2D*>);
30 
31 private:
32 
33  int fParTriggerFrequency;
34  int fParRunSeconds;
35  int fParTriggerDelay;
36  bool fParFillTree;
37  bool fParDelayTBM;
38  uint16_t fParNtrig;
39  int fParVcal;
40 
41  std::string fParMaskFileName;
42  int fParSaveMaskedPixels;
43 
44  bool fPhCalOK;
45  PHCalibration fPhCal;
46 
47  bool fDaq_loop;
48 
49  std::vector<TH2D*> fHitMap;
50 
51  ClassDef(PixTestHighRate, 1)
52 
53 };
54 #endif
void fillMap(TH2D *hmod, TH2D *hroc, int iroc)
provides the coordinate transformation to module map
Definition: PixTest.cc:818
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
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