Changeset 1342 for trunk/MagicSoft/Mars/mmontecarlo
- Timestamp:
- 06/03/02 15:43:45 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmontecarlo/MMcTriggerRateCalc.cc
r1166 r1342 159 159 160 160 rate.SetParticle(fPartId); 161 if (fPartId ==14) 162 rate.SetFlux(0.1091, 2.75); 163 else if (fPartId == 402) 164 rate.SetFlux(0.0660, 2.62); 165 else { 161 switch (fPartId) 162 { 163 case kPROTON: 164 rate.SetFlux(0.1091, 2.75); 165 break; 166 case kHELIUM: 167 rate.SetFlux(0.0660, 2.62); 168 break; 169 default: 166 170 *fLog << err << dbginf << "Unknown incident flux parameters for "; 167 171 *fLog << fPartId<< " particle Id ... aborting." << endl;
Note:
See TracChangeset
for help on using the changeset viewer.