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

None Information inside the SD class 

Forum: Run Management
Date: 08 Jun, 2004
From: Giorgio <>

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

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

1 None: Re: Information inside the SD class   (michel maire - 18 Jun, 2004)
 Add Message Add Message
to: "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 ]