Changeset 1890 for trunk/MagicSoft/Mars/mmontecarlo
- Timestamp:
- 04/02/03 20:46:38 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmontecarlo/MMcTriggerRateCalc.cc
r1880 r1890 323 323 { 324 324 case kPROTON: 325 if (f McCorRunHeader->GetSlopeSpec() != -2.75)325 if (floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 275) 326 326 { 327 327 *fLog << err << dbginf << "Spectrum slope as read from input file ("; … … 333 333 break; 334 334 case kHELIUM: 335 if (f McCorRunHeader->GetSlopeSpec() != -2.62)335 if (floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 262) 336 336 { 337 337 *fLog << err << dbginf << "Spectrum slope as read from input file ("; 338 338 *fLog << fMcCorRunHeader->GetSlopeSpec() << ") does not match the expected "; 339 *fLog << "one (-2. 75) for Helium" << endl << "... aborting." << endl;339 *fLog << "one (-2.62) for Helium" << endl << "... aborting." << endl; 340 340 return kFALSE; 341 341 } … … 358 358 } 359 359 360 360 // -------------------------------------------------------------------------- 361 // 361 362 // Draw rate as a funtion of discriminator threshold. 362 363 // 363 364 void MMcTriggerRateCalc::Draw() 364 365 {
Note:
See TracChangeset
for help on using the changeset viewer.