12.07.2015 Views

cg Version

cg Version

cg Version

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3 Details of user code 313.1 Main program: Step 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313.1.1 Include lines and specication statements . . . . . . . . . . . . . . . . . . . 313.1.2 open statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323.2 Step 2: Pegs5-call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323.3 Step 3: Pre-hatch-call-initialization . . . . . . . . . . . . . . . . . . . . . . . . . . 333.4 Step 4: Determination-of-incident-particle-parameters . . . . . . . . . . . . . . . 343.5 Step 5: hatch-call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353.6 Step 6: Initialization-for-howfar . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353.7 Step 7: Initialization-for-ausgab . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353.8 Step 8: Shower-call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353.8.1 Statistical uncertainty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373.8.2 Output of results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373.9 Subroutine ausgab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383.10 Subroutine howfar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394 Comparison of speed between ucnai.f and ucnai<strong>cg</strong>v.f 405 Exercise problems 405.1 Problem 1 : Calculation for NaI detector . . . . . . . . . . . . . . . . . . . . . . 405.2 Problem 2 : Ge detector calculation . . . . . . . . . . . . . . . . . . . . . . . . . 405.3 Problem 3 : Air ionization chamber calculation . . . . . . . . . . . . . . . . . . . 406 Answer for exercises 416.1 Problem 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416.2 Problem 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446.3 Problem 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Appendix: Full listings of ucnai<strong>cg</strong>v.f 50ii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!