Message: Re: Can I use an input file to manage Runs? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Can I use an input file to manage Runs? 

Keywords: RunAction geometry parameter change
Forum: Run Management
Re: Question Can I use an input file to manage Runs? (Andrea Sharp)
Date: 30 Jan, 2004
From: Makoto Asai <Makoto Asai>

BeginOfRunAction() is not a right place to implement such 
thing. This method is invoked AFTER Geant4 navigation has 
already closed and optimized the geometry and the Geant4 
application state had already turned to GeomClosed state. 
You have to alternate your geometry BEFORE you issue BeamOn.

You can implement a dedicated method within your detector 
construction class to read any input file and alternate your 
geometry. This method could be invoked by, for example, 
a user-defined UI command. In case the number of parameters
are relatively small, then you can alternate each of them by
individual dedicated command. Examples/extended/analysis/A01
could be a good reference. Also, novice examples N03 and N07
are able to alternate geometries by some UI commands.

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

 Add Message Add Message
to: "Re: Can I use an input file to manage Runs?"

 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 ]