A Monte Carlo code for AGATA based on Geant4 E.Farnea INFN Sezione - - PowerPoint PPT Presentation

▶
a monte carlo code for agata based on geant4
SMART_READER_LITE
LIVE PREVIEW

A Monte Carlo code for AGATA based on Geant4 E.Farnea INFN Sezione - - PowerPoint PPT Presentation

A Monte Carlo code for AGATA based on Geant4 E.Farnea INFN Sezione di Padova, Italy Why Geant4? The code is well mantained and in widespread use Object-oriented, suitable for big projects C++ based Leaves the user


slide-1
SLIDE 1

A Monte Carlo code for AGATA based on Geant4

E.Farnea INFN Sezione di Padova, Italy

slide-2
SLIDE 2

Why Geant4?

  • The code is well mantained and in widespread use
✁

Object-oriented, suitable for big projects

  • C++ based
  • Leaves the user responsibility on geometry definition,

detector response and read out, event generation

✁

Possibility to import complex geometries from CAD systems?

slide-3
SLIDE 3

Philosophy of the program

✂

Command-line UI based on tcsh

✂

Built-in commands to change simulation parameters without recompiling

✂

Additional possibilities through switches at the start

  • f the program
✂

Sequences of commands automatized through macro files

✂

Graphics enabled only when needed

✂

Concentrate on the production of list-mode output files rather than making on-line analysis

slide-4
SLIDE 4

Class structure of the program

Agata

*Agata RunAction *Agata EventAction Agata PhysicsList Agata VisManager Agata

SteppingAction

*Agata Analysis *Agata

GeneratorGamma

*Agata

GeneratorNeutron

*Agata

GeneratorAction

CSpec1D CSpec2D Agata

GeneratorOmega

Agata

SteppingOmega

*Agata Detector Construction *Agata Detector Shell *Agata Detector Simple *Agata

SensitiveDetector

Agata

DetectorReadOut

*Agata

DetectorArray

Agata HitDetector CConvex Polyhedron Agata DummySD

Messenger classes are not shown!

*Agata

GeneratorEmitter

* Possibility to change parameters via a messenger class

*Agata

DetectorAncillary

slide-5
SLIDE 5

AgataDetectorConstruction

✄

Generate here only material definition, experimental hall and other passive objects (target, reaction chamber)

✄

Handles actual detector arrangement using auxiliary classes

✄

Implemented geometries selectable via switch at the start of the main program: single germanium detector (AgataDetectorSimple), germanium 4π shell (AgataDetectorShell) and the AGATA array (AgataDetectorArray)

slide-6
SLIDE 6 ☎ ✆ ☎✝ ✞✠✟ ✞ ✡ ✞✠☛ ✆ ☞ ☎✌ ☎ ✍ ✝ ✞ ☛ ✎ ✏ ☎ ✑ ✒ ✆ ☛ ✝ ✒ ☛ ✓ ✏ ☎ ☛ ✔ ✒ ✆ ☛ ✝ ✕✖ ✗ ✖ ✘ ✘ ✖ ✘✙ ✖ ✘ ✚ ✖ ✘ ✗✖ ✙ ✖ ✖ ✙ ✛ ✖
slide-7
SLIDE 7 ✜ ✜ ✢ ✜ ✣✤✥ ✦★✧ ✩ ✪✫✬ ✭ ✪ ✮★✯✰ ✱ ✲ ✳ ✪ ✮ ✲ ✴ ✲ ✦ ✪✵ ✧ ✲ ✶ ✷ ✳ ✰ ✸ ✵ ✮ ✧✺✹ ✯ ✮✼✻ ✲ ✳ ✧ ✰ ✲ ✴ ✲ ✦ ✪✵ ✧ ✲ ✽ ✭ ✭ ✧ ✰ ✰ ✪ ✾ ✸✿✻ ✲ ❀ ❁ ✧ ❂ ❃ ❄ ✯ ❅ ❆ ❅ ✬ ✻ ✭ ✳ ✬ ❇ ✫ ✧ ✰ ❅ ✪ ✭ ✸ ✻ ❅ ✴ ❈ ✷ ❉ ✫ ❊ ✬ ✮ ✸ ✾ ✪ ✭ ✫ ✮ ✧ ✯ ✬ ❋ ✧ ✰ ✪ ✫ ✧ ❄ ✴
  • ✶
