source: branches/Corsika7405Compatibility/manalysis/MSupercutsCalc.h@ 18481

Last change on this file since 18481 was 2663, checked in by wittek, 21 years ago
*** empty log message ***
File size: 1.7 KB
Line 
1#ifndef MARS_MSupercutsCalc
2#define MARS_MSupercutsCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8#ifndef ROOT_TArrayD
9#include <TArrayD.h>
10#endif
11
12class MParList;
13class MHillas;
14class MHillasSrc;
15class MHillasExt;
16class MNewImagePar;
17class MMcEvt;
18class MCerPhotEvt;
19class MGeomCam;
20class MHadronness;
21class MHMatrix;
22class MSupercuts;
23
24class MSupercutsCalc : public MTask
25{
26private:
27 MHillas *fHil;
28 MHillasSrc *fHilSrc;
29 MHillasExt *fHilExt;
30 MNewImagePar *fNewPar;
31 MMcEvt *fMcEvt;
32 MHadronness *fHadronness; //! output container for hadronness
33 MSupercuts *fSuper; // container for supercut parameters
34
35 TString fHadronnessName; // name of container to store hadronness
36 TString fHilName;
37 TString fHilSrcName;
38 TString fHilExtName;
39 TString fNewParName;
40 TString fSuperName; // name of container for supercut parameters
41
42 Double_t fMm2Deg; //!
43
44 Int_t fMap[11]; //!
45 MHMatrix *fMatrix; //!
46
47 Int_t PreProcess(MParList *pList);
48 Int_t Process();
49
50 Double_t GetVal(Int_t i) const;
51
52 Double_t CtsMCut(const Double_t* a, Double_t ls, Double_t ct,
53 Double_t ls2, Double_t dd2) const;
54
55public:
56 MSupercutsCalc(const char *hilname="MHillas",
57 const char *hilsrcname="MHillasSrc",
58 const char *name=NULL, const char *title=NULL);
59
60 void SetHadronnessName(const TString name) { fHadronnessName = name; }
61 TString GetHadronnessName() const { return fHadronnessName; }
62
63 void InitMapping(MHMatrix *mat);
64 void StopMapping() { InitMapping(NULL); }
65
66
67 ClassDef(MSupercutsCalc, 0) // A class to evaluate the Supercuts
68};
69
70#endif
71
72
73
74
75
76
77
78
79
80
81
82
Note: See TracBrowser for help on using the repository browser.