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

Last change on this file since 2037 was 2030, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.9 KB
Line 
1#ifndef MARS_MCT1SupercutsCalc
2#define MARS_MCT1SupercutsCalc
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MCT1SupercutsCalc //
7// //
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef MARS_MFilter
11#include "MFilter.h"
12#endif
13
14class MParList;
15class MHillas;
16class MHillasSrc;
17class MMcEvt;
18class MCerPhotEvt;
19class MGeomCam;
20class MHadronness;
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
31 TString fHadronnessName; // name of container to store hadronness
32 TString fHilName;
33 TString fHilSrcName;
34
35 Double_t fMm2Deg;
36
37 //---------------------------------
38 // cut parameters
39 Double_t fLengthUp[8];
40 Double_t fWidthUp[8];
41 Double_t fDistUp[8];
42 Double_t fLengthLo[8];
43 Double_t fWidthLo[8];
44 Double_t fDistLo[8];
45 Double_t fAsymUp[8];
46 Double_t fAsymLo[8];
47 Double_t fAlphaUp[8];
48 //---------------------------------
49
50 void InitParams();
51
52 Bool_t PreProcess(MParList *pList);
53 Bool_t Process();
54
55public:
56 MCT1SupercutsCalc(const char *hilname="MHillasExt",
57 const char *hilsrcname="MHillasSrc",
58 const char *name=NULL, const char *title=NULL);
59
60 Double_t CtsMCut(Double_t *a, Double_t ls, Double_t ct,
61 Double_t ls2, Double_t dd2);
62
63 void SetHadronnessName(const TString name) { fHadronnessName = name; }
64 TString GetHadronnessName() const { return fHadronnessName; }
65
66 ClassDef(MCT1SupercutsCalc, 0) // A class to evaluate the Supercuts
67};
68
69#endif
Note: See TracBrowser for help on using the repository browser.