| Line |   | 
|---|
| 1 | #ifndef MARS_MFGeomag
 | 
|---|
| 2 | #define MARS_MFGeomag
 | 
|---|
| 3 | 
 | 
|---|
| 4 | #ifndef MARS_MFilter
 | 
|---|
| 5 | #include "MFilter.h"
 | 
|---|
| 6 | #endif
 | 
|---|
| 7 | 
 | 
|---|
| 8 | class MMcEvt;
 | 
|---|
| 9 | class MParList;
 | 
|---|
| 10 | 
 | 
|---|
| 11 | class MFGeomag : public MFilter
 | 
|---|
| 12 | {
 | 
|---|
| 13 | private:
 | 
|---|
| 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 | 
 | 
|---|
| 26 | public:
 | 
|---|
| 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.