-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.txt
83 lines (60 loc) · 2.49 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
$Id: README,v 1.5 2004-05-31 18:13:04 gum Exp $
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
PlasticScint_Fibre
----------
main()
------
==> define Random Number Engine and initial seed
PSPhysicsList
------------------
==> define particles; including *** G4OpticalPhoton ***
define processes; including *** G4Cerenkov ***
*** G4Scintillation ***
*** G4OpAbsorption ***
*** G4OpRayleigh ***
*** G4OpBoundaryProcess ***
PSDetectorConstruction
---------------------------
==> define material: Air and Water
define simple G4box geometry
*** add G4MaterialPropertiesTable to G4Material ***
*** define G4LogicalSurface(s) ***
*** define G4OpticalSurface ***
*** add G4MaterialPropertiesTable to G4OpticalSurface ***
PSPrimaryGeneratorAction
-----------------------------
==> Use G4ParticleGun to shoot a charge particle into a Scintillator
==> A messenger command allows to define interactively the polarization of an
primary optical photon (see for instance optPhoton.mac)
PSRunAction
---------------
==> define G4Timer (start/stop)
set verbose levels
PSStackingAction
--------------------
==> show how to count the number of secondary particles in an event
Visualisation
-------------
The Visualization Manager is set in the main().
The initialisation of the drawing is done via a set of /vis/ commands
in the macro vis.mac. This macro is automatically read from
the main in case of interactive running mode.
The detector has a default view which is a longitudinal view of the tank.
The tracks are drawn at the end of event, and erased at the end of run.
How to start
------------
- compile and link to generate an executable
% cd PlasticScint_Fibre
% gmake
- execute PlasticScint_Fibre in 'batch' mode from macro files
% PlasticScint_Fibre PlasticScint_Fibre.in
- execute PlasticScint_Fibre in 'interactive mode' with visualization
% PlasticScint_Fibre
....
Idle> type your commands. For instance:
Idle> /control/execute optPhoton.mac
....
Idle> exit