❍ ✴ ✷ ✲ ✧ ✫ ❅ ✧ ✭ ✳ ✲ ■ ❇ ❇ ✸ ✯ ✸ ✧ ✭ ✯ ✱❏ ❍ ❄
  • ❀
❑

γ

▲ ❃ ❂ ✴ ✷
  • ❀
❑

γ

▲ ❍ ✷ ❂ ▼ ✧ ✪ ❉ ◆❖ ✬ ✳ ✪ ✮ ❏ ❈ P
  • ❀
❑

γ

▲ ❃ ❂ ✶ ❈
  • ❀
❑

γ

▲ ❍ ✷ ❂ ❁ ✧ ✯✰ ✱ ✲ ✳ ✪ ✮ ✲ ✲ ✸✿◗ ✧ ❏ ❘ ✧ ✭ ✫ ✳ ✦ ❃ ✷ ✷ ❅ ❅ ✾ ✸ ✪ ❅ ✧ ✳ ✧ ✰ P ✷ ❅ ❅ ✣❙✥ ✦ ✧ ✩ ✪ ✫ ✬ ✭ ✪ ✮★✯ ✰ ✱ ✲ ✳ ✪ ✮ ✲ ❍ ✲ ✦ ✪✵ ✧ ✲ ❚ ✷ ✳ ✰ ✸ ✵ ✮ ✧✺✹ ✯ ✮✼✻ ✲ ✳ ✧ ✰ ✲ ✪ ✮ ✮ ✧❯ ✻ ✪ ✮ ✽ ✭ ✭✧ ✰ ✰ ✪ ✾ ✸ ✻ ✲ ❀ ❁ ✧ ❂ ✴ ✴ ✯ ❅ ❆ ❅ ✬ ✻ ✭ ✳ ✬ ❇ ✫ ✧ ✰ ❅ ✪ ✭ ✸ ✻ ❅ ❍ ❚ ✷ ❉ ✫ ❊ ✬ ✮ ✸ ✾ ✪ ✭ ✫ ✮ ✧ ✯ ✬ ❋ ✧ ✰ ✪ ✫ ✧ ❄ ❱
  • ❚
✶ P ✷ ✲ ✧ ✫ ❅ ✧ ✭ ✳ ✲ ■ ❇ ❇ ✸ ✯ ✸ ✧ ✭ ✯ ✱❏ ✶ ✴
  • ❀
❑

γ

▲ ❃ ❂ ✴ ❈
  • ❀
❑

γ

▲ ❍ ✷ ❂ ▼ ✧ ✪ ❉ ◆❖ ✬ ✳ ✪ ✮ ❏ ❈ P
  • ❀
❑

γ

▲ ❃ ❂ ✶ P
  • ❀
❑

γ

▲ ❍ ✷ ❂
slide-8
SLIDE 8

AgataDetectorArray

❲

Irregular polyhedra generated with the CConvexPolyhedron class (D.Bazzacco)

❳

Actual detector shape can consider the intersection of such polyhedra with a closed-end cylinder

❳

Vertexes of the polyhedra calculated with an external program (MarsView by D.Bazzacco)

❳

Available data files for the geometries with 180 crystals and 120 crystals (grouped in triple or quadruple clusters, or with the shape used in GRETA)

❳

Possibility to add extra passive materials to emulate an ancillary device (AgataDetectorAncillary)

slide-9
SLIDE 9 ❨ ❩ ❨ ❨ ❩ ❩ ❨ ❩ ❨ ❨ ❩ ❩

Start with a platonic solid e.g. an icosahedron On its faces, draw a regular pattern of triangles grouped as hexagons and pentagons. E.g. with 110 hexagons and (always) 12 pentagons Project the faces on the enclosing sphere; flatten the hexagons.

