Changeset 3325 for trunk/MagicSoft/Mars/mmontecarlo
- Timestamp:
- 02/26/04 10:55:25 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmontecarlo/MMcTriggerRateCalc.cc
r2207 r3325 332 332 switch (fPartId) 333 333 { 334 case kPROTON:334 case MMcEvt::kPROTON: 335 335 if ((Int_t)floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 275) 336 336 { 337 *fLog << err << dbginf <<"Spectrum slope as read from input file (";337 *fLog << err << "Spectrum slope as read from input file ("; 338 338 *fLog << fMcCorRunHeader->GetSlopeSpec() << ") does not match the expected "; 339 339 *fLog << "one (-2.75) for protons" << endl << "... aborting." << endl; … … 342 342 rate.SetFlux(0.1091, 2.75); 343 343 break; 344 case kHELIUM:344 case MMcEvt::kHELIUM: 345 345 if ((Int_t)floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 262) 346 346 { 347 *fLog << err << dbginf <<"Spectrum slope as read from input file (";347 *fLog << err << "Spectrum slope as read from input file ("; 348 348 *fLog << fMcCorRunHeader->GetSlopeSpec() << ") does not match the expected "; 349 349 *fLog << "one (-2.62) for Helium" << endl << "... aborting." << endl; … … 353 353 break; 354 354 default: 355 *fLog << err << dbginf <<"Unknown incident flux parameters for ";355 *fLog << err << "Unknown incident flux parameters for "; 356 356 *fLog << fPartId<< " particle Id ... aborting." << endl; 357 357 return kFALSE;
Note:
See TracChangeset
for help on using the changeset viewer.