source: trunk/MagicSoft/Mars/mhist/MHAlpha.h@ 4021

Last change on this file since 4021 was 3779, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1021 bytes
Line 
1#ifndef MARS_MHAlpha
2#define MARS_MHAlpha
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8#ifndef ROOT_TH1
9#include <TH1.h>
10#endif
11
12class MParList;
13class MParameterD;
14class MHMatrix;
15
16class MHAlpha : public MH
17{
18private:
19 Float_t fAlphaCut; // Alpha cut
20 Float_t fBgMean; // Background mean
21
22 Float_t fSigInt;
23 Float_t fSigMax;
24 Float_t fBgMin;
25 Float_t fBgMax;
26 Int_t fPolynom;
27
28 TH1D fHist; // Alpha vs. x and y
29
30 MParameterD *fResult;
31
32 MHMatrix *fMatrix; //!
33 Int_t fMap; //!
34
35public:
36 MHAlpha(const char *name=NULL, const char *title=NULL);
37
38 Bool_t SetupFill(const MParList *pl);
39 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
40 Bool_t Finalize();
41
42 void Paint(Option_t *opt="");
43 void Draw(Option_t *option="");
44
45 void InitMapping(MHMatrix *mat);
46 void StopMapping();
47
48 static Double_t Significance(Double_t s, Double_t b);
49
50 ClassDef(MHAlpha, 1) // Alpha-Plot which is fitted online
51};
52
53#endif
Note: See TracBrowser for help on using the repository browser.