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

Last change on this file since 9620 was 2802, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 740 bytes
Line 
1#ifndef MARS_MFGeomag
2#define MARS_MFGeomag
3
4#ifndef MARS_MFilter
5#include "MFilter.h"
6#endif
7
8class MMcEvt;
9class MParList;
10
11class MFGeomag : public MFilter
12{
13private:
14 MMcEvt *fMcEvt;
15
16 Bool_t fResult; //!
17 Bool_t fGammaElectron; // switches gammas to electrons
18
19 Float_t fRigMin[2*1152]; //tables to contain cut limits
20 Float_t fRigMax[2*1152];
21 Float_t fProb [2*1152];
22
23 Int_t PreProcess(MParList *pList);
24 Int_t Process();
25
26public:
27 MFGeomag(const char *name=NULL, const char *title=NULL);
28
29 void SetGammElec(); // allows to use gammas like electrons
30 Bool_t IsExpressionTrue() const { return fResult; }
31
32 ClassDef(MFGeomag,0) // Filter for MC particles, by geomagnetic field
33};
34
35#endif
Note: See TracBrowser for help on using the repository browser.