Ignore:
Timestamp:
04/02/03 20:46:38 (22 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r1880 r1890  
    323323        {
    324324        case kPROTON:
    325           if (fMcCorRunHeader->GetSlopeSpec() != -2.75)
     325          if (floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 275)
    326326            {
    327327                *fLog << err << dbginf << "Spectrum slope as read from input file (";
     
    333333          break;
    334334        case kHELIUM:
    335           if (fMcCorRunHeader->GetSlopeSpec() != -2.62)
     335          if (floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 262)
    336336            {
    337337                *fLog << err << dbginf << "Spectrum slope as read from input file (";
    338338                *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;
    340340                return kFALSE;
    341341            }
     
    358358}
    359359
    360 
     360// --------------------------------------------------------------------------
     361//
    361362// Draw rate as a funtion of discriminator threshold.
    362 
     363//
    363364void MMcTriggerRateCalc::Draw()
    364365{
Note: See TracChangeset for help on using the changeset viewer.