+ All Categories
Home > Documents > Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the...

Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the...

Date post: 30-Mar-2015
Category:
Upload: josiah-haskew
View: 223 times
Download: 1 times
Share this document with a friend
Popular Tags:
47
Geant4 in Geant4 in production: status production: status and developments and developments John Apostolakis (CERN) John Apostolakis (CERN) Makoto Asai (SLAC) Makoto Asai (SLAC) for the Geant4 for the Geant4 collaboration collaboration
Transcript
Page 1: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Geant4 in production: Geant4 in production: status and status and

developmentsdevelopments

John Apostolakis (CERN)John Apostolakis (CERN)

Makoto Asai (SLAC)Makoto Asai (SLAC)

for the Geant4 collaborationfor the Geant4 collaboration

Page 2: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 2

OutlineOutline

1.1. Geant4 is heavily used Geant4 is heavily used ► HEP, imaging, radiotherapy, satellite applicationsHEP, imaging, radiotherapy, satellite applications

2.2. Improvements in Geant4 capabilitiesImprovements in Geant4 capabilities Improved stability of EM energy deposition, Improved stability of EM energy deposition,

resolutionresolution Extensions to geometry modelerExtensions to geometry modeler New, improved hadronic modelsNew, improved hadronic models

3.3. Strengths seen in use, productionStrengths seen in use, production► Users create applications and extend the toolkitUsers create applications and extend the toolkit

► Validate for and utilise in new application areasValidate for and utilise in new application areas► Customise/extend toolkit, profiting from open sourceCustomise/extend toolkit, profiting from open source

► Robustness shown in large scale productionsRobustness shown in large scale productions

Page 3: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 3

1. Geant4’s in HEP, 1. Geant4’s in HEP, productionproduction

►HEP Experiments in large scale HEP Experiments in large scale productionproduction BaBar (2001)BaBar (2001) CMS (2003)CMS (2003) ATLAS (2004) ATLAS (2004) LHCb (2004)LHCb (2004)

►Used in many existing experimentsUsed in many existing experiments KamLAND, KamLAND, Borexino, HARP, …Borexino, HARP, …

►Used to study future experiments Used to study future experiments ILC, NA48/3 (PA326), …ILC, NA48/3 (PA326), …

Page 4: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 4

Geant4’s widespread useGeant4’s widespread use

► Imaging, radiotherapy, dosimetryImaging, radiotherapy, dosimetry PET and SPECT imaging (GATE), PET and SPECT imaging (GATE), brachytherapy, hadrontherapy, brachytherapy, hadrontherapy,

►Space: satelites and planetary Space: satelites and planetary missionsmissions XMM, INTEGRAL, Bepe Colombo, LISA, … XMM, INTEGRAL, Bepe Colombo, LISA, …

►Radiation assessment, dosimetryRadiation assessment, dosimetry LHCb, Electronics (TCAD), … LHCb, Electronics (TCAD), …

Page 5: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 5

2. Geant4 improvements2. Geant4 improvements

► Improved stability of EM energy deposition, Improved stability of EM energy deposition, resolutionresolution From revision of electron transport (Multiple From revision of electron transport (Multiple

scattering)scattering) Enables better accuracy at higher cuts - with less CPUEnables better accuracy at higher cuts - with less CPU

► Extensions to geometry modelerExtensions to geometry modeler

► Ability to revise many particle propertiesAbility to revise many particle properties

► Refinements, improvements in hadronicsRefinements, improvements in hadronics► Physics ListsPhysics Lists

Page 6: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 6

Energy deposition and cuts: Energy deposition and cuts: issuesissues

► Electron transport is key to accurate Electron transport is key to accurate energy depositionenergy deposition, resolution, resolution in setups with materials with very different Z in setups with materials with very different Z

► UsersUsers reported reported resultsresults strongly strongly dependentdependent on cut value (or step on cut value (or step limits) limits) Sampling calorimeters: Atlas (Cu–lAr), ILC (W-Si), LHCb (Pb-Sci)Sampling calorimeters: Atlas (Cu–lAr), ILC (W-Si), LHCb (Pb-Sci) In water phantoms with perturbing layer (Poon & Verhaegen)In water phantoms with perturbing layer (Poon & Verhaegen)

