Project

General

Profile

Test38 demonstrator » History » Version 1

Robert Hatcher, 11/11/2015 09:19 AM

1 1 Robert Hatcher
h1. test38 demonstrator
2 1 Robert Hatcher
3 1 Robert Hatcher
<pre>
4 1 Robert Hatcher
$ BuildProducts/bin/g4plfactory_test38  -h
5 1 Robert Hatcher
BuildProducts/bin/g4plfactory_test38:  G4PLFactoryTest - a simplified Geant4 app for testing 
6 1 Robert Hatcher
the G4PhysListFactory
7 1 Robert Hatcher
   BuildProducts/bin/g4plfactory_test38 [options] [physList1 physList2[=N]]
8 1 Robert Hatcher
  -h --help       this output
9 1 Robert Hatcher
  -f              print phylist factory status
10 1 Robert Hatcher
  -F              print old phylist factory availability
11 1 Robert Hatcher
  -c              print physics ctor list
12 1 Robert Hatcher
  -r              print physics list registry list
13 1 Robert Hatcher
                    repeat to print before adding 2nd library
14 1 Robert Hatcher
  -v --verbose    increase program verbosity
15 1 Robert Hatcher
  -V <n>          set factory verbosity
16 1 Robert Hatcher
  -D --defaults   add default tests even if user supplied tests
17 1 Robert Hatcher
  -o --old        test old factory
18 1 Robert Hatcher
  -e --env=PNAME  PhysicsList to use as env variable [QGSP_BERT]
19 1 Robert Hatcher
                       use "skip" to skip these 2 tests
20 1 Robert Hatcher
     --lend       try ShieldingLEND (needs special data) in default list
21 1 Robert Hatcher
     --xyzzy      try to add non-existent physics ctor in default list
22 1 Robert Hatcher
                   (will though throw G4Exception w/ --fatal)
23 1 Robert Hatcher
     --fatal      throw exception if new factory can't satisfy request
24 1 Robert Hatcher
 
25 1 Robert Hatcher
  If given, the list of physics lists to try override the default set.
26 1 Robert Hatcher
  User can specify if they expect each to work with the 
27 1 Robert Hatcher
    new (1), old (2), both (3) or neither (0) factory;
28 1 Robert Hatcher
    if unspecified, assumes 3.
29 1 Robert Hatcher
</pre>
30 1 Robert Hatcher
31 1 Robert Hatcher
<pre>
32 1 Robert Hatcher
$ BuildProducts/bin/g4plfactory_test38  -f -F
33 1 Robert Hatcher
34 1 Robert Hatcher
*************************************************************
35 1 Robert Hatcher
 Geant4 version Name: geant4-10-01-ref-10    (31-October-2015)
36 1 Robert Hatcher
                      Copyright : Geant4 Collaboration
37 1 Robert Hatcher
                      Reference : NIM A 506 (2003), 250-303
38 1 Robert Hatcher
                            WWW : http://cern.ch/geant4
39 1 Robert Hatcher
*************************************************************
40 1 Robert Hatcher
41 1 Robert Hatcher
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
42 1 Robert Hatcher
BuildProducts/bin/g4plfactory_test38: state of the _old_ factory:-
43 1 Robert Hatcher
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
44 1 Robert Hatcher
45 1 Robert Hatcher
old factory base physlists:
46 1 Robert Hatcher
  [ 0] = FTFP_BERT
47 1 Robert Hatcher
  [ 1] = FTFP_BERT_TRV
48 1 Robert Hatcher
  [ 2] = FTFP_BERT_HP
49 1 Robert Hatcher
  [ 3] = FTFP_INCLXX
50 1 Robert Hatcher
  [ 4] = FTFP_INCLXX_HP
51 1 Robert Hatcher
  [ 5] = FTF_BIC
52 1 Robert Hatcher
  [ 6] = LBE
53 1 Robert Hatcher
  [ 7] = QBBC
54 1 Robert Hatcher
  [ 8] = QGSP_BERT
55 1 Robert Hatcher
  [ 9] = QGSP_BERT_HP
56 1 Robert Hatcher
  [10] = QGSP_BIC
57 1 Robert Hatcher
  [11] = QGSP_BIC_HP
58 1 Robert Hatcher
  [12] = QGSP_BIC_AllHP
59 1 Robert Hatcher
  [13] = QGSP_FTFP_BERT
60 1 Robert Hatcher
  [14] = QGSP_INCLXX
61 1 Robert Hatcher
  [15] = QGSP_INCLXX_HP
62 1 Robert Hatcher
  [16] = QGS_BIC
63 1 Robert Hatcher
  [17] = Shielding
64 1 Robert Hatcher
  [18] = ShieldingLEND
65 1 Robert Hatcher
  [19] = ShieldingM
66 1 Robert Hatcher
  [20] = NuBeam
67 1 Robert Hatcher
old factory EM extensions:
68 1 Robert Hatcher
  [ 0] = 
69 1 Robert Hatcher
  [ 1] = _EMV