slide-10
SLIDE 10 ❬ ❭ ❬ ❬ ❭ ❭ ❬ ❭ ❬ ❬ ❭ ❭

A radial projection of the spherical tiling generates the shapes of the detectors. Ball with 180 hexagons. Space for encapsulation and canning obtained cutting the

  • crystals. In the example 3

crystals form a triple cluster Add encapsulation and part of the cryostats for realistic MC simulations Al capsules 0.7 mm spacing 0.8 mm thick Al canning 2 mm spacing 2 mm thick

slide-11
SLIDE 11

Configuration A=180

slide-12
SLIDE 12

Configuration A=180 – solids

Solid 1 Solid 2 Solid 3

slide-13
SLIDE 13

Configuration A=120

slide-14
SLIDE 14

Configuration A=120 – solids

Solid 1 Solid 2

slide-15
SLIDE 15 ❪ ❫❵❴ ❛ ❜ ❝ ❛ ❫ ❞ ❪ ❜ ❫ ❛ ❴ ❡❢ ❣ ❤ ✐ ❢ ❣ ❥ ❦✿❧ ♠ ♥★♦♣ q r✼s t ❧ ✉ ✈ ♦ ♣ ✉ ❣ ✈ ✇ ① ♦ ✉ ✐ ✐ ✐ ❢ ② ♣ ♣ ♦③ ❧ t★④ ♣ ⑤⑦⑥ ⑧ ⑥ ❤❢ ⑥ ❤ ❢ ⑥ ⑧ ⑥ ⑤ ❤ ❡ ❥ ❢ ❣ ✐⑨ ⑤⑩ ❣ ⑨ ⑩ ⑧ ❥ ❤ ❥ ❢ ❶ ♦ ♣ ✇ ♣ ♦ ③ ❧ t ④ ♣ ❷❹❸ ③ ❧ t ④ ♣ s q ❶ ♦ ♣ ④ ③ ♦ q r ♣ ② ❸ ③ ✉ ❥ ⑨ ❣ ✐ ⑩

ε

❺ ❻ ❣ ❼❽ ④ ✈ ❾➀❿ ⑤ ❢ ➁ ➂ ➃ ⑧ ➄ ➅ q t ② ➆ ❷ ❸ ③ t ♦ ➁ ➂ ➃ ❤ ⑩ ❢ ❦✿❧ ♠ ♥★♦♣ q r✼s ♣ ✇ ✉ ✈ ④ t ✉ ❡ ❡ ❡ ❢ ➇ t ♦ s ✈ ♣ q ❸ ② s ✉ s ➈ ④ ❸ ❸ ♦ t ✉ ⑨ ⑥ ❤❢ ⑥ ❤ ⑨ ⑥ ❤ ⑨ ⑥ ❤ ❢ ⑥ ⑨ ➉ ② ❸ ③ ✉ q r✼s t ❧ ✉ ✈ ♦ ♣ ✉ ❥ ❤ ➊ ➋ ❸ ❸ ♦♣ r ♣ ♦ ♦ ✉ ① ④ s ♦ ➁ s ♠ ➃ ✐ ❥ ❣ ⑨ ⑩

ε

❺ ❻ ❣ ❼❽ ④ ✈ ❾➀❿ ❤ ➁ ➂ ➃

To reduce cost of germanium, A-180 could be squeezed to similar size as A-120. Efficiency reduces also but all nice symmetries remain; smaller crystals simplify PSA .

slide-16
SLIDE 16 ➌ ➍ ➍ ➌➎ ➎ ➏ ➌ ➍ ➍ ➌ ➎ ➎ ➏

γ γ

