- Timestamp:
- 04/03/03 11:28:20 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1891 r1893 1 1 -*-*- 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) 2 7 3 8 2003/04/02: Thomas Bretz -
trunk/MagicSoft/Mars/mmontecarlo/MMcTriggerRateCalc.cc
r1890 r1893 43 43 #include "MH.h" 44 44 #include <TCanvas.h> 45 #include <math.h> 46 45 47 46 48 ClassImp(MMcTriggerRateCalc); … … 323 325 { 324 326 case kPROTON: 325 if ( floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 275)327 if ((Int_t)floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 275) 326 328 { 327 329 *fLog << err << dbginf << "Spectrum slope as read from input file ("; … … 333 335 break; 334 336 case kHELIUM: 335 if ( floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 262)337 if ((Int_t)floor(-100*fMcCorRunHeader->GetSlopeSpec()+0.5) != 262) 336 338 { 337 339 *fLog << err << dbginf << "Spectrum slope as read from input file (";
Note:
See TracChangeset
for help on using the changeset viewer.