| 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 |  | 
|---|
| 10 | class MParList; | 
|---|
| 11 | class MMcEvt; | 
|---|
| 12 | class MMcEvtBasic; | 
|---|
| 13 | class MEnergyEst; | 
|---|
| 14 | class MBinning; | 
|---|
| 15 | class MHMcUnfoldCoeff; | 
|---|
| 16 |  | 
|---|
| 17 | class 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.