➐ ➌ ➐ ➌ ➑➓➒ ➔→ ➣ ↔ ↕ ↔➛➙ ➜ ➔ ➝ ➔ → ➞ ➟ ➣➡➠ ➞ ➢ ➑➓➒ ➔→ ➣ ↔ ↕ ↔➛➙ ➜ ➔ ➝ ➔ → ➞ ➟ ➣➡➠ ➞ ➢ ➤➥➧➦ ➨ ➩ ➫ ➦ ➭ ➤ ➫ ➦ ➤ ➩ ➯ ➦ ➤ ➥ ➭ ➦ ➫ ➫ ➲ ➦ ➫ ➲ ➩ ➦ ➭ ➨ ➲ ➦ ➩ ➲ ➯ ➦ ➨ ➨ ➩ ➦ ➨ ➨ ➳ ➦ ➩ ➵➸➺ ➻ ➼❹➽ ➾ ➾➪➚ ➳ ➫ ➦ ➫⑦➶ ➤ ➫ ➦ ➫➘➹ ➴ ➷ ➬➮ ➱❐✃❒ ➱❐❮ ❒ ❰ ✃Ï Ð ❒ Ñ❐Ò ➸ ➺ Ó Ô ➲ ➩ ➦ ➭ ➤ ➤ ➦ Õ ➲ ➫ ➦ ➭ ➤ ➩ ➦ ➯ ➩ ➳ ➦ Õ ➥ ➨ ➦ ➩ ➩ Õ ➦ ➳ ➲ ➭ ➦ ➫ ➩ ➫ ➦ Õ ➨ ➳ ➦ ➩ ➵➸➺ ➻ ➼❹➽ ➾ ➾➪➚ ➳ ➫ ➦ ➫⑦➶ ➤ ➫ ➦ ➫➘➹ ➴ ➷ Ö Ð ❰ ×❐Ø ❒ Ù Ò Ú Ñ ✃ Ò ❒ ➬ ➱ Ø Ï Û ➮ Ò ❰ ❒ ❰ Ò ➸ Ü Ó ➺ ➲ Õ ➦ ➫ ➤ ➨ ➦ ➲ ➩ ➭ ➦ ➲ ➥ ➭ ➦ ➫ ➩ ➤ ➦ ➯ ➲ ➤ ➦ ➥ ➩ Õ ➦ ➥ ➲ ➩ ➦ Õ ➩ Õ ➦ ➤ ➨ Õ ➦ ➨ ➵Ý➺ ➻ ➼ ➽ ➾ ➾ ➚ ➤ ➳ ➦ Õ ➶ ➥ ➳ ➦ Õ ➹ ➴ ➷ Ö Ð ❰ × Ø ❒ Ù Ò Ú Ñ ✃ Ò ❒ ➬ ➱ Ø Ï Û ➮ Ò ❰ ❒ ❰ Ò ➤ ➭ ➦ Õ ➥ ➯ ➦ ➯ ➤ ➤ ➦ ➯ ➲ ➳ ➦ ➨ ➤ ➩ ➦ ➫ ➲ ➥➧➦ ➩ ➥ ➩ ➦ ➩ ➲ ➨ ➦ ➳ ➥ Õ ➦ ➭ ➲ ➨ ➦ ➤ ➨ Õ ➦ ➨ ➵Ý➺ ➻ ➼ ➽ ➾ ➾ ➚ ➤ ➳ ➦ Õ ➶ ➥ ➳ ➦ Õ ➹ ➴ ➷ Þ Ð ➬ ➬ ✃ Ï ß Ñ Ò × ✃ Ñ Ñ ➵ Ø ❮ ❰ × Ð Ø à ➤ ➯ ➦ ➥ ➩ ➯ ➦ ➤ ➥ ➤ ➦ ➳ ➫ ➳ ➦ ➨ ➥ ➩ ➦ ➯ ➫ ➩ ➦ ➳ ➩ ➭ ➦ Õ ➨ ➩ ➦ ➳ ➩ ➫ ➦ ➳ ➨ ➨ ➦ ➫ ➨ Õ ➦ ➨ ➵Ý➺ ➻ ➼❹➽ ➾ ➾➪➚ ➤ ➳ ➦ Õ ➶ ➥ ➳ ➦ Õ ➹ ➴ ➷ ➬➮ ➱❐✃❒ ➱❐❮ ❒ ❰ ✃Ï Ð ❒ Ñ❐Ò

