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

Last change on this file since 4906 was 4836, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.1 KB
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
35 Bool_t DoFit(Double_t &, Bool_t);
36 Bool_t DoFit(Double_t &d) { return DoFit(d, kFALSE); }
37 void DoFit() { Double_t d; DoFit(d, kTRUE); }
38
39public:
40 MHAlpha(const char *name=NULL, const char *title=NULL);
41
42 Bool_t SetupFill(const MParList *pl);
43 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
44 Bool_t Finalize();
45
46 void Paint(Option_t *opt="");
47 void Draw(Option_t *option="");
48
49 void InitMapping(MHMatrix *mat);
50 void StopMapping();
51
52 ClassDef(MHAlpha, 1) // Alpha-Plot which is fitted online
53};
54
55#endif
Note: See TracBrowser for help on using the repository browser.