70 1 Robert Hatcher
  [ 2] = _EMX
71 1 Robert Hatcher
  [ 3] = _EMY
72 1 Robert Hatcher
  [ 4] = _EMZ
73 1 Robert Hatcher
  [ 5] = _LIV
74 1 Robert Hatcher
  [ 6] = _PEN
75 1 Robert Hatcher
  [ 7] = __GS
76 1 Robert Hatcher
77 1 Robert Hatcher
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
78 1 Robert Hatcher
79 1 Robert Hatcher
BuildProducts/bin/g4plfactory_test38: (before) phys ctors 60, phys lists 24, ext 8, em 8
80 1 Robert Hatcher
BuildProducts/bin/g4plfactory_test38: try to dynamically load 'libg4plft2'
81 1 Robert Hatcher
BuildProducts/bin/g4plfactory_test38: successfully loaded 'libg4plft2'
82 1 Robert Hatcher
BuildProducts/bin/g4plfactory_test38: now add extensions mappings ALTDK, NEWPHY and XYZZY 
83 1 Robert Hatcher
BuildProducts/bin/g4plfactory_test38: (after)  phys ctors 62, phys lists 26, ext 11, em 11
84 1 Robert Hatcher
85 1 Robert Hatcher
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
86 1 Robert Hatcher
BuildProducts/bin/g4plfactory_test38: state of the new factory:-
87 1 Robert Hatcher
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
88 1 Robert Hatcher
89 1 Robert Hatcher
Base G4VModularPhysicsLists in G4PhysListRegistry are:
90 1 Robert Hatcher
 [  0]  "FTFP_BERT"
91 1 Robert Hatcher
 [  1]  "FTFP_BERT_HP"
92 1 Robert Hatcher
 [  2]  "FTFP_BERT_TRV"
93 1 Robert Hatcher
 [  3]  "FTFP_INCLXX"
94 1 Robert Hatcher
 [  4]  "FTFP_INCLXX_HP"
95 1 Robert Hatcher
 [  5]  "FTF_BIC"
96 1 Robert Hatcher
 [  6]  "G4GenericPhysicsList"
97 1 Robert Hatcher
 [  7]  "LBE"
98 1 Robert Hatcher
 [  8]  "MyPL0"
99 1 Robert Hatcher
 [  9]  "MyPL1"
100 1 Robert Hatcher
 [ 10]  "MyPL2"
101 1 Robert Hatcher
 [ 11]  "NuBeam"
102 1 Robert Hatcher
 [ 12]  "QBBC"
103 1 Robert Hatcher
 [ 13]  "QGSP_BERT"
104 1 Robert Hatcher
 [ 14]  "QGSP_BERT_HP"
105 1 Robert Hatcher
 [ 15]  "QGSP_BIC"
106 1 Robert Hatcher
 [ 16]  "QGSP_BIC_AllHP"
107 1 Robert Hatcher
 [ 17]  "QGSP_BIC_HP"
108 1 Robert Hatcher
 [ 18]  "QGSP_FTFP_BERT"
109 1 Robert Hatcher
 [ 19]  "QGSP_INCLXX"
110 1 Robert Hatcher
 [ 20]  "QGSP_INCLXX_HP"
111 1 Robert Hatcher
 [ 21]  "QGS_BIC"
112 1 Robert Hatcher
 [ 22]  "Shielding"
113 1 Robert Hatcher
 [ 23]  "ShieldingLEND"
114 1 Robert Hatcher
 [ 24]  "ShieldingM"
115 1 Robert Hatcher
 [ 25]  "myns::MyNSPL3"
116 1 Robert Hatcher
Replacement mappings in G4PhysListRegistry are:
117 1 Robert Hatcher
         ALTDK =>              G4NewDecayPhysics 
118 1 Robert Hatcher
           EMV =>    G4EmStandardPhysics_option1 
119 1 Robert Hatcher
           EMX =>    G4EmStandardPhysics_option2 
120 1 Robert Hatcher
           EMY =>    G4EmStandardPhysics_option3 
121 1 Robert Hatcher
           EMZ =>    G4EmStandardPhysics_option4 
122 1 Robert Hatcher
            GS =>          G4EmStandardPhysicsGS 
123 1 Robert Hatcher
           LIV =>           G4EmLivermorePhysics 
124 1 Robert Hatcher
        NEWPHY =>       myns::G4NewExoticPhysics 
125 1 Robert Hatcher
           PEN =>            G4EmPenelopePhysics 
126 1 Robert Hatcher
         XYZZY =>                  NoSuchPhysics [unregistered physics]
127 1 Robert Hatcher
           _GS =>          G4EmStandardPhysicsGS 
128 1 Robert Hatcher
Use these mapping to extend physics list; append with _EXT or +EXT
129 1 Robert Hatcher
   to use ReplacePhysics() ("_") or RegisterPhysics() ("+").
130 1 Robert Hatcher
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
131 1 Robert Hatcher
132 1 Robert Hatcher
</pre>