► Cut dependence Cut dependence verifiedverified in HEP sampling calorimeters in HEP sampling calorimeters (eg Cu-lAr, (eg Cu-lAr, Pb-Sci) Pb-Sci) Energy deposited varied 10%-30% when production cuts are changed Energy deposited varied 10%-30% when production cuts are changed

from 1 from 1 m to 1 mm m to 1 mm ► Effect existed in previous Geant4 releases (5.x, 6.x and 7.x)Effect existed in previous Geant4 releases (5.x, 6.x and 7.x)

► An extensive An extensive investigationinvestigation concluded that the concluded that the Multiple Scattering Multiple Scattering process could beprocess could be improved improved Revisions Revisions providedprovided in Geant4 8.0 address these issue in Geant4 8.0 address these issue

M. Maire, L. UrbanM. Maire, L. Urban

Page 7: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

7Geant4 in production : status and developments, CHEP 2006Feb 13th, 2006

First First resultsresults

ZZM. Maire, L. UrbanM. Maire, L. Urban

Production cut (mm)Production cut (mm)

Visible EnergyVisible Energy

In Pb scintilatorIn Pb scintilator

Calorimeter Calorimeter

1 GeV electrons1 GeV electronsGeant4 7.1Geant4 7.1 varied 20%varied 20%

Geant4 8.0Geant4 8.0

Vis

ible

En

erg

y

Vis

ible

En

erg

y

(MeV

)(M

eV

)

Page 8: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

8Geant4 in production : status and developments, CHEP 2006Feb 13th, 2006

CPU versus physics performanceCPU versus physics performanceV

isib

le E

nerg

y f

ract

ion

=

Vis

ible

En

erg

y f

ract

ion

=

Evis

/EE

vis

/E

Simple calorimeter similar to LHCb setup Simple calorimeter similar to LHCb setup

Geant4 8.0Geant4 8.0

More stable EMore stable Evisiblevisible, resolution and less CPU, resolution and less CPU

G4 8.0G4 8.0

Page 9: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 9

Energy Energy deposition and cuts: deposition and cuts: resolutionresolution

Revisions of Multiple Scattering (available in release 8.0)Revisions of Multiple Scattering (available in release 8.0)► Improvements to physical model – calculating displacement and Improvements to physical model – calculating displacement and

applying itapplying it Introduced Introduced correlationcorrelation between scattering angle and lateral between scattering angle and lateral

displacementdisplacement Ensure recalculation of geometry ‘Ensure recalculation of geometry ‘safetysafety’ before sampling the ’ before sampling the

displacementdisplacement► Since the safety value limits the displacement allowed Since the safety value limits the displacement allowed

► Improvements in restricting step:Improvements in restricting step: Stricter step restriction Stricter step restriction

► using smaller fraction (0.02 vs old 0.02) of particle’s rangeusing smaller fraction (0.02 vs old 0.02) of particle’s range► in all volumes, including the starting volume of track in all volumes, including the starting volume of track

Restrict step size using geometrical informationRestrict step size using geometrical information► Ensures more than one step in each volumeEnsures more than one step in each volume

Note: User can switch off the extra new step limitation (for comparisons) Note: User can switch off the extra new step limitation (for comparisons) For more information please see For more information please see upcoming talkupcoming talk “The recent Upgrades “The recent Upgrades

in the Geant4 Standard Electromagnetic Physics Package”in the Geant4 Standard Electromagnetic Physics Package”M. Maire, L. M. Maire, L.

UrbanUrban

Page 10: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 10

Geometry improvementsGeometry improvements

► New New solidssolids for unusual shapes for unusual shapes Twisted trapezoid, ellipsoid, tetrahedronTwisted trapezoid, ellipsoid, tetrahedron

► Ability to Ability to measure volumemeasure volume (mm (mm33)) Use it Use it to measure also to measure also the mass of a setupthe mass of a setup