Ω

➻ á ➷ â

γ

ã ä

γ

åæ ä

γ

ç æ ä

γ

ã æ è❹éê ëíì îðï ñò ó ì ô ï õ ö é÷ ø î ò ÷ ù ê ó ú û ê

AGATA Crystals: 10 cm long, 8 cm diameter (at the back). Balanced volumes. Arranged in triple-clusters with capsules and cryostats

  • Eff. (%)

P/T (%)

slide-17
SLIDE 17

AgataDetectorReadOut

ü

An alternative segmented read out geometry can be enabled

ý

The effective shape

  • f the segments can

be approximated with “elementary” shapes

200 dx dy dz total Segmentation: 10, 10, 4x17.5 mm

slide-18
SLIDE 18 þ þ ÿ

Segmented polyhedron The whole array (A=120)

slide-19
SLIDE 19

AgataSensitiveDetector

  • Standard Geant4 tracking: follow the particles

from the last created one to the primary particle

✁

Possibility to overcome this tracking order for gammas and neutrons (ignoring the secondary particles produced)

slide-20
SLIDE 20

AgataPhysicsList

✂

Generation of gammas (photoelectric effect, Compton scattering, pair production, Rayleigh scattering)

✄

Possibility to consider the Compton profile (using the G4LECS package, see:

☎✝✆ ✆ ✞ ✟ ✠ ✠☛✡ ☞☛✌ ✍ ✎ ✎ ✎✑✏ ✒✔✓ ✡ ✒ ✏ ✕✖ ✗ ✠✙✘ ✚ ✛ ☞ ✞ ✞✜ ✡ ✠ ✓ ✢ ✆ ✌ ☞ ✚ ✠ ✕ ✣ ✒ ✜ ✢ ✌ ✤ ✥

Generation of neutrons (elastic and inelastic scattering, capture)

✦

Generation of other particles needed for these processes (leptons and hadrons)

slide-21
SLIDE 21

AgataGeneratorAction

✧

Cascade modelled as Mn neutrons followed by Mγ γ

★

High-multiplicity events are emulated by packing single-particle events generated in the proper order

✩

Use auxiliary classes to handle time and position (AgataGeneratorEmitter), direction and energy of the emission (AgataGeneratorGamma, AgataGeneratorNeutron)

slide-22
SLIDE 22

AgataGeneratorEmitter

✪

Possibility to choose between point and diffused source

✫

Possibility to consider a recoil velocity with variable direction and module

✬

Possibility to consider delayed radiation with displacement of the source

slide-23
SLIDE 23

AgataGeneratorGamma

✭

Several centre of mass spectra available: monochromatic, regular band, irregular band, flat distribution, statistical spectrum

✮

Laboratory energy and direction are calculated using the proper relativistic transformations, starting from an isotropical centre of mass distribution (with the possibility to limit the angular region of emission)

✯

Linear polarization can be optionally considered (switch at the start of the program)

slide-24
SLIDE 24

AgataGeneratorNeutron

✰

Possibility to choose between monochromatic and evaporative centre of mass spectra

✱

Laboratory energy and direction are calculated using the proper relativistic transformations, starting from an isotropical centre of mass distribution (with the possibility to limit the angular region of emission)

slide-25
SLIDE 25

Program configuration

✲

The program is being developed on a PC running Linux (RedHat 9.0)

✳

Compiler: gcc 3.2

✴

CLHEP version: 1.8.0.0

✵

Geant4 version: 4.5.1 with update patch and two modified classes (G4VIntersectionSolid, G4AssemblyDetector) plus G4LECS package

✶

Minor problems in moving from Geant4.5.0 to 4.5.1

slide-26
SLIDE 26

Things to do ...

✷

The work is still in progress!

✸

Test other geometries

✹

Interaction with tracking algorithms

✺

Interaction with other groups (ancillaries, data analysis, mechanical design, ...)

✻

Documentation!

✼

If interested in the program for further developments, contact farnea@pd.infn.it or bazzacco@pd.infn.it