Changeset 3325 for trunk/MagicSoft/Mars/mfilter
- Timestamp:
- 02/26/04 10:55:25 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mfilter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfilter/MFGeomag.cc
r2990 r3325 36 36 // 37 37 ///////////////////////////////////////////////////////////////////////////// 38 39 38 #include "MFGeomag.h" 40 39 … … 156 155 switch (fMcEvt->GetPartId()) 157 156 { 158 case kGAMMA:157 case MMcEvt::kGAMMA: 159 158 if (!fGammaElectron) //accept gammas if not set to electrons 160 159 return kTRUE; … … 162 161 break; 163 162 164 case kHELIUM:163 case MMcEvt::kHELIUM: 165 164 rig /= 2; //double charge 166 165 break; 167 166 168 case kPROTON: //protons169 case kPOSITRON: //positrons170 break; 171 172 case kELECTRON: //electrons167 case MMcEvt::kPROTON: //protons 168 case MMcEvt::kPOSITRON: //positrons 169 break; 170 171 case MMcEvt::kELECTRON: //electrons 173 172 indadd = 1152; //second part of table (negative particles) 174 173 break; -
trunk/MagicSoft/Mars/mfilter/MFParticleId.cc
r2206 r3325 140 140 switch (fValue) 141 141 { 142 case kGAMMA: 143 out << "kGAMMA"; 144 break; 145 case kPROTON: 146 out << "kPROTON"; 147 break; 148 case kHELIUM: 149 out << "kHELIUM"; 150 break; 151 case kOXYGEN: 152 out << "kOXYGEN"; 153 break; 154 case kIRON: 155 out << "kIRON"; 156 break; 142 case MMcEvt::kGAMMA: out << "MMcEvt::kGAMMA"; break; 143 case MMcEvt::kPOSITRON: out << "MMcEvt::kPOSITRON"; break; 144 case MMcEvt::kELECTRON: out << "MMcEvt::kELECTRON"; break; 145 case MMcEvt::kPROTON: out << "MMcEvt::kPROTON"; break; 146 case MMcEvt::kHELIUM: out << "MMcEvt::kHELIUM"; break; 147 case MMcEvt::kOXYGEN: out << "MMcEvt::kOXYGEN"; break; 148 case MMcEvt::kIRON: out << "MMcEvt::kIRON"; break; 157 149 default: 158 150 out << fValue;
Note:
See TracChangeset
for help on using the changeset viewer.