source: trunk/MagicSoft/Mars/manalysis/MSelStandard.h@ 1889

Last change on this file since 1889 was 1888, checked in by wittek, 22 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 2.0 KB
Line 
1#ifndef MARS_MSelStandard
2#define MARS_MSelStandard
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MSelStandard //
7// //
8// Task to evaluate standard cuts //
9// //
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef MARS_MTask
13#include "MTask.h"
14#endif
15
16class MGeomCam;
17class MCerPhotEvt;
18class MHillas;
19class MHillasSrc;
20class MMcEvt;
21
22class MSelStandard : public MTask
23{
24private:
25 MGeomCam *fCam; // Camera Geometry
26 MCerPhotEvt *fEvt; // Cerenkov Photon Event
27 MMcEvt *fMcEvt;
28 MHillas *fHil;
29 MHillasSrc *fHilSrc;
30
31 Double_t fMm2Deg; // conversion mm to degrees in camera
32 Int_t fCut[5];
33 TString fHilName;
34 TString fHilSrcName;
35
36 Float_t fUsedPixelsMax;
37 Float_t fCorePixelsMin;
38 Float_t fSizeMin;
39 Float_t fDistMin;
40 Float_t fDistMax;
41 Float_t fLengthMin;
42 Float_t fWidthMin;
43
44public:
45 MSelStandard(const char *HilName="MHillas", const char *HilSrcName="MHillasSrc",
46 const char *name=NULL, const char *title=NULL);
47
48 Bool_t PreProcess(MParList *pList);
49 Bool_t Process();
50 Bool_t PostProcess();
51
52 void SetCuts(Float_t usedpixelsmax, Float_t corepixelsmin,
53 Float_t sizemin, Float_t distmin, Float_t distmax,
54 Float_t lengthmin, Float_t widthmin)
55 { fUsedPixelsMax = usedpixelsmax; fCorePixelsMin = corepixelsmin;
56 fSizeMin = sizemin; fDistMin = distmin; fDistMax = distmax;
57 fLengthMin = lengthmin; fWidthMin = widthmin; }
58
59 ClassDef(MSelStandard, 0) // Task to evaluate standard cuts
60};
61
62#endif
63
64
65
66
67
68
69
70
71
72
73
Note: See TracBrowser for help on using the repository browser.