Changeset 1893 for trunk


Ignore:
Timestamp:
04/03/03 11:28:20 (22 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r1891 r1893  
    11                                                 -*-*- END OF LINE -*-*-
     2 2003/04/03: Abelardo Moralejo
     3
     4   * mmontecarlo/MMcTriggerRateCalc.cc:
     5     - added #include <math.h> for compilation on alpha (otherwise
     6       floor() is unkown)
    27
    38 2003/04/02: Thomas Bretz
  • trunk/MagicSoft/Mars/mmontecarlo/MMcTriggerRateCalc.cc

    r1890 r1893  
    4343#include "MH.h"
    4444#include <TCanvas.h>
     45#include <math.h>
     46
    4547
    4648ClassImp(MMcTriggerRateCalc);
     
    323325        {
    324326        case kPROTON:
    325           if (floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 275)
     327          if ((Int_t)floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 275)
    326328            {
    327329                *fLog << err << dbginf << "Spectrum slope as read from input file (";
     
    333335          break;
    334336        case kHELIUM:
    335           if (floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 262)
     337          if ((Int_t)floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 262)
    336338            {
    337339                *fLog << err << dbginf << "Spectrum slope as read from input file (";
Note: See TracChangeset for help on using the changeset viewer.