Ignore:
Timestamp:
02/26/04 10:55:25 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmontecarlo/MMcTriggerRateCalc.cc

    r2207 r3325  
    332332        switch (fPartId)
    333333        {
    334         case kPROTON:
     334        case MMcEvt::kPROTON:
    335335          if ((Int_t)floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 275)
    336336            {
    337                 *fLog << err << dbginf << "Spectrum slope as read from input file (";
     337                *fLog << err << "Spectrum slope as read from input file (";
    338338                *fLog << fMcCorRunHeader->GetSlopeSpec() << ") does not match the expected ";
    339339                *fLog << "one (-2.75) for protons" << endl << "... aborting." << endl;
     
    342342          rate.SetFlux(0.1091, 2.75);
    343343          break;
    344         case kHELIUM:
     344        case MMcEvt::kHELIUM:
    345345          if ((Int_t)floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 262)
    346346            {
    347                 *fLog << err << dbginf << "Spectrum slope as read from input file (";
     347                *fLog << err << "Spectrum slope as read from input file (";
    348348                *fLog << fMcCorRunHeader->GetSlopeSpec() << ") does not match the expected ";
    349349                *fLog << "one (-2.62) for Helium" << endl << "... aborting." << endl;
     
    353353          break;
    354354        default:
    355           *fLog << err << dbginf << "Unknown incident flux parameters for ";
     355          *fLog << err << "Unknown incident flux parameters for ";
    356356          *fLog << fPartId<< " particle Id ... aborting." << endl;
    357357          return kFALSE;
Note: See TracChangeset for help on using the changeset viewer.