source: trunk/MagicSoft/Mars/manalysis/MCT1SupercutsCalc.h@ 2306

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