source: trunk/MagicSoft/Mars/mmontecarlo/MMcUnfoldCoeffCalc.h@ 9474

Last change on this file since 9474 was 6549, checked in by rico, 20 years ago
*** empty log message ***
File size: 1004 bytes
Line 
1#ifndef MARS_MMcUnfoldCoeffCalc
2#define MARS_MMcUnfoldCoeffCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8#include <TH2.h>
9
10class MParList;
11class MMcEvt;
12class MMcEvtBasic;
13class MEnergyEst;
14class MBinning;
15class MHMcUnfoldCoeff;
16
17class MMcUnfoldCoeffCalc : public MTask
18{
19 private:
20 const MMcEvt* fMcEvt;
21 const MMcEvtBasic* fMcEvtBasic;
22 const MEnergyEst* fEnergyEst;
23
24 MBinning* fBinsTheta; // coarse zenith angle binning
25 MBinning* fBinsEnergy; // coarse energy binning
26
27 TF1* fSpectrum; // Tentative energy spectrum.
28
29 MHMcUnfoldCoeff* fUnfoldCoeff; // container holding coefficients histogram
30
31 TString fObjName;
32
33 Int_t PreProcess(MParList *pList);
34 Int_t Process();
35 Int_t PostProcess();
36
37 public:
38 MMcUnfoldCoeffCalc(const char *name = NULL, const char *title = NULL);
39
40 void SetSpectrum(TF1 *f) { fSpectrum = f; }
41
42 ClassDef(MMcUnfoldCoeffCalc, 0) // Task to calculate the coefficients for unfolding
43};
44
45#endif
46
Note: See TracBrowser for help on using the repository browser.