Changeset 1893 for trunk/MagicSoft/Mars/mmontecarlo
- Timestamp:
- 04/03/03 11:28:20 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.