source: tags/Mars-V0.9/mflux/MFHadAlpha.h

Last change on this file was 6605, checked in by marcos, 20 years ago
*** empty log message ***
File size: 1.0 KB
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
12class MParList;
13class MHadAlphaCut;
14class MHadronness;
15class MHillas;
16class MHillasSrc;
17class MPointingPos;
18class MEnergyEst;
19
20class 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
44public:
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.