Message: Text Output of certain variables & Looping on 2 variables Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Text Output of certain variables & Looping on 2 variables 

Forum: Installation and Configuration
Date: 17 May, 2010
From: Alexander Runde <Alexander Runde>

Hey there,

I've been trying to figure out how to implement an simple macro that will only give out the energy that has been deposited in the volume. There has to be some possibility since it is a standard output within the GUI Console. If possible it should be within a macro, if not, can s.o. tell me which things to add in the code?

When this is done i am planning out giving an output on the energy that is deposited as a function of the incoming energy from the beam and as a function of the thickness of the volume (let it be lead or sth like that). That would require some kind of simple double looping which is easy in C but with the /loop {var} and so on i only found a way to do it for one variable. Any chance there is a possibility to do that?

Thanks, Alex

PS: Sorry for maybe posting this on the wrong forum, but this one suited my questions best.

 Add Message Add Message
to: "Text Output of certain variables & Looping on 2 variables"

 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 ]