Status of Biasing: - Generic Biasing & - Reverse Monte Carlo

Slides:



Advertisements
Similar presentations
Lectures 6&7: Variance Reduction Techniques
Advertisements

Stefan Roesler SC-RP/CERN on behalf of the CERN-SLAC RP Collaboration
P HI T S Exercise ( II ) : How to stop , ,  -rays and neutrons? Multi-Purpose Particle and Heavy Ion Transport code System title1 Feb revised.
Physics Lists from a pedestrian ESA/ESTEC G4 meeting, october 2010 Plenary Session VI : “New physics model development and physics list” Marc Verderi LLR,
Pedro Arce Point detector scoring 1 Point detector scoring in GEANT4 Pedro Arce, (CIEMAT) Miguel Embid (CIEMAT) Juan Ignacio Lagares (CIEMAT) Geant4 Event.
Radiation Exposure, Dose and Relative Biological Effectiveness in Medicine Background Image:
© Copyright QinetiQ 2006 G4 C-S Biasing Based on the G4WrapperProcess Fan Lei Geant4 Biasing Mini Workshop, SLAC 21 March 2007.
Adapted from G G Daquino, Geant4 Workshop, Catania, 5 Oct 2004 Event Biasing in G4: Why and what? Key User Requirements J. Apostolakis, CERN 19 March 2007.
Alex Howard - Event Biasing Mini-Workshop - SLAC Geometrical Event biasing and Variance Reduction – Talk 2 Alex Howard, CERN Event Biasing Mini-Workshop,
Geant4 Event Biasing Jane Tinslay, SLAC May 2007, Geant4 v8.2.p01.
J. Tinslay 1, B. Faddegon 2, J. Perl 1 and M. Asai 1 (1) Stanford Linear Accelerator Center, Menlo Park, CA, (2) UC San Francisco, San Francisco, CA Verification.
1 Work Plan/Summary I By 25 th May 2007… Class clean-up – biasing and scoring… What to remove? (for v9.0) –Biasing VScorer and associated classes (in transportation.
CMS Full Simulation for Run-2 M. Hildrith, V. Ivanchenko, D. Lange CHEP'15 1.
P HI T S Advanced Lecture (II): variance reduction techniques to improve efficiency of calculation Multi-Purpose Particle and Heavy Ion Transport code.
Alex Howard, CERN - Event Biasing Overview – Hebden Bridge 12 th September Event biasing – An Overview Alex Howard, CERN Event Biasing Overview.
Variance reduction A primer on simplest techniques.
Progress on generic biasing Marc Verderi LLR – Ecole polytechnique Geant4 Collaboration Meeting Seville September 2013.
Marc Verderi - IN2P3 SLAC User's Workshop.1 Introduction G EANT4 has been designed to allow users to implement new processes the kernel will treat as any.
Precision Analysis of Electron Energy Deposition in Detectors Simulated by Geant4 M. Bati č, S. Granato, G. Hoff, M.G. Pia, G. Weidenspointner 2012 NSS-MIC.
Geant4 Electromagnetic Physics Introduction V.Ivanchenko, M.Maire, M.Verderi  Process interface  Physics categories  Electromagnetic physics  PhysicsList.
Planned Geant4 developments for LLR Marc Verderi Laboratoire Leprince-Ringuet, École polytechnique Annecy ATF-2 meeting October 2006.
Pedro Arce Introducción a GEANT4 1 GAMOS tutorial Plug-in’s Exercises Pedro Arce Dubois CIEMAT
Normalisation modelling sources Geant4 tutorial Paris, 4-8 June 2007 Giovanni Santin ESA / ESTEC Rhea System SA.
Geant4 Event Biasing Marc Verderi, LLR (Heavily copied from Jane Tinslay, SLAC) June 2007.
Progress on generic biasing Marc Verderi LLR – Ecole polytechnique Geant4 Collaboration Meeting Seville September 2013.
Computing Performance Recommendations #13, #14. Recommendation #13 (1/3) We recommend providing a simple mechanism for users to turn off “irrelevant”
Hadronic Interaction Studies for LHCb Nigel Watson/Birmingham [Thanks to Silvia M., Jeroen v T.]
IEEE Nuclear Science Symposium and Medical Imaging Conference Short Course The Geant4 Simulation Toolkit Sunanda Banerjee (Saha Inst. Nucl. Phys., Kolkata,
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Collaboration.
Alex Howard - Event Biasing Geant4 Users - Lisbon Event biasing and Variance Reduction - Geometrical Alex Howard, CERN Geant4 Users Workshop, Lisbon.
Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 1 Geometrical Event Biasing Facility Alex Howard ETH, Zurich Geometrical.
Parallel session 8B summary Event Biasing Marc Verderi LLR, Ecole polytechnique Friday 14 th September Chartres.
Workshop On Nuclear Data for Advanced Reactor Technologies, ICTP , A. Borella1 Monte Carlo methods.
Alex Howard, CERN - Event Biasing Overview – Hebden Bridge 13 th September Event biasing and Variance Reduction Alex Howard, CERN Event Biasing.
GD AND GD2O3 COATINGS AS NEUTRON CONVERTERS Dorothea Pfeiffer
1 Giuseppe G. Daquino 26 th January 2005 SoFTware Development for Experiments Group Physics Department, CERN Background radiation studies using Geant4.
Physics II : processes Paris Geant4 Tutorial 5 June 2007 Marc Verderi Ecole Polytechnique - LLR.
Alex Howard PH-SFT LCG-PV 10 th May 2006 Neutron Benchmark for Geant4 using TARC – initial status 1)TARC – experimental set-up and aims 2)Geant4 Simulation.
MARS Simulation Tweaking the material (Dose vs. Shield Composition) Next steps Tom Diehl 03/10/2004.
Extrapolation Techniques  Four different techniques have been used to extrapolate near detector data to the far detector to predict the neutrino energy.
New approach of Geant4 Low Energy EM models (from version 9.3) Luciano Pandola INFN, Laboratori del Gran Sasso MaGe Joint Workshop, Munich, January 2010.
MONTE CARLO TRANSPORT SIMULATION Panda Computing Week 2012, Torino.
Geant4 KISTI Tutorial Marc Verderi LLR – Ecole polytechnique October 2012 Event Biasing 01/11/2012 MARC VERDERI - LLR ECOLE POLYTECHNIQUE - GEANT4 KISTI.
Geant4 KISTI Tutorial Marc Verderi LLR – Ecole polytechnique October 2012 Physics II: Overview, Processes, Production Threshold.
Alex Howard, ETHZ – Biasing Requirements – SLAC 21 st September Biasing Requirements and Interfaces Alex Howard ETH, Zurich Biasing Space User Requirements.
A Study of Reverse MC and Space Charge Effect Simulation with Geant4
Background simulations: update and simulations of absorbed dose
Interaction with the Geant4 kernel
Yet another approach to the ToF-based PID at PANDA
Measurements and FLUKA Simulations of Bismuth and Aluminum Activation at the CERN Shielding Benchmark Facility(CSBF) E. Iliopoulou, R. Froeschl, M. Brugger,
variance reduction techniques to improve efficiency of calculation A
Status of Biasing Development
Interaction with the Geant4 kernel
Summary of hadronic tests and benchmarks in ALICE
variance reduction techniques to improve efficiency of calculation B
Complete description of the 12C(n,n'3a) and 12C(n,a)9Be reactions in the High Precision neutron model A. R. Garcia, E. Mendoza and D. Cano-Ott Nuclear.
Monte Carlo studies of the configuration of the charge identifier
variance reduction techniques to improve efficiency of calculation A
How to stop a, b, g-rays and neutrons?
Other GEANT4 capabilities
Recent, undergoing and planned ESA-supported activities concerning development, use and promotion of the Geant4 toolkit E. Daly, R. Nartallo, P. Nieminen.
Design of A New Wide-dynamic-range Neutron Spectrometer for BNCT with Liquid Moderator and Absorber S. Tamaki1, I. Murata1 1. Division of Electrical,
Search for coincidences and study of cosmic rays spectrum
GAMOS tutorial Plug-in’s Exercises
Marc Verderi GEANT4 collaboration meeting 01/10/2002
Based on a presentation of M.Verderi
Kernel Author: Makoto Asai.
Setting of various source Part II
Lesson 4: Application to transport distributions
Simulation in Experiments searching for rare events
Presentation transcript:

Status of Biasing: - Generic Biasing & - Reverse Monte Carlo Marc Verderi LLR/Ecole polytechnique Wollongong Collaboration Meeting September 2017

Status of Biasing - Wollongong G4 CM - Sept. 2017 Generic Biasing Status of Biasing - Wollongong G4 CM - Sept. 2017

Status of Biasing - Wollongong G4 CM - Sept. 2017 Parallel Worlds (1/2): Generic Biasing scheme extended to allow for parallel geometries in 10.3 Navigation and interface to geometries provided by: G4ParallelGeometriesLimiterProcess: new process to limits the step on the boundaries of the parallel geometries; one instance handles all parallel geometries the generic biasing has to be aware of; G4BiasingProcessInterface: The process which makes the interface between the tracking and the biasing classes; Extended to check for biasing operator in mass and parallel geometries; And facility classes: G4BiasingProcessSharedData: information shared among biasing processes; extended to carry information on the limiter process, if any; G4GenericBiasingPhysics: physics constructor, a helper class to configure physics list for activating the biasing; extended for adding a G4ParallelGeometriesLimiterProcess instance: FTFP_BERT* physicsList = new FTFP_BERT; G4GenericBiasingPhysics* biasingPhysics = new G4GenericBiasingPhysics(); biasingPhysics->Bias("neutron"); biasingPhysics->AddParallelGeometry("neutron","parallelWorld1"); biasingPhysics->AddParallelGeometry("neutron","parallelWorld2"); physicsList->RegisterPhysics(biasingPhysics); Status of Biasing - Wollongong G4 CM - Sept. 2017

Status of Biasing - Wollongong G4 CM - Sept. 2017 Parallel Worlds (2/2): Example extended/biasing/GB06: Illustrates usage of parallel geometry with a classical shield problem i.e. a geometry-based importance splitting Geometry: Mass geometry : a single block of concrete Parallel world : define the slices Importance of slices being a function of their copy number Incident neutron in concrete block with biasing activated. Slices on this figure are in the parallel geometry Status of Biasing - Wollongong G4 CM - Sept. 2017

Example GB05: Splitting by cross-section Generic biasing designed to allow invention of techniques/user’s plugin Many information provided to user’s classes Opportunities provided to modify physic process behavior and/or to split/kill tracks. Purpose of example GB05 is to illustrate this with an invented (?) technique « Splitting by cross-section » : mix of “physics-based” and splitting/killing technique Supposed to be an invention Principle of the « Splitting by cross-section » : Geometry-based importance biasing has to chose slice thicknesses so that: There is enough splitting so that the flux does not decay in the shield Not too much splitting to avoid a divergence in the (unweighted) flux In this technique the splitting rate follows the one of the disappearance by physics A biasing operation is introduced so that the G4BiasingProcessInterace process Competes with other processes in the GPIL race With a « cross-section » value which is the physical absorption cross-section one Eg : for neutrons, this is « Decay + nCapture + neutronInelastic » Has a PostStepDoIt that splits the track (by 2) Technique is applied to tracks moving forward Others are killed by Russian roulette Example shows the technical aspect Actual performances need to be studied ! Status of Biasing - Wollongong G4 CM - Sept. 2017

Status of Biasing - Wollongong G4 CM - Sept. 2017 Code snapshots Decision taking on biasing to apply: Here, a decision at the beginning of the step, in the GPIL race Decision taken by a « biasing operator » Which decides of a « biasing operation » to be applied and sets it up G4VBiasingOperation* GB05BOptrSplitAndKillByCrossSection:: ProposeNonPhysicsBiasingOperation(const G4Track* track, const G4BiasingProcessInterface* ) { … G4double totalCrossSection(0.0); for ( size_t i = 0 ; i < fProcesses.size() ; i++ ) { G4double interactionLength = fProcesses[i]->GetCurrentInteractionLength(); if ( interactionLength < DBL_MAX/10. ) totalCrossSection += 1./interactionLength; } if ( totalCrossSection < DBL_MIN ) return nullptr; G4double totalInteractionLength = 1./totalCrossSection; fSplitAndKillByCrossSection->SetInteractionLength( totalInteractionLength ); return fSplitAndKillByCrossSection; Status of Biasing - Wollongong G4 CM - Sept. 2017

Status of Biasing - Wollongong G4 CM - Sept. 2017 Code snapshots Decision taking on biasing to apply: Here, a decision at the beginning of the step, in the GPIL race Decision taken by a « biasing operator » Which decides of a « biasing operation » to be applied and sets it up G4VBiasingOperation* GB05BOptrSplitAndKillByCrossSection:: ProposeNonPhysicsBiasingOperation(const G4Track* track, const G4BiasingProcessInterface* ) { … G4double totalCrossSection(0.0); for ( size_t i = 0 ; i < fProcesses.size() ; i++ ) { G4double interactionLength = fProcesses[i]->GetCurrentInteractionLength(); if ( interactionLength < DBL_MAX/10. ) totalCrossSection += 1./interactionLength; } if ( totalCrossSection < DBL_MIN ) return nullptr; G4double totalInteractionLength = 1./totalCrossSection; fSplitAndKillByCrossSection->SetInteractionLength( totalInteractionLength ); return fSplitAndKillByCrossSection; Status of Biasing - Wollongong G4 CM - Sept. 2017

Code snapshots These processes in fProcesses have been selected at construction time: void GB05DetectorConstruction::ConstructSDandField() { … GB05BOptrSplitAndKillByCrossSection* biasingOperator = new GB05BOptrSplitAndKillByCrossSection("neutron"); biasingOperator->AddProcessToEquipoise("Decay"); biasingOperator->AddProcessToEquipoise("nCapture"); biasingOperator->AddProcessToEquipoise("neutronInelastic"); } And put under biasing control in the main, with biasing physic constructor: G4GenericBiasingPhysics* biasingPhysics = new G4GenericBiasingPhysics(); biasingPhysics->Bias("neutron"); physicsList->RegisterPhysics(biasingPhysics); This makes in particular processes interaction length updated by the biasing machinery at the beginning of the step (by the first wrapper): Updated physics quantities (eg: cross-sections) hence easily accessible to developer Offload a lot of internal Geant4 technicalities from the biasing developer ! Makes physics processes wrapped Status of Biasing - Wollongong G4 CM - Sept. 2017

Status of Biasing - Wollongong G4 CM - Sept. 2017 Illustration of GB05 Incident neutron in concrete block with biasing activated. Status of Biasing - Wollongong G4 CM - Sept. 2017

Status of Biasing - Wollongong G4 CM - Sept. 2017 Ongoing: Statistical test suite: Need for verifying statistical correctness of weight application Verifications done with “private” tests up to know Sharing between biasing options possible: Many variables are common to the various biasing options Procedure is always to compare biasing against analog At present private development, under test49 Allows several geometries Cross-section change and forced interaction scheme first tested Biasing option developments: Implicit capture Will benefit from easy cross-section access DXTRAN: Will likely use parallel geometry (to define the region of interest) Prototyping of charged particle biasing (difficult !) Status of Biasing - Wollongong G4 CM - Sept. 2017

Status of Biasing - Wollongong G4 CM - Sept. 2017 Reverse Monte Carlo Material from Laurent Desorgher Centre hospitalier universitaire vaudois (CHUV) (Text in blue : Marc’s addition to Laurent’s slides) Status of Biasing - Wollongong G4 CM - Sept. 2017

Reverse MC method Reverse MC Start from the tiny sensitive volume Reverse tracking until external source with occurence of reverse processes Geant4 Reverse Compton, Photoe-electric, bremsstrahlung, ionisation e-,protons

Reverse MC development in GEANT4 since last collaboration meeting Implementation of the forced interaction for reverse gamma First release and default mode in geant4.10.3 One issue was convergence difficulty with thick shields: Appearance of large weights that affected the convergence Identified as a “typical” symptom of insufficient sampling of some phase space region(s) Laurent worked on forced interactions Looks to solve/improve the problem

Principle of forced interaction for gamma reverse physics Most of the time the reverse/forward gamma will not interact in the geometry Idea -> Force interactions along the track of the reverse gamma to go back to a primary electron on the other side of the shielding One gamma is sent, not interacting But collects the amount of material traversed A second gamma if forced to interact in this amount of material Scheme is being extended to incident electrons

Forced interaction applied to all gammas till an electron is produced 3rd 2nd Example 1st reverse forced interaction reverse compton 2nd reverse forced interaction reverse compton 3rd reverse forced interaction reverse brem

Test of forced interaction for gamma Adjoint Forward Fluence [a.u] Jupiter mission e- primary spectrum Secondary gammas beyond 2mm Al shielding Validation of brem and compton reverse forcing Energy [MeV]

ESA Satellite geometry by M. Vuolo Internal structure made of “sandwich” panels: 0.6 mm Carbon 10 mm Al Honeycomb External structure made of “sandwich” panels: 0.6 mm Carbon 19 mm Al Honeycomb Ti (1mm) fuel Tank, Hydrazine inside Unit_1_2mm_Al 1.25 m 4xRadiators: 1mm Aluminum

ESA Satellite geometry by M. Vuolo Internal structure made of “sandwich” panels: 0.6 mm Carbon 10 mm Al Honeycomb External structure made of “sandwich” panels: 0.6 mm Carbon 19 mm Al Honeycomb Ti (1mm) fuel Tank, Hydrazine inside Unit_1_2mm_Al 1.25 m Sensitive volume 1 0.1 mm Thick Si volume on PCB With 2 mm Al local shield Sensitive volume 2 JUICE box 0.1 mm Thick Si volume on PCB 1mm Pb+6mm Al local shield 4xRadiators: 1mm Aluminum

Results Sensitive volume1 Reverse and Forward MC computed agree within 10%

Convergence RMC dose Sensitive volume1 Sensitive detector 2 shows same level of agreement and convergence

Status of Biasing - Wollongong G4 CM - Sept. 2017 Conclusion Generic biasing: Parallel geometry introduced in 10.3 And two new examples Parallel geometry (GB06) & « splitting by cross-section » (GB05) Statistical test suite soon available Options ongoing: Implicit capture & DXTRAN Prototyping of charged particle biasing Reverse Monte Carlo: Forced interaction for reverse gamma introduced Forced interaction for reverse electron prototyped Look to improve long pending issue of convergence Updated version of RMC is now available in last release of GRAS (4.0) Plan to: Allow ability to do per process forced interaction or free flight for gammas Add importance sampling to further improve convergence Manpower : is still an issue Status of Biasing - Wollongong G4 CM - Sept. 2017