Message: Re: Information inside the SD class Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Information inside the SD class 

Forum: Run Management
Re: None Information inside the SD class (Giorgio)
Date: 18 Jun, 2004
From: michel maire <michel maire>

User Giorgio wrote:

>> Dear All,
>> 
>> we developed  a piece of code in which we take informations about
>> energy deposited and volumes inside the SD class:
>> 
>> G4double energyDeposit = aStep->GetTotalEnergyDeposit();
>>   
>> // Read Voxel indexes: i is the x index, k is the z index
>> G4int k = ROhist->GetReplicaNumber(1);
>> G4int i = ROhist->GetReplicaNumber(2);
>> G4int j = ROhist->GetReplicaNumber(0);
>>  
>> Now we would like to send the <<energyDeposit>> and <<i, j, k>> variables
>> inside the RunAction class, in order to collect the information at the
>> end of the run.
>> Is this possible in a direct way?
>> all the best
>> Pablo & Giorgio
>> 

 Please, have a look to :
 examples/extended/electromagnetic/TestEm2/SteppingAction 

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

 Add Message Add Message
to: "Re: Information inside the SD class"

 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 ]