Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 1 Geometrical Event Biasing Facility Alex Howard ETH, Zurich Geometrical.

Slides:



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

Cosmos Motion User Interface
1Notes  Assignment 0 is being marked  Textbook reference for arc-length parameterization:  Section 3.2.
Using FLUKA to study Radiation Fields in ERL Components Jason E. Andrews, University of Washington Vaclav Kostroun, Mentor.
Improvements of sampling and scoring ( User Requirements: Scoring for event biasing options) Tsukasa Aso, Toyama National College of Maritime Technology,
Jet Reconstruction Algorithms Eric Vazquez PHENIX- Journal Club.
Prof. Reinisch, EEAS / Simple Collision Parameters (1) There are many different types of collisions taking place in a gas. They can be grouped.
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.
Monitoring and Pollutant Load Estimation. Load = the mass or weight of pollutant that passes a cross-section of the river in a specific amount of time.
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.
Neural Networks. Background - Neural Networks can be : Biological - Biological models Artificial - Artificial models - Desire to produce artificial systems.
Radial Basis Function Networks
Variance reduction A primer on simplest techniques.
Introducing the LEO 1400 Series
Photon reconstruction and calorimeter software Mikhail Prokudin.
EnSight analyze, visualize, communicate EnSight 6.x Advanced Training Part 1 Instructors: Mike Krogh, Anders Grimsrud.
Sergey Ananko Saint-Petersburg State University Department of Physics
GRAS Validation and GEANT4 Electromagnetic Physics Parameters R. Lindberg, G. Santin; Space Environment and Effects Section, ESTEC.
Dec 2000 GEANT4 Workshop - David Bailey Hadronic Interactions 1 Checking Basic Characteristics of Hadronic Shower Parameterizations in GHEISHA / GEANT4.
Advanced Web Forms with Databases Programming Right from the Start with Visual Basic.NET 1/e 13.
LASER AND ADVANCES IN METROLOGY
Other GEANT4 capabilities Event biasing Parameterisation (fast simulation) Scoring Persistency Parallelisation and integration in a distributed computing.
Advanced Variance Reduction Strategies for Optimizing Mesh Tallies in MAVRIC Douglas E. Peplow, Edward D. Blakeman, and John C. Wagner Nuclear Science.
Profiling study of Geant4-GATE VRTs discussion Nicolas Karakatsanis Alexander Howard Geant4 Users Workshop Medical/GATE Parallel Session 13 th September.
Nick Draper 05/11/2008 Mantid Manipulation and Analysis Toolkit for ISIS data.
Geant4 Event Biasing Marc Verderi, LLR (Heavily copied from Jane Tinslay, SLAC) June 2007.
Swing MVC Application Layering A Layer is a collection of components that Perform similar tasks. Perform similar tasks. Isolate implementation details.
1 Everyday Statistics in Monte Carlo Shielding Calculations  One Key Statistics: ERROR, and why it can’t tell the whole story  Biased Sampling vs. Random.
Instructed by: Alex Kogan Performed by: Adam Levi Tal Steier.
Overview Maurizio Ungaro 1HPS Collaboration meetingOctober Status, Future of GEMC.
Computing Performance Recommendations #13, #14. Recommendation #13 (1/3) We recommend providing a simple mechanism for users to turn off “irrelevant”
Monaco/MAVRIC: Computational Resources for Radiation Protection and Shielding in SCALE Douglas E. Peplow, Stephen M. Bowman, James E. Horwedel, and John.
IEEE Nuclear Science Symposium and Medical Imaging Conference Short Course The Geant4 Simulation Toolkit Sunanda Banerjee (Saha Inst. Nucl. Phys., Kolkata,
FLUKA dose and fluence simulations for CBM experiment I.Kadenko, O.Bezshyyko, V.Pluyko, V.Shevchenko National Taras Shevchenko University of Kiev.
Advanced EM - Master in Physics We have now calculated all the intermediate derivatives which we need for calculating the fields E and B. We.
5-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. May 28, 2009 Inventory # Chapter 5 Six Sigma.
Alex Howard - Event Biasing Geant4 Users - Lisbon Event biasing and Variance Reduction - Geometrical Alex Howard, CERN Geant4 Users Workshop, Lisbon.
Lesson 4: Computer method overview
New software library of geometrical primitives for modelling of solids used in Monte Carlo detector simulations Marek Gayer, John Apostolakis, Gabriele.
G4GeneralParticleSource Class: Developed by ESA as the space radiation environment is often quite complex in energy and angular distribution, and requires.
Strategy Using Strategy1. Scan Path / Strategy It is important to visualize the scan path you want for a feature before you begin taking points on your.
1 Statistics & R, TiP, 2011/12 Neural Networks  Technique for discrimination & regression problems  More mathematical theoretical foundation  Works.
Parallel session 8B summary Event Biasing Marc Verderi LLR, Ecole polytechnique Friday 14 th September Chartres.
26 Oct 2010PC Physics Requirements of Software from Chris R ~19 Oct. My.
Alex Howard, CERN - Event Biasing Overview – Hebden Bridge 13 th September Event biasing and Variance Reduction Alex Howard, CERN Event Biasing.
FCC-hh HCAL software goals Ana Henriques (thanks for Clement Helsens, Carlos Solans input)
Geant4 release 5.1 summary Gabriele Cosmo EP/SFT.
2011 Development Plan Makoto Asai (SLAC PPA/SCA) on behalf of the Geant4 Collaboration March 3 rd, Geant4 Technical Forum.
MONTE CARLO TRANSPORT SIMULATION Panda Computing Week 2012, Torino.
Geant4 for (Medical) Education “ Geant4 for (Medical) Education ” Toolkit and Courseware Geant4 Medical Workshop in Lyon 21 July 2006 Universite-Lyon I.
Alex Howard, ETHZ – Biasing Requirements – SLAC 21 st September Biasing Requirements and Interfaces Alex Howard ETH, Zurich Biasing Space User Requirements.
Workshop Geant4 Presentation September 14 th, 2007 FASTRAD V3.
Graphical Data Engineering
New idea for the target detector: SuperFGD
Status of Biasing: - Generic Biasing & - Reverse Monte Carlo
variance reduction techniques to improve efficiency of calculation A
variance reduction techniques to improve efficiency of calculation B
Monte Carlo studies of the configuration of the charge identifier
DB Implementation: MS Access Forms
variance reduction techniques to improve efficiency of calculation A
DB Implementation: MS Access Forms
The Hadrontherapy Geant4 advanced example
High Granularity Calorimeter Upgrade Studies
Advanced Examples Alex Howard, Imperial College, UK
Marc Verderi GEANT4 collaboration meeting 01/10/2002
Presentation transcript:

Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 1 Geometrical Event Biasing Facility Alex Howard ETH, Zurich Geometrical Event Biasing Facility Geant4 Collaboration Meeting, Chartres 1.Geometrical Event Biasing 2.Space User experience 3.“Smart” Biasing Facility 4.Discussion

Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 2 Geometric Biasing Importance sampling technique Weight window technique The purpose of geometry based event biasing is to save computing time* by sampling less often the particle histories entering “less important” geometry regions, and more often in more “important” regions. * But what about development time? (including debugging/doing something crazy)

Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 3 Comments: Importance based biasing is implemented without touching the physics list (Advantage) Requires a connection between parallel and mass geometries (i.e. you’d like to bias a region of interest which is related to how much material is present in the mass world) –Gets complicated with user RunManager (GRAS) and UI driven geometries (care with order and implementation) Previously most uses cases were concentrated on shielding studies with the biasing of neutrons Since 2007 geometrical biasing has been possible for any particle (electrons,  ’s…) Common use case is electronic component shielding with complex geometry (also GDML)

Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 4 Experience from Space/ELSHIELD: Request for simple UI to allow non-experts to use geometrical biasing Especially engineers looking at shielding (EM and electronic components for example) How to make it smart (i.e. limited commands), reliable and accurate?

Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 5 Space User Requirements General purpose biasing applied at the UI level MULASSIS (electronic shielding) and GRAS (general purpose space application) are examples Engineering-style tools Self-checking statistics/variance reduction? Attach to mass geometry/region of interest Auto generate interfaces (Geometrical Biasing) UI selectable (change parameters, switch on/off) As different tools/frameworks would be better to have a common solution within Geant4

Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 6 GRAS Interface The minimal (GRAS-based) interface the following interactive commands: /gras/biasdet/geom_biasing  switching geometrical importance biasing off or on /gras/biasdet/geometry  Choose importance sampling geometry: cylindrical, spherical or square /gras/biasdet/particle  Choose particle for biasing: e+, e-, gamma, neutron, proton /gras/biasdet/spacing  Choose importance sampling spacing: auto or custom /gras/biasdet/length  Length of biasing geometry from start /gras/biasdet/width  Radius of biasing geometry (cylindrical), side (square) /gras/biasdet/add_interface  Add an importance sampling interface at a given point (linear distance from start of biasing) /gras/biasdet/weight  Choose weight option: auto (~2), global (set value), custom (individual values) /gras/biasdet/start  Set start of the biasing geometry /gras/biasdet/update  Update geometry. Command MUST be applied before beamOn. Allows the user to apply an importance geometry on top of an existing application Number of interfaces and weights are automatically assigned within the user requested envelope. Only one particle can be biased, but the selection can be for electrons, photons or neutrons. The user is responsible for coinciding the bias geometry with the mass geometry and region of interest.

Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 7 Biasing in Mulassis and SPENVIS “Simple” interface introduced into MULASSIS where commands are: –Biasing on/off  /gras/geom_biasing/switch true Automatically sub-divides the mass geometry into 10 layers with bias weight of 2 per layer (splitting/russian roulette) –Particle e+,e-,gamma,neutron etc…  /gras/geom_biasing/particle e- –(if required) Granularity  /gras/geom_biasing/granularity fine Doubles the number bias layers More “Advanced” interface is hidden Automatic biasing better placed within Geant4?

Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 8 Smart Biasing Solution? Easy solution: Create parallel geometry attached to region of interest/mass geometry? Important biasing activated through simple UI commands Geant4 takes care of matching the mass geoemetry (co-ordinate and envelope coincidence) User has option to define directionality, granularity and weight settings Aside: Could we have a common interface/implementation with Reverse Monte Carlo?

Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 9 Automatic Biasing Division of mass geometry into importance “slabs” follows a prescribed procedure: 1.Decide on region of interest 2.Direction from source to sensitive detector 3.Particle of interest 4.Divide up geometry “sensibly” 5.Apply power law of splitting weights along direction of interest Choice of division depends on interaction length of source particle Could Geant4 do the job for the user?

Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 10 Automatic Biasing Requirements Ability to “see” the mass geometry (or user defines start and end?) Calculate mean interaction length between source and target (SD) Create parallel geometry at the correct points Apply “sensible” weights Test result? Optimisation? Convergence testing?

Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 11 Automatic Biasing - Advantages User doesn’t have to worry about coincidence between mass geometry and parallel (biased) one Removes co-ordinate transformations issues (e.g. GDML) User doesn’t need to calculate what is sensible w.r.t. interaction length or energy and particle type Removes over-biasing and creating billions of particles Biasing implementation is simple / hidden Suitable for all users, not just advanced/developers Would increase usage of biasing and the inherent performance advantages Results more accurate/reliable No garbage Increases stability/removes crashes

Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 12 Is it possible? / Which “helper” classes? How much would the user have to define? E.g. GRAS vs. MULASSIS solutions Start and end co-ordinates with direction? Can Geant4 be smart? Take information from particle gun and sensitive detector? Get cross-section table from physics list Can the biasing process be smart? The instantiation, initialisation and implementation are crucial Had some difficulties with GRAS (custom RunManager, detector constructor etc….) Things must occur at the right time How to check the result? Convergence testing? Sub-running/optimisation? Is it worth the effort? Users? Advanced knowledge?