Changeset 1715 for trunk/MagicSoft/Mars/mmontecarlo
- Timestamp:
- 01/19/03 14:52:29 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmontecarlo/MMcCollectionAreaCalc.cc
r1646 r1715 130 130 Bool_t MMcCollectionAreaCalc::Process() 131 131 { 132 // *fLog << all << fMcEvt << " " << (int)fAllEvtsTriggered << " " << fCollArea << endl; 133 const Float_t energy = fMcEvt->GetEnergy(); 134 const Float_t impact = fMcEvt->GetImpact()/100.; 132 const Double_t energy = fMcEvt->GetEnergy(); 133 const Double_t impact = fMcEvt->GetImpact()/100.; 134 135 // 136 // This happens for camera files created with Camera 0.5 137 // 138 if (TMath::IsNaN(impact)) 139 { 140 *fLog << err << dbginf << "ERROR - Impact=NaN (Not a number)... abort." << endl; 141 return kERROR; 142 } 135 143 136 144 if (!fAllEvtsTriggered)
Note:
See TracChangeset
for help on using the changeset viewer.