Changeset 1370 for trunk/WuerzburgSoft/Thomas/mphys/MParticle.cc
- Timestamp:
- 06/19/02 12:09:25 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WuerzburgSoft/Thomas/mphys/MParticle.cc
r1369 r1370 107 107 } 108 108 109 void MParticle::InitRandom() 110 { 111 TRandom rnd(0); 112 fPhi = rnd.Uniform(TMath::Pi()*2); 113 fPsi = rnd.Uniform(TMath::Pi()*2); 114 } 115 109 116 void MParticle::SetNewDirection(Double_t theta, Double_t phi) 110 117 {
Note:
See TracChangeset
for help on using the changeset viewer.