source: trunk/MagicSoft/Mars/mfilter/MFGeomag.h@ 2753

Last change on this file since 2753 was 2510, checked in by rkb, 21 years ago
*** empty log message ***
File size: 1.4 KB
Line 
1#ifndef MARS_MFGeomag
2#define MARS_MFGeomag
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MFGeomag //
7// //
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef MARS_MFilter
11#include "MFilter.h"
12#endif
13
14class MMcEvt;
15class MParList;
16
17class MFGeomag : public MFilter
18{
19private:
20 MMcEvt *fMcEvt;
21 TString fContName;
22
23 typedef enum { kEEqual, kENotEqual } FilterType_t;
24 FilterType_t fFilterType;
25
26 Bool_t fResult; //!
27 Bool_t fGamm_elec; // switches gammas to electrons
28 //
29 Float_t fRigMin[2*1152]; //tables to contain cut limits
30 Float_t fRigMax[2*1152];
31 Float_t fProb [2*1152];
32
33 void Init(const char type, const Int_t val,
34 const char *name, const char *title);
35
36
37 Int_t PreProcess(MParList *pList);
38 Int_t Process();
39
40public:
41 MFGeomag(const char *cname="MMcEvt", const char type='=', const Int_t val=0,
42 const char *name=NULL, const char *title=NULL);
43
44 void SetGammElec(); // allows to use gammas like electrons
45 Bool_t IsExpressionTrue() const {return fResult;};
46
47 ClassDef(MFGeomag,0) // Filter for MC particles, by geomagnetic field
48};
49
50#endif
Note: See TracBrowser for help on using the repository browser.