pxar
 All Classes Namespaces Functions Variables Typedefs Friends
PixTestBBMap.hh
1 #ifndef PIXTESTBBMAP_H
2 #define PIXTESTBBMAP_H
3 
4 #include "PixTest.hh"
5 
6 #include <TH1.h>
7 #include <TSpectrum.h>
8 
9 class DLLEXPORT PixTestBBMap: public PixTest {
10 public:
11  PixTestBBMap(PixSetup *, std::string);
12  PixTestBBMap();
13  virtual ~PixTestBBMap();
14  virtual bool setParameter(std::string parName, std::string sval);
15  void init();
16  void setToolTips();
17 
18  void doTest();
19  int fitPeaks(TH1D *h, TSpectrum &s, int npeaks);
20 
21 private:
22  int fParNtrig;
23  int fParVcalS;
24  int fDumpAll, fDumpProblematic;
25  ClassDef(PixTestBBMap, 1);
26 
27 };
28 #endif
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