source: trunk/MagicSoft/Mars/manalysis/MEnergyEstParam.h@ 1547

Last change on this file since 1547 was 1525, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1013 bytes
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
12class MHillasSrc;
13class MEnergyEst;
14class MHillas;
15class MMcEvt;
16class MHMatrix;
17
18class MEnergyEstParam : public MTask
19{
20private:
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
42public:
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.