| Last change
 on this file since 8410 was             286, checked in by harald, 26 years ago | 
        
          | This is the start point for further developments of the Magic Monte Carlo
Simulation written by Jose Carlos Gonzales. Now it is under control of 
one CVS repository for the whole collaboration. Everyone should use this
CVS repository for further developments. | 
        
          | File size:
            396 bytes | 
      
      
| Line |  | 
|---|
| 1 | REAL FUNCTION GARNDM(DUMMY) | 
|---|
| 2 |  | 
|---|
| 3 | C----------------------------------------------------------------------- | 
|---|
| 4 | C  1 EXPONENTIALLY DISTRIBUTED RANDOM NUMBER | 
|---|
| 5 | C----------------------------------------------------------------------- | 
|---|
| 6 |  | 
|---|
| 7 | REAL RD(1) | 
|---|
| 8 | C----------------------------------------------------------------------- | 
|---|
| 9 |  | 
|---|
| 10 | CALL RMMAR(RD,1,1) | 
|---|
| 11 | GARNDM = -LOG(RD(1)) | 
|---|
| 12 | RETURN | 
|---|
| 13 | END | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.