source: trunk/MagicSoft/Mars/mtemp/mmpi/MUnfoldSpectrum.h@ 8551

Last change on this file since 8551 was 6452, checked in by rwagner, 20 years ago
*** empty log message ***
File size: 882 bytes
Line 
1#ifndef MARS_MUnfoldSpectrum
2#define MARS_MUnfoldSpectrum
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class TH1D;
9class TH2D;
10class TH3D;
11
12class MUnfoldSpectrum : public MTask
13{
14 public:
15 MUnfoldSpectrum();
16 ~MUnfoldSpectrum();
17
18 private:
19 TH2D *fToBeUnfolded;
20 TH2D *fUnfolded;
21 TH3D *fMigrationMatrix;
22 Short_t fUnfoldingMethod;
23 Short_t fPrior;
24 TH1D *fPriorRebinHist;
25 TH1D *fPriorInputHist;
26 Double_t fPriorPowerGamma;
27
28 public:
29 void Calc();
30 void SetDistToUnfold(TH2D* dist) { fToBeUnfolded = dist; }
31 void SetMigrationMatrix(TH3D* migm) { fMigrationMatrix = migm; }
32 TH2D* GetUnfDist() { return fUnfolded; }
33 void SetPriorConstant();
34 void SetPriorRebin(TH1D *ha);
35 void SetPriorInput(TH1D *hpr);
36 void SetPriorPower(Double_t gamma);
37 void SetUnfoldingMethod(Short_t method) { fUnfoldingMethod = method; }
38
39 ClassDef(MUnfoldSpectrum, 1)
40
41};
42
43#endif
Note: See TracBrowser for help on using the repository browser.