Message: Re: physical properties of the detector Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: physical properties of the detector 

Forum: Event and Track Management
Re: Question physical properties of the detector (Maciej Sznajder)
Re: None Re: physical properties of the detector (Michael H. Kelsey)
Date: 27 Oct, 2010
From: Gumplinger Peter <Gumplinger Peter>

> At the end of run, you should create a new material with the new properties,

> and then call SetMaterial() for your logical volume with the new material.

> Then do the next "beamOn 100", and so on.

It is possible to change the geometry while running an executable, but it is not simply a matter of changing the matrial of a logical volume. Much has to be prepared - energy loss tables, physics tables etc. - based on the materials involved before particles through a geometry can be simulated.

The /examples/extended/optical/wls shows how a geometry can be radically changed but this, for now, isn't any different from just changing the density of one material (and rather time consuming).

See:

http://www-geant4.kek.jp/lxr/source/examples/extended/optical/wls/src/WLSDetectorConstruction.cc#L662

(except, you probably don't have any surface tables in your simulation).

Present thought of how to implement variable densities without having to redo the whole geometry and all of the physics tables is outlined in this presentation:

http://indico.cern.ch/contributionDisplay.py?sessionId=12&contribId=96&confId=102427

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: physical properties of the detector   (Mike Kelsey - 27 Oct, 2010)
2 Question: Re: physical properties of the detector   (Maciej Sznajder - 05 Nov, 2010)
1 None: Re: physical properties of the detector   (Michael H. Kelsey - 05 Nov, 2010)
(_ Question: Re: physical properties of the detector   (Maciej Sznajder - 08 Nov, 2010)
1 None: Re: physical properties of the detector   (Michael H. Kelsey - 08 Nov, 2010)
2 Feedback: Re: physical properties of the detector   (Gumplinger Peter - 08 Nov, 2010)
... 9 Message(s)
3 Question: Re: physical properties of the detector   (Maciej Sznajder - 05 Nov, 2010)
 Add Message Add Message
to: "Re: physical properties of the detector"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]