► Refinement to support better Refinement to support better dynamic dynamic geometriesgeometries Option to only re-optimise parts that change with runOption to only re-optimise parts that change with run

► New ability to New ability to detectdetect overlapoverlap problems problems when user creates his/her geometry setupwhen user creates his/her geometry setup

► Tool for large Tool for large regularregular (‘voxel’) geometries (‘voxel’) geometries When only material varies in regular structureWhen only material varies in regular structure

More in presentation on “The Geant4 Geometry Modeler”More in presentation on “The Geant4 Geometry Modeler”

Page 11: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

11Geant4 in production : status and developments, CHEP 2006Feb 13th, 2006

Verification / validationVerification / validation

►Additional thin-target comparisonsAdditional thin-target comparisons For verifying modelsFor verifying models

►Validation Validation New comparisons (eg CMS TB2004, ATLAS New comparisons (eg CMS TB2004, ATLAS

CTB)CTB) Revisiting test-beam comparisonsRevisiting test-beam comparisons

►Eg Atlas HECEg Atlas HEC EM calibration below per-cent levelEM calibration below per-cent level Open challenges for hadronic calorimetryOpen challenges for hadronic calorimetry

►Shower shape, energy density (at low values)Shower shape, energy density (at low values)

Page 12: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

12Geant4 in production : status and developments, CHEP 2006Feb 13th, 2006

Mass Mass yield yield curvecurve

Geant4 Geant4 Bertini Bertini

vs vs ExperimeExperimentnt

Page 13: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

13Geant4 in production : status and developments, CHEP 2006Feb 13th, 2006

ATLAS HEC: G4 7.0p01 PRELIMINARY, Oct 2005

Thanks to A. Kiryunin, ATLAS-HECThanks to A. Kiryunin, ATLAS-HEC

Upd

ate

d c

om

pari

son

s fr

om

5.2

Upd

ate

d c

om

pari

son

s fr

om

5.2

Page 14: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 14

Additional capabilitiesAdditional capabilities

► Fast simulation (shower parameterisation)Fast simulation (shower parameterisation) Originally a framework for users’ parameterisationsOriginally a framework for users’ parameterisations New New GFLASHGFLASH concrete implementation concrete implementation

See presentation in EPA-3 (Tues) See presentation in EPA-3 (Tues)

Extending use of ‘Regions’ to fast simulationExtending use of ‘Regions’ to fast simulation

► Handle ‘unknown’ particles (Handle ‘unknown’ particles (with no G4 physicswith no G4 physics)) Accept from Event Generator, transport, decayAccept from Event Generator, transport, decay

► Now allow change in Now allow change in particlesparticles’ properties’ properties In initialisation phase the user can change unstable In initialisation phase the user can change unstable

particles’ mass, width, .. particles’ mass, width, ..

Page 15: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 15

3. Users apply and extend G43. Users apply and extend G4

► Tools using Geant4 for class of related applicationsTools using Geant4 for class of related applications GATE toolGATE tool

► ““Geant4 Application for Tomographic Emission”Geant4 Application for Tomographic Emission” BDSIM for beam-line simulationsBDSIM for beam-line simulations

► Users extend Geant4Users extend Geant4 Special solids for own geometry Special solids for own geometry (many -> G4)(many -> G4)

► Atlas endcap solid (fan), twisted tube (KEK), Tet (vanderbilt)Atlas endcap solid (fan), twisted tube (KEK), Tet (vanderbilt) GFLASH shower parameterisation GFLASH shower parameterisation (Atlas, CMS -> G4)(Atlas, CMS -> G4) ‘‘Regular’ navigation (10-100 mil volumes at one level)Regular’ navigation (10-100 mil volumes at one level) Use of 2,500 materialsUse of 2,500 materials

Key strengths exploited: architecture, open sourceKey strengths exploited: architecture, open source

Page 16: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Harald Paganetti

GEANT4 based proton dose calculation in a clinical environment: technical aspects, strategies and challenges

Page 17: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

17 / 27Centre d’Etudes Nucléaires de Bordeaux - Gradignan

Microbeam simulation: Comparison in high (PIXE) and low flux (STIM) modes

