GeantChecklist: Difference between revisions
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
==v4_10_4== | |||
Started Mar 1, 2018, proposed update to v4_10_4 from v4_10_2_p03e. '''Effort paused on 3/21/18 - now working on v4_10_4 EMZ''' | |||
How to trigger Mu2e specific electromagnetic option4 (_EMZ) with modified msc model transition energy (committed 3/16/18), off by default, on where noted. | |||
How to trigger Mu2e specific electromagnetic option4 (_EMZ) with modified msc model transition energy (committed 3/16/18) | |||
physics.producers.g4run.debug.diagLevel : 1 | physics.producers.g4run.debug.diagLevel : 1 | ||
# the above is to see the ranges printed | # the above is to see the ranges printed | ||
Line 20: | Line 19: | ||
physics.producers.g4run.physics.physicsListName : "ShieldingM_EMZ" | physics.producers.g4run.physics.physicsListName : "ShieldingM_EMZ" | ||
How to change the stepper to the new one requiring fewer field evaluations | How to change the stepper to the new one requiring fewer field evaluations: | ||
physics.producers.g4run.physics.stepper : "G4DormandPrince745" | physics.producers.g4run.physics.stepper : "G4DormandPrince745" | ||
Line 34: | Line 33: | ||
|style="width:18%"|'''file size (MB)''' | |style="width:18%"|'''file size (MB)''' | ||
|- | |- | ||
| old beam || | | old beam ||9351 || 1.611||6.290 | ||
|- | |- | ||
| new beam || | | new beam || 8483 (-9%)|| 1.715 (+6%)||6.397(+2%) | ||
|- | |- | ||
| old CE || | | old CE || 6795|| 1.742||918.396 | ||
|- | |- | ||
| new CE || | | new CE || 6180 (-9%)|| 1.804 (+4%) ||909.979(-1%) | ||
|} | |} | ||
<br> | <br> | ||
[http://mu2e.fnal.gov/atwork/computing/ops/val/plots/ | [http://mu2e.fnal.gov/atwork/computing/ops/val/plots/geant/beam_1/result.html beam comparison]<br> | ||
[http://mu2e.fnal.gov/atwork/computing/ops/val/plots/ | [http://mu2e.fnal.gov/atwork/computing/ops/val/plots/geant/ce_1/result.html C.E. comparison]<br> | ||
<br> | [http://mu2e.fnal.gov/atwork/computing/ops/val/plots/geant/stops_1.png stopped muons] | ||
[http://mu2e.fnal.gov/atwork/computing/ops/val/plots/ | |||
<br> | <br> | ||
<br> | <br> | ||
Line 75: | Line 54: | ||
|style="width:40%"|'''Notes''' | |style="width:40%"|'''Notes''' | ||
|- | |- | ||
| | | || Krzysztof || release notes presented || [https://mu2e-docdbcert.fnal.gov/cgi-bin/cert/ShowDocument?docid=16394 available] | ||
|- | |- | ||
| 3/14/18 || Krzysztof || supporting code (new lists, options) || changes enabling new features done in February and March | | 3/14/18 || Krzysztof || supporting code (new lists, options) || changes enabling new features done in February and March | ||
|- | |- | ||
| || Ray || high-stats conversion electrons comparison || see links above | | || Ray || high-stats conversion electrons comparison || see links above and [https://mu2e-docdbcert.fnal.gov/cgi-bin/cert/ShowDocument?docid=16382 talk] | ||
|- | |- | ||
| || Ray || high-stats beam stage 1 comparison || | | || Ray || high-stats beam stage 1 comparison || see links above and [https://mu2e-docdbcert.fnal.gov/cgi-bin/cert/ShowDocument?docid=16382 talk] | ||
|- | |- | ||
| || Ray/Krzysztof || CPU time and product sizes || | | || Ray/Krzysztof || CPU time and product sizes || see above and [https://mu2e-docdbcert.fnal.gov/cgi-bin/cert/ShowDocument?docid=16382 talk] | ||
|- | |- | ||
| || Ray/Andrei || stopped muon rates and shape || | | || Ray/Andrei || stopped muon rates and shape || see links above and [https://mu2e-docdbcert.fnal.gov/cgi-bin/cert/ShowDocument?docid=16382 talk] | ||
|- | |- | ||
| || Rob || magnetic field transport || | | || Rob || magnetic field transport || | ||
|- | |- | ||
| || Dave (LBL) || tracker charge deposition/hit resolution || | | || Dave (LBL) || tracker charge deposition/hit resolution || | ||
|- | |- | ||
| || Dave (LBL) || tracker background hit rates || | | || Dave (LBL) || tracker background hit rates || | ||
Line 126: | Line 105: | ||
|} | |} | ||
How to trigger Mu2e specific electromagnetic option4 (_EMZ) with modified msc model transition energy (committed 3/16/18) | |||
==v4_10_4 EMZ== | |||
Started Mar 21, 2018, proposed update to v4_10_4 EMZ from v4_10_2_p03e. At the code/soft meeting on 4/4/18, we decided to delay moving to EMZ since the very different file sizes caused complications with no obvious benefit. This will be considered at a later date, along with regional minRangeCut's. | |||
How to trigger Mu2e specific electromagnetic option4 (_EMZ) with modified msc model transition energy (committed 3/16/18) | |||
physics.producers.g4run.debug.diagLevel : 1 | physics.producers.g4run.debug.diagLevel : 1 | ||
# the above is to see the ranges printed | # the above is to see the ranges printed | ||
Line 135: | Line 116: | ||
physics.producers.g4run.physics.physicsListName : "ShieldingM_EMZ" | physics.producers.g4run.physics.physicsListName : "ShieldingM_EMZ" | ||
How to change the stepper to the new one requiring fewer field evaluations: | How to change the stepper to the new one requiring fewer field evaluations (off, except where noted): | ||
physics.producers.g4run.physics.stepper : "G4DormandPrince745" | physics.producers.g4run.physics.stepper : "G4DormandPrince745" | ||
Line 149: | Line 130: | ||
|style="width:18%"|'''file size (MB)''' | |style="width:18%"|'''file size (MB)''' | ||
|- | |- | ||
| old beam || | | old beam ||7325 ||1.76 ||630 | ||
|- | |- | ||
| new beam || | | new beam ||7896(+8%) ||1.79(+2%) ||718(+13%) | ||
|- | |- | ||
| old CE || | | old CE ||6844 || 1.75||92088 | ||
|- | |- | ||
| new CE || | | new CE || 7099(+4%) || 1.84(+5%) ||187456(+100%) | ||
|} | |} | ||
<br> | <br> | ||
[http://mu2e.fnal.gov/atwork/computing/ops/val/plots/ | [http://mu2e.fnal.gov/atwork/computing/ops/val/plots/geant_v4_10_4_EMZ/beam_0/result.html beam stage 1 comparison] <br> | ||
[http://mu2e.fnal.gov/atwork/computing/ops/val/plots/ | [http://mu2e.fnal.gov/atwork/computing/ops/val/plots/geant_v4_10_4_EMZ/ce_0/result.html CE comparison] | ||
[http://mu2e.fnal.gov/atwork/computing/ops/val/plots/ | <br> | ||
[http://mu2e.fnal.gov/atwork/computing/ops/val/plots/geant_v4_10_4_EMZ/stops.png stops] | |||
<br> | |||
<br> | |||
Why are conversion electron files so much larger: | |||
<pre> | |||
arProductsizes: | |||
old: | |||
Size Size/Entry Fraction Data Product Name | |||
505449709 50545.0 0.548 mu2e::SimParticlemv_g4run__ceSimReco. | |||
240938209 24093.8 0.261 mu2e::StepPointMCs_g4run_calorimeter_ceSimReco. | |||
30774582 3077.5 0.033 mu2e::CaloShowerSteps_CaloShowerStepFromStepPt_calorimeter_ceSimReco. | |||
28011825 2801.2 0.030 mu2e::StepPointMCs_g4run_tracker_ceSimReco. | |||
new: | |||
Size Size/Entry Fraction Data Product Name | |||
514208625 51420.9 0.277 mu2e::SimParticlemv_g4run__ceSimReco. | |||
745787106 74578.7 0.402 mu2e::StepPointMCs_g4run_calorimeter_ceSimReco. | |||
236050707 23605.1 0.127 mu2e::CaloShowerSteps_CaloShowerStepFromStepPt_calorimeter_ceSimReco. | |||
181788056 18178.8 0.098 mu2e::StepPointMCs_g4run_tracker_ceSimReco. | |||
</pre> | |||
<br> | <br> | ||
<br> | <br> | ||
Line 170: | Line 171: | ||
|style="width:40%"|'''Notes''' | |style="width:40%"|'''Notes''' | ||
|- | |- | ||
| || Krzysztof || release notes presented || [https://mu2e-docdbcert.fnal.gov/cgi-bin/cert/ShowDocument?docid=16394 | | 3/21/18 || Krzysztof || release notes presented || [https://mu2e-docdbcert.fnal.gov/cgi-bin/cert/ShowDocument?docid=16394 talk] | ||
|- | |- | ||
| 3/14/18 || Krzysztof || supporting code (new lists, options) || changes enabling new features done in February and March | | 3/14/18 || Krzysztof || supporting code (new lists, options) || changes enabling new features done in February and March | ||
|- | |- | ||
| || Ray || high-stats conversion electrons comparison || see links above | | || Ray || high-stats conversion electrons comparison || see links above | ||
|- | |- | ||
| || Ray || high-stats beam stage 1 comparison || see links above | | || Ray || high-stats beam stage 1 comparison || see links above | ||
|- | |- | ||
| || Ray/Krzysztof || CPU time and product sizes || see above | | || Ray/Krzysztof || CPU time and product sizes || see above | ||
|- | |- | ||
| || Ray/Andrei || stopped muon rates and shape || see | | || Ray/Andrei || stopped muon rates and shape || see link above | ||
|- | |- | ||
| || Rob || magnetic field transport || | | || Rob || magnetic field transport || | ||
|- | |- | ||
| || Dave (LBL) || tracker charge deposition/hit resolution || | | || Dave (LBL) || tracker charge deposition/hit resolution || [https://mu2e-docdbcert.fnal.gov/cgi-bin/cert/ShowDocument?docid=16562 talk] | ||
|- | |- | ||
| || Dave (LBL) || tracker background hit rates || | | || Dave (LBL) || tracker background hit rates || |
Revision as of 15:06, 5 April 2018
Introduction
So much of the understanding of the performance of mu2e depends on simulation studies that a change in geant version could have far-reaching effects. This page contains a checklist for tests to perform before moving to a new geant. Typically, some tests would be skipped because the expert decides the effort to validate would not be justified for the low level of risk.
Note on MT build
4/4/18
- The geant MT branch code can be compiled against (and run using) a sequential version of G4 without the '-DG4MULTITHREADED' flag in the SConscript file.
- The MT branch code code can be compiled against an MT version of G4 with the addition of the '-DG4MULTITHREADED' flag in the SConscript file.
- MT version can be run in 3 modes: (1) in sequential mode, (2) in MT mode using a single thread in which there is a master thread that controls a single worker thread, and (3) in MT mode.
v4_10_4
Started Mar 1, 2018, proposed update to v4_10_4 from v4_10_2_p03e. Effort paused on 3/21/18 - now working on v4_10_4 EMZ
How to trigger Mu2e specific electromagnetic option4 (_EMZ) with modified msc model transition energy (committed 3/16/18), off by default, on where noted.
physics.producers.g4run.debug.diagLevel : 1 # the above is to see the ranges printed physics.producers.g4run.physics.modifyEMOption4 : true physics.producers.g4run.physics.physicsListName : "ShieldingM_EMZ"
How to change the stepper to the new one requiring fewer field evaluations:
physics.producers.g4run.physics.stepper : "G4DormandPrince745"
clhep 2.4.0.0 (not used yet) will enable the switch from HepJamesRandom to MixMax random number engine (art sets the default)
Results from tests, 1M conversion electrons, 300K beam stage1
Sample | CPU (s) | MEM (GB) | file size (MB) |
old beam | 9351 | 1.611 | 6.290 |
new beam | 8483 (-9%) | 1.715 (+6%) | 6.397(+2%) |
old CE | 6795 | 1.742 | 918.396 |
new CE | 6180 (-9%) | 1.804 (+4%) | 909.979(-1%) |
beam comparison
C.E. comparison
stopped muons
Sign off | Responsible | Topic | Notes |
Krzysztof | release notes presented | available | |
3/14/18 | Krzysztof | supporting code (new lists, options) | changes enabling new features done in February and March |
Ray | high-stats conversion electrons comparison | see links above and talk | |
Ray | high-stats beam stage 1 comparison | see links above and talk | |
Ray/Krzysztof | CPU time and product sizes | see above and talk | |
Ray/Andrei | stopped muon rates and shape | see links above and talk | |
Rob | magnetic field transport | ||
Dave (LBL) | tracker charge deposition/hit resolution | ||
Dave (LBL) | tracker background hit rates | ||
Dave (LBL) | tracker integrated charge | ||
Dave (LBL) | tracker electronics radiation | ||
Bertrand | calorimeter resolution | ||
Bertrand | calorimeter electronics radiation | ||
Ralf | CRV light model | ||
Yuri | neutron production rates and transport | ||
Yuri | CRV deadtime | ||
Dave (LBL) | conversion electron efficiency | ||
Jim | STM efficiency | ||
Jim | STM background | ||
Andrei | ExtMon efficiency | ||
Andrei | ExtMon background | ||
Ralf | cosmic background | ||
Bob | p-bar background | ||
Andrei | beam electron background | ||
Dave (Lou) | Pion backgrounds |
v4_10_4 EMZ
Started Mar 21, 2018, proposed update to v4_10_4 EMZ from v4_10_2_p03e. At the code/soft meeting on 4/4/18, we decided to delay moving to EMZ since the very different file sizes caused complications with no obvious benefit. This will be considered at a later date, along with regional minRangeCut's.
How to trigger Mu2e specific electromagnetic option4 (_EMZ) with modified msc model transition energy (committed 3/16/18)
physics.producers.g4run.debug.diagLevel : 1 # the above is to see the ranges printed physics.producers.g4run.physics.modifyEMOption4 : true physics.producers.g4run.physics.physicsListName : "ShieldingM_EMZ"
How to change the stepper to the new one requiring fewer field evaluations (off, except where noted):
physics.producers.g4run.physics.stepper : "G4DormandPrince745"
clhep 2.4.0.0 (not used yet) will enable the switch from HepJamesRandom to MixMax random number engine (art sets the default)
Results from tests, 1M conversion electrons, 300K beam stage1
Sample | CPU (s) | MEM (GB) | file size (MB) |
old beam | 7325 | 1.76 | 630 |
new beam | 7896(+8%) | 1.79(+2%) | 718(+13%) |
old CE | 6844 | 1.75 | 92088 |
new CE | 7099(+4%) | 1.84(+5%) | 187456(+100%) |
beam stage 1 comparison
CE comparison
stops
Why are conversion electron files so much larger:
arProductsizes: old: Size Size/Entry Fraction Data Product Name 505449709 50545.0 0.548 mu2e::SimParticlemv_g4run__ceSimReco. 240938209 24093.8 0.261 mu2e::StepPointMCs_g4run_calorimeter_ceSimReco. 30774582 3077.5 0.033 mu2e::CaloShowerSteps_CaloShowerStepFromStepPt_calorimeter_ceSimReco. 28011825 2801.2 0.030 mu2e::StepPointMCs_g4run_tracker_ceSimReco. new: Size Size/Entry Fraction Data Product Name 514208625 51420.9 0.277 mu2e::SimParticlemv_g4run__ceSimReco. 745787106 74578.7 0.402 mu2e::StepPointMCs_g4run_calorimeter_ceSimReco. 236050707 23605.1 0.127 mu2e::CaloShowerSteps_CaloShowerStepFromStepPt_calorimeter_ceSimReco. 181788056 18178.8 0.098 mu2e::StepPointMCs_g4run_tracker_ceSimReco.
Sign off | Responsible | Topic | Notes |
3/21/18 | Krzysztof | release notes presented | talk |
3/14/18 | Krzysztof | supporting code (new lists, options) | changes enabling new features done in February and March |
Ray | high-stats conversion electrons comparison | see links above | |
Ray | high-stats beam stage 1 comparison | see links above | |
Ray/Krzysztof | CPU time and product sizes | see above | |
Ray/Andrei | stopped muon rates and shape | see link above | |
Rob | magnetic field transport | ||
Dave (LBL) | tracker charge deposition/hit resolution | talk | |
Dave (LBL) | tracker background hit rates | ||
Dave (LBL) | tracker integrated charge | ||
Dave (LBL) | tracker electronics radiation | ||
Bertrand | calorimeter resolution | ||
Bertrand | calorimeter electronics radiation | ||
Ralf | CRV light model | ||
Yuri | neutron production rates and transport | ||
Yuri | CRV deadtime | ||
Dave (LBL) | conversion electron efficiency | ||
Jim | STM efficiency | ||
Jim | STM background | ||
Andrei | ExtMon efficiency | ||
Andrei | ExtMon background | ||
Ralf | cosmic background | ||
Bob | p-bar background | ||
Andrei | beam electron background | ||
Dave (Lou) | Pion backgrounds |