Line | |
---|
1 | #ifndef MARS_MJSpectrum
|
---|
2 | #define MARS_MJSpectrum
|
---|
3 |
|
---|
4 | #ifndef MARS_MJob
|
---|
5 | #include <MJob.h>
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TH1;
|
---|
9 | class TH1D;
|
---|
10 |
|
---|
11 | class MH3;
|
---|
12 | class MTask;
|
---|
13 | class MParList;
|
---|
14 | class MDataSet;
|
---|
15 | class MAlphaFitter;
|
---|
16 |
|
---|
17 | class MJSpectrum : public MJob
|
---|
18 | {
|
---|
19 | private:
|
---|
20 | MTask *fCut0;
|
---|
21 | MTask *fCut1;
|
---|
22 | MTask *fCut2;
|
---|
23 | MTask *fCut3;
|
---|
24 | MTask *fEstimateEnergy;
|
---|
25 |
|
---|
26 | Bool_t fRefill;
|
---|
27 | Bool_t fSimpleMode;
|
---|
28 |
|
---|
29 | Bool_t ReadTask(MTask* &task, const char *name) const;
|
---|
30 | Bool_t ReadInput(const MParList &plist);
|
---|
31 | void PrintSetup(const MAlphaFitter &fit) const;
|
---|
32 | Float_t ReadHistograms(TH1D &h1, TH1D &h2) const;
|
---|
33 | Bool_t ReadOrigMCDistribution(const MDataSet &set, TH1 &h) const;
|
---|
34 | Bool_t GetThetaDistribution(TH1D &temp1, TH1D &temp2) const;
|
---|
35 | void DisplayResult(const MH3 &mh1) const;
|
---|
36 | Bool_t Refill(MParList &plist, TH1D &h) const;
|
---|
37 |
|
---|
38 | public:
|
---|
39 | MJSpectrum(const char *name=NULL, const char *title=NULL);
|
---|
40 | ~MJSpectrum();
|
---|
41 |
|
---|
42 | Bool_t Process(const MDataSet &set);
|
---|
43 |
|
---|
44 | void EnableRefilling(Bool_t b=kTRUE) { fRefill=b; }
|
---|
45 | void EnableSimpleMode(Bool_t b=kTRUE) { fSimpleMode=b; }
|
---|
46 |
|
---|
47 | ClassDef(MJSpectrum, 0) // Proh'gram to calculate spectrum
|
---|
48 | };
|
---|
49 |
|
---|
50 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.