- Timestamp:
- 12/17/03 15:49:05 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2688 r2689 11 11 * mfilter/MFGeomag.cc: 12 12 - added kPOSITRON and kELECTRON as possible particle ids. 13 13 - added fResult = 0 for the case kGAMMA, !fGamm_elec, to let 14 real gammas be accepted by the filter. 14 15 15 16 2003/12/17: Thomas Bretz -
trunk/MagicSoft/Mars/mfilter/MFGeomag.cc
r2688 r2689 49 49 #include "MMcEvt.hxx" 50 50 51 #include <TSystem.h> 51 52 52 53 ClassImp(MFGeomag); … … 84 85 Float_t azim [2*1152]; // (these variables not used) 85 86 Float_t thet [2*1152]; 87 86 88 ifstream geomagp; 87 geomagp.open("mfilter/gcplus.txt"); 89 90 TString filename = gSystem->Getenv("MARSSYS"); 91 filename += "/mfilter/gcplus.txt"; 92 93 geomagp.open(filename); 88 94 if (!geomagp) { 89 95 *fLog << err <<" ERROR gcplus.txt file not found by Geomag"<<endl; … … 101 107 geomagp.close(); 102 108 geomagp.clear(); 109 103 110 ifstream geomagm; 104 geomagm.open("mfilter/gcminus.txt"); 111 112 filename = gSystem->Getenv("MARSSYS"); 113 filename += "/mfilter/gcminus.txt"; 114 115 geomagm.open(filename); 105 116 if (!geomagm) { 106 117 *fLog << err <<" ERROR gcminus.txt file not found by Geomag"<<endl; … … 151 162 case kGAMMA: 152 163 if (!fGamm_elec) //accept gammas if not set to electrons 153 return kTRUE; 164 { 165 fResult = 0; 166 return kTRUE; 167 } 154 168 indadd = 1152; //second part of table (negative particles) 155 169 break;
Note:
See TracChangeset
for help on using the changeset viewer.