- Timestamp:
- 11/29/16 11:23:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/msim/MPhotonData.cc
r18549 r18677 117 117 Double_t MPhotonData::GetSinW2() const 118 118 { 119 return fCosU*fCosU + fCosV*fCosV; 119 const Double_t sinw2 = fCosU*fCosU + fCosV*fCosV; 120 return sinw2>1 ? 1 : sinw2; 120 121 } 121 122
Note:
See TracChangeset
for help on using the changeset viewer.