| Line | |
|---|
| 1 | #ifndef MARS_MEnergyEstParam
|
|---|
| 2 | #define MARS_MEnergyEstParam
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MTask
|
|---|
| 5 | #include "MTask.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | #ifndef ROOT_TArrayD
|
|---|
| 9 | #include <TArrayD.h>
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 | class MHillasSrc;
|
|---|
| 13 | class MEnergyEst;
|
|---|
| 14 | class MHillas;
|
|---|
| 15 | class MMcEvt;
|
|---|
| 16 | class MHMatrix;
|
|---|
| 17 |
|
|---|
| 18 | class MEnergyEstParam : public MTask
|
|---|
| 19 | {
|
|---|
| 20 | private:
|
|---|
| 21 | Int_t fMap[100];
|
|---|
| 22 |
|
|---|
| 23 | MHMatrix *fMatrix;
|
|---|
| 24 |
|
|---|
| 25 | TList *fPairs;
|
|---|
| 26 |
|
|---|
| 27 | TList *fHillasSrc;
|
|---|
| 28 | TList *fEnergy;
|
|---|
| 29 |
|
|---|
| 30 | MHillas *fHillas;
|
|---|
| 31 | TString fHillasName;
|
|---|
| 32 |
|
|---|
| 33 | TArrayD fA;
|
|---|
| 34 | TArrayD fB;
|
|---|
| 35 |
|
|---|
| 36 | MMcEvt *fMc;
|
|---|
| 37 |
|
|---|
| 38 | void InitCoefficients();
|
|---|
| 39 |
|
|---|
| 40 | Double_t GetVal(Int_t i) const;
|
|---|
| 41 |
|
|---|
| 42 | public:
|
|---|
| 43 | MEnergyEstParam(const char *hil="MHillas", const char *name=NULL, const char *title=NULL);
|
|---|
| 44 | ~MEnergyEstParam();
|
|---|
| 45 |
|
|---|
| 46 | Bool_t PreProcess(MParList *plist);
|
|---|
| 47 | Bool_t Process();
|
|---|
| 48 |
|
|---|
| 49 | void Add(const TString hillas, const TString energy);
|
|---|
| 50 |
|
|---|
| 51 | void InitMapping(MHMatrix *mat);
|
|---|
| 52 |
|
|---|
| 53 | void SetCoeffA(TArrayD arr);
|
|---|
| 54 | void SetCoeffB(TArrayD arr);
|
|---|
| 55 |
|
|---|
| 56 | ClassDef(MEnergyEstParam, 0) // Task to estimate the energy
|
|---|
| 57 | };
|
|---|
| 58 |
|
|---|
| 59 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.