Line | |
---|
1 | #ifndef MARS_MFHadAlpha
|
---|
2 | #define MARS_MFHadAlpha
|
---|
3 |
|
---|
4 | #ifndef MARS_MFilter
|
---|
5 | #include "MFilter.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef ROOT_TString
|
---|
9 | #include "TString.h"
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | class MParList;
|
---|
13 | class MHadAlphaCut;
|
---|
14 | class MHadronness;
|
---|
15 | class MHillas;
|
---|
16 | class MHillasSrc;
|
---|
17 | class MPointingPos;
|
---|
18 | class MEnergyEst;
|
---|
19 |
|
---|
20 | class MFHadAlpha : public MFilter
|
---|
21 | {
|
---|
22 |
|
---|
23 | public:
|
---|
24 |
|
---|
25 | typedef enum { kHadCut, kAlphaCut, kHadAlphaCut } FilterType_t;
|
---|
26 | FilterType_t fFilterType;
|
---|
27 |
|
---|
28 | private:
|
---|
29 |
|
---|
30 | MHadronness* fHadronness;
|
---|
31 | MHillas* fHillas;
|
---|
32 | MHillasSrc* fHillasSrc;
|
---|
33 | MHadAlphaCut* fHadAlphaCut;
|
---|
34 | MPointingPos* fPointingPos;
|
---|
35 | MEnergyEst* fEnergyEst;
|
---|
36 |
|
---|
37 | TString fFileName;
|
---|
38 |
|
---|
39 | Bool_t fResult; //!
|
---|
40 |
|
---|
41 | Int_t PreProcess(MParList *pList);
|
---|
42 | Int_t Process();
|
---|
43 |
|
---|
44 | public:
|
---|
45 |
|
---|
46 | MFHadAlpha( const char *name=NULL, const char *title=NULL);
|
---|
47 |
|
---|
48 | Bool_t IsExpressionTrue() const { return fResult; }
|
---|
49 |
|
---|
50 | void SetInputCutsFile(const char* fname) { fFileName = fname; }
|
---|
51 |
|
---|
52 | void SetCutType(FilterType_t type) { fFilterType = type; }
|
---|
53 |
|
---|
54 | ClassDef(MFHadAlpha, 1) // A Filter for cuts in fabs(alpha)
|
---|
55 | };
|
---|
56 |
|
---|
57 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.