90 nm x 50 nm300 nm x 200 nm

• Nice agreement between TRAX and Geant4 (square field model, no map)• Sharp STIM image, distorted PIXE image (chromatic and spherical aberrations)• Compatible with probe size requirements• Pure vacuum, no collimators

Geant4 versus TRAX (reference)

Thanks to S. IncertiThanks to S. Incerti

Page 18: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 18

Users extend Geant4Users extend Geant4

► For regular voxel phantom geometriesFor regular voxel phantom geometries Tens of millions of volumes at one level!Tens of millions of volumes at one level! Revising one/two navigation class(es)Revising one/two navigation class(es)

► K. Sutherland, H. JiangK. Sutherland, H. Jiang

► To simulate thousands of materials To simulate thousands of materials Varying in densityVarying in density storing physics tables for tens/hundredsstoring physics tables for tens/hundreds

► H. Jiang / H. PaganettiH. Jiang / H. Paganetti

► Utilise toolkit and open sourceUtilise toolkit and open source And customise for own application And customise for own application

requirements / constraintsrequirements / constraints

Page 19: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 19

Robustness, testingRobustness, testing

► Low rate of problems in productionLow rate of problems in production Was <~ 10Was <~ 10-4 -4 per LHC event with G4 5.xper LHC event with G4 5.x CMS reports 10CMS reports 10-6 -6 per event (G4-related) with G4 6.2per event (G4-related) with G4 6.2

► New, large-scale, regressions testingNew, large-scale, regressions testing Finds rare problemsFinds rare problems Used LCG/EGEE GridUsed LCG/EGEE Grid

► Need and got > 150 CPU-weeks in 10 daysNeed and got > 150 CPU-weeks in 10 days G4 VO: thanks to LCG team, CERN, Imperial C., Nikhef, CIEMAT G4 VO: thanks to LCG team, CERN, Imperial C., Nikhef, CIEMAT

Identifies physics revisions, finds new software issuesIdentifies physics revisions, finds new software issues► See A. Ribon’s talkSee A. Ribon’s talk

Page 20: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 20

http://www.in-cites.com/hotpapers/2004/november04-eng.html

http://www.in-cites.com/hotpapers/2005/july05-eng.html

Page 21: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 21

SummarySummary► Improvements in Improvements in multiple scatteringmultiple scattering process process

Addressing issues with ‘electron transport’Addressing issues with ‘electron transport’► Speedups for initialisation/navigationSpeedups for initialisation/navigation

Option to only re-optimise parts that change with Option to only re-optimise parts that change with runrun

New voxelisation options being studied for New voxelisation options being studied for regularregular geometriesgeometries

► Overlap checks at geometry constructionOverlap checks at geometry construction► Revised implementation of particlesRevised implementation of particles

Impacting advanced users, customizingImpacting advanced users, customizing ► Refinements in hadronic physicsRefinements in hadronic physics

Page 22: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

More slides on EM More slides on EM revisions, revisions,

performanceperformance

Page 23: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 23

Multiple Scattering model Multiple Scattering model upgrade LHCb type calorimeterupgrade LHCb type calorimeter

V. IvantchenkoV. Ivantchenko

Page 24: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 24

Atlas HEC : CuAtlas HEC : Cu(25mm)(25mm)-lAr-lAr(8.5mm)(8.5mm)

Energy Deposited (GeV)Energy Deposited (GeV) RMS/ (E * sqrt(ERMS/ (E * sqrt(E00/GeV) (%)/GeV) (%)

Page 25: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 25

LHCb : PbLHCb : Pb(2mm)(2mm)-Sc-Sc(4mm)(4mm)

Page 26: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 26

Energy deposition and cuts Energy deposition and cuts (more)(more)

► Electron transport is key to accurate Electron transport is key to accurate energy depositionenergy deposition, resolution, resolution in setups with materials with very different Z in setups with materials with very different Z

► UsersUsers reported reported resultsresults strongly strongly dependentdependent on cut value and step on cut value and step limits limits Atlas sampling calorimeter (Cu – lAr )Atlas sampling calorimeter (Cu – lAr ) In water phantoms with perturbing layer (Poon & Verhaegen)In water phantoms with perturbing layer (Poon & Verhaegen) In other hadronic calorimeters (W-Si ILC, Pb-Sci LHCb) In other hadronic calorimeters (W-Si ILC, Pb-Sci LHCb)

► Cut dependence Cut dependence verifiedverified in HEP sampling calorimeters in HEP sampling calorimeters (eg Cu-lAr, Pb-(eg Cu-lAr, Pb-Sci) Sci) Energy deposition varied 10%-30% in changing production cuts from 1 Energy deposition varied 10%-30% in changing production cuts from 1

m to 1 mm m to 1 mm ► Effect existed in recent Geant4 releases (5.x, 6.x and 7.x)Effect existed in recent Geant4 releases (5.x, 6.x and 7.x)

► An extensive An extensive investigationinvestigation of cut/step limit effects concluded that of cut/step limit effects concluded that the the Multiple Scattering Multiple Scattering process could beprocess could be improved improved Revisions Revisions providedprovided in Geant4 8.0 address this issue in Geant4 8.0 address this issueM. Maire, L. UrbanM. Maire, L. Urban

Page 27: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 27

Revisions of Multiple Scattering Revisions of Multiple Scattering (8.0)(8.0)

► Improvements to physical model – calculating displacement and applying itImprovements to physical model – calculating displacement and applying it Introduced Introduced correlationcorrelation between scattering angle and lateral between scattering angle and lateral

displacementdisplacement Ensure recalculation of geometry ‘Ensure recalculation of geometry ‘safetysafety’ before sampling the ’ before sampling the

displacementdisplacement► Since the safety value limits the displacement allowed Since the safety value limits the displacement allowed

step restriction not only after boundary with parameter facrange but step restriction not only after boundary with parameter facrange but also from the start of the track and from geometry (facgeom)also from the start of the track and from geometry (facgeom)

► Improvements in restricting step:Improvements in restricting step: Stricter step restriction in all volumes using fraction (0.02) of particle Stricter step restriction in all volumes using fraction (0.02) of particle

rangerange► Including the starting volume of track (new)Including the starting volume of track (new)

Previously only applied after first boundary Previously only applied after first boundary Step restriction using geometrical information to Step restriction using geometrical information to guarantee guarantee at leastat least

► 2 steps 2 steps in the start volumein the start volume► 4 steps 4 steps in other volumes a track crossesin other volumes a track crosses

► User can switch off this step limitation (for comparisons) User can switch off this step limitation (for comparisons) For further information please see upcoming talk For further information please see upcoming talk “The recent “The recent

Upgrades in the Geant4 Standard Electromagnetic Physics Package”Upgrades in the Geant4 Standard Electromagnetic Physics Package”M. Maire, L. M. Maire, L.

UrbanUrban

Page 28: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

More on applicationsMore on applications

Page 29: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Geant4 8.0 Geant4 8.0 developmentsdevelopments

Additional informationAdditional information

Page 30: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 32

Geometry: Geometry: solids and dynamical solids and dynamical geometriesgeometries

► Additional solidsAdditional solids Generic twisted trapezoid shape with different endcaps - (Generic twisted trapezoid shape with different endcaps - (O. LinkO. Link) ) New ellipsoid (New ellipsoid (G.Guerrieri, INFN/GenovaG.Guerrieri, INFN/Genova) and elliptical cone () and elliptical cone (D. Anninos, D. Anninos,

CERN/CornellCERN/Cornell)) Tetrahedron Tetrahedron (M. Mendelhall, Vanderbilt Univ.)(M. Mendelhall, Vanderbilt Univ.)

► Testing and Improvements Testing and Improvements (O. Link, CERN)(O. Link, CERN) Solid accuracy tests identified problems in torus, sphere (theta)Solid accuracy tests identified problems in torus, sphere (theta) Fix in sphere and improvement of torus (new polynomial solver) Fix in sphere and improvement of torus (new polynomial solver)

► Localized re-optimization for dynamic geometriesLocalized re-optimization for dynamic geometries Change and re-optimize only part of a large geometry (G. Cosmo)Change and re-optimize only part of a large geometry (G. Cosmo)

► Enables lightweight initialisation for changes in dynamic geometriesEnables lightweight initialisation for changes in dynamic geometries

Page 31: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 33

Other new features in Other new features in geometrygeometry

► Overlap detection at construction time Overlap detection at construction time

When a When a volumevolume is placed it is checked optionally for ‘ is placed it is checked optionally for ‘overlapsoverlaps’’

► If it overlaps sister volumes or protrudes from its motherIf it overlaps sister volumes or protrudes from its mother

► Points on its surface are sampled Points on its surface are sampled

► An exception is generated if a point is outside the mother or inside a sister An exception is generated if a point is outside the mother or inside a sister

volumevolume

Applicable for placement and parameterised volumes Applicable for placement and parameterised volumes

► Extended use of Extended use of G4RegionG4Region: :

Was used for G4ProductionCuts and Was used for G4ProductionCuts and

G4VUserRegionInformation, G4VUserRegionInformation,

Can now create Can now create User LimitsUser Limits for Regions (7.1) for Regions (7.1)

Now enabled its use with parameterisation / Fast Simulation Now enabled its use with parameterisation / Fast Simulation

► All these data members are optionalAll these data members are optional

Page 32: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 34

Nested parameterizationNested parameterization► In the past G4VPVParameterization::ComputeMaterial() method used to In the past G4VPVParameterization::ComputeMaterial() method used to

take only the copy number of the immediate physical volumetake only the copy number of the immediate physical volume

There was no way to get a copy number of its (grand)mother volumeThere was no way to get a copy number of its (grand)mother volume

► To implement boxes in 3-Dimensional alignment with varying material To implement boxes in 3-Dimensional alignment with varying material

(e.g. DICOM), one parameterization has to take care of three dimensions.(e.g. DICOM), one parameterization has to take care of three dimensions.

One big mother volume filled by one tiny cell with 3-dimensional One big mother volume filled by one tiny cell with 3-dimensional

parameterizationparameterization

► With newly introducing nested parameterization, a touchable instead of With newly introducing nested parameterization, a touchable instead of

naïve copy number is provided to ComputeMaterial() method.naïve copy number is provided to ComputeMaterial() method.

Material of a box can be indexed not only with the copy number of Material of a box can be indexed not only with the copy number of

the immediate volume but also with copy numbers of its the immediate volume but also with copy numbers of its

(grand)mother volumes(grand)mother volumes

The big mother box can be replicated twice in first and second axes, The big mother box can be replicated twice in first and second axes,

and then parameterized only along the third axis.and then parameterized only along the third axis.

Performance improvement in both voxelization and Performance improvement in both voxelization and

navigation/trackingnavigation/tracking

Page 33: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 35

Non-static particle definitionNon-static particle definition► In Geant4 8.0, all particle definition class objects are instantiated In Geant4 8.0, all particle definition class objects are instantiated

when GenerateParticle() method of physics list is invokedwhen GenerateParticle() method of physics list is invoked Until now, most particle definition objects were static and the Until now, most particle definition objects were static and the

GenerateParticle() method ensured they were linked in the GenerateParticle() method ensured they were linked in the executableexecutable

► A side effect is foreseen if your physics list has physics A side effect is foreseen if your physics list has physics processes/models as data members of your physics lists.processes/models as data members of your physics lists. such processes or models may not been instantiated properly.such processes or models may not been instantiated properly.

► Released revised physics lists to address thisReleased revised physics lists to address this► What to doWhat to do

In case processes/models are defined as data members, they are In case processes/models are defined as data members, they are actually instantiated at the moment your physics list itself is actually instantiated at the moment your physics list itself is instantiated, i.e. before GenerateParticle() method is invoked.instantiated, i.e. before GenerateParticle() method is invoked.

If you use your own copy/customized physics list you will need to If you use your own copy/customized physics list you will need to migratemigrate

► For example if you derived from one of the “educated guess” physics For example if you derived from one of the “educated guess” physics list,list,

► How to do thisHow to do this define pointers for such processes/models as the data members, and make define pointers for such processes/models as the data members, and make

sure all processes/models are actually instantiated in your sure all processes/models are actually instantiated in your GenerateProcess() method.GenerateProcess() method.

Page 34: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 36

Concrete sensitivity Concrete sensitivity classesclasses

► Until 7.1 Geant4 provided only an Until 7.1 Geant4 provided only an abstract classabstract class

(G4VSensitiveDetector) for the user to define his/her detector (G4VSensitiveDetector) for the user to define his/her detector

sensitivity.sensitivity.

Various example detector classes are provided.Various example detector classes are provided.

► Good to store Good to store hitshits in their detectors (HEP experiments). in their detectors (HEP experiments).

But is not convenient for radiation applications But is not convenient for radiation applications

(Space/medical/HEP)(Space/medical/HEP)

► Where the main interest is Where the main interest is scoring dose/fluxdose/flux..

► G4 8.0 introduces G4MultiFunctionalDetectorG4 8.0 introduces G4MultiFunctionalDetector In it you can register concrete ‘scorers’ to build a custom scoring In it you can register concrete ‘scorers’ to build a custom scoring

detector.detector.

Now provide scorers for EnergyDeposition, Surface Flux, Dose, Now provide scorers for EnergyDeposition, Surface Flux, Dose,

Track LengthTrack Length► additional concrete classes are under development.additional concrete classes are under development.

NoteNote: : G4MultiFunctionalDetectorG4MultiFunctionalDetector is is a G4VSensitiveDetector. a G4VSensitiveDetector.

Page 35: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 37

Concrete sensitivity classesConcrete sensitivity classes► Each G4VPrimitiveSensitivity class generates one hits collection per Each G4VPrimitiveSensitivity class generates one hits collection per

event. By registering more than one classes of event. By registering more than one classes of

G4VPrimitiveSensitivity, G4MultiFunctionalDetector generates more G4VPrimitiveSensitivity, G4MultiFunctionalDetector generates more

than one collections. than one collections.

► G4THitsMap template class (an alternative to G4THitsCollection) G4THitsMap template class (an alternative to G4THitsCollection)

introduced. It is also a derived class of G4VHitsCollection.introduced. It is also a derived class of G4VHitsCollection.

It is more convenient for scoring purposes, and simplerIt is more convenient for scoring purposes, and simpler

► New class G4VSDFilter introduced. Can be attached to New class G4VSDFilter introduced. Can be attached to

G4VSensitiveDetector and/or G4VPrimitiveSensitivity to define which G4VSensitiveDetector and/or G4VPrimitiveSensitivity to define which

kinds of tracks are to be scored. kinds of tracks are to be scored.

E.g., surface flux of protons of more than 1 GeV/c can be scored E.g., surface flux of protons of more than 1 GeV/c can be scored

by G4PSSurfaceFluxScorerby G4PSSurfaceFluxScorer with a filter.with a filter.

► Current G4Scorer and its related classes are kept, for the time beingCurrent G4Scorer and its related classes are kept, for the time being Expect these to be declared obsolete.Expect these to be declared obsolete.

Page 36: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 38

Bertini CascadeBertini Cascade► Isotope productionIsotope production

Proton and neutron induced Proton and neutron induced

►Elastic scattering interface (release 7.1)Elastic scattering interface (release 7.1) G4CascadeElasticInterface (for < 1 GeV)G4CascadeElasticInterface (for < 1 GeV)

►Kaon extensionsKaon extensions►ValidationValidation►Optimization for speed, model tuningOptimization for speed, model tuning

A. Heikkinen, D. WrightA. Heikkinen, D. Wright

Page 37: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Bertini Cascade● Isotope production

– Proton and neutron induced ● Elastic scattering interface for release 7.2

– G4CascadeElasticInterface (for < 1 GeV)● Kaon extensions● Validation● Optimization for speed, model tuning● Ion-ion interactions (future)

Page 38: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Bertini hadronic models in Geant4 7.1● Submodels implemented for proton, neutron, pion bullets:

– G4ElementaryParticleCollider

– G4IntraNucleiCascader

– G4NonEquilibriumEvaporator (pre-equilibrium)

– G4EquilibriumEvaporator

– G4Fissioner

– G4BigBanger

● Latest Bertini extension (June, 2005)

– First partial release providing elastic part of intra-cascade treatment for kaon, lambda, sigma, and xi by Dennis Wright (SLAC)

● Now stable and available at CVS (use KAON-flag)● This SLAC-tag is to be released fully in Geant4 7.2

release

Page 39: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Low-energy neutron induced isotope production is usually treated with Geant4 isotope production model using of evaluated data libraries

Yet in some cases Bertini model performs quite well and might be useful

Page 40: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.
Page 41: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

705 MeV/c K+ quasi-elastic scattering from Ca

Page 42: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 44

New Developments in CHIPSNew Developments in CHIPS

► G4QCaptureAtRest for nuclear capture of G4QCaptureAtRest for nuclear capture of negative hadrons, muons, and low energy negative hadrons, muons, and low energy neutrons/antineutrons.neutrons/antineutrons.

► Process level tests for comparison of simulated Process level tests for comparison of simulated parameters with experimental dataparameters with experimental data Validation tests for at rest and in-flight Validation tests for at rest and in-flight

(test19/test29).(test19/test29).► G4QCollision for photo- and lepto-nuclear G4QCollision for photo- and lepto-nuclear

reactionsreactions with DIS simulation of neutrino-nuclear reactions.with DIS simulation of neutrino-nuclear reactions.

► New fixed version of CHIPS for QGSC and FTFC.New fixed version of CHIPS for QGSC and FTFC.

M. KosovM. Kosov

Page 43: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 45

Neutrino-nuclear interactions for Neutrino-nuclear interactions for CNGSCNGS

Page 44: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 46

Physics ListsPhysics Lists

► Revised to work with Geant4 8.0Revised to work with Geant4 8.0 Co-work with particles revisionCo-work with particles revision

► Utilise EM(std) physics buildersUtilise EM(std) physics builders Tested by EM(std) WG on HEP calorimeter setupsTested by EM(std) WG on HEP calorimeter setups

► Now Now -A interactions is default in all PLs-A interactions is default in all PLs QGSP_GN is now QGSP, includesQGSP_GN is now QGSP, includesnuclearnuclear A few ‘engines’ suppressed A few ‘engines’ suppressed

► LHEP_GN, ..LHEP_GN, ..

► New variant with ‘old’ EM physicsNew variant with ‘old’ EM physics QGSP_EMV uses multiple scattering with 7.1 QGSP_EMV uses multiple scattering with 7.1

parametersparameters

Page 45: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 47

MigrationsMigrations

► Migrations:Migrations: Use of <sstream> instead of <strstream>Use of <sstream> instead of <strstream> Support for CLHEP-2.0.X (compatible with 1.9.X Support for CLHEP-2.0.X (compatible with 1.9.X

series)series)► Changes required in User CodeChanges required in User Code

Fast parameterisationFast parameterisation►Region replaces ‘envelope’. Region replaces ‘envelope’.

Creating and instantiating physics lists : Creating and instantiating physics lists : impact of the revised, "non-static", particle impact of the revised, "non-static", particle definitionsdefinitions

G4VProcess base classG4VProcess base class►StartTracking() now has argument const G4Track* StartTracking() now has argument const G4Track*

Page 46: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 48

http://top25.sciencedirect.com/index.php?subject_area_id=21

Page 47: Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.

Feb 13th, 2006 Geant4 in production : status and developments, CHEP 2006 49

http://www.in-cites.com/hotpapers/2004/november04-eng.html

http://www.in-cites.com/hotpapers/2005/jan05-eng.html

http://www.in-cites.com/hotpapers/2005/mar05-eng.html

http://www.in-cites.com/hotpapers/2005/may05-eng.html

http://www.in-cites.com/hotpapers/2005/july05-eng.html


Recommended