Message: overloading /run/beamOn Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question overloading /run/beamOn 

Forum: Run Management
Date: 05 Jan, 2010
From: Valery Taranenko <Valery Taranenko>

i'd like to use negative number on /run/beamOn in order to specify how many times reuse the phase space file for source particles. that file is input via UI command /foo/ps FileName.ps and this command is processed in DetectorMessenger

question: how can I reload beamOn() method (or maybe not this method but the UI command interpreter) such that it will catch the negative number and properly set the internal var for the true beamOn based on the file size of the phase space file (divided by the number of bytes per particle recorded)?

privet

 Add Message Add Message
to: "overloading /run/beamOn"

 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 ]