Message: Re: scoring volume setting Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: scoring volume setting 

Forum: Biasing and Scoring
Re: None scoring volume setting (riazi)
Date: 05 Jul, 2013
From: Tsukasa Aso <Tsukasa Aso>


>this is the only place in the example that the SetVolume function is called, this function sets the fVolume
>private variable of B1SteppingAction class. however the variable fVolume is intialized to zero in
>constructor of B1SteppingAction class and it dosn't change in the B1SteppingAction class elsewhere. Now
>how the fVolume variable is set to scoring volume to compare with volume of the current step?
I do not understand what you are asking. 
I guess that you are looking for the code where the fVolume is set.

 The B1SteppingAction::SetVolume() method is implemented in the header file, 

    // set methods                                                              
    void SetVolume(G4LogicalVolume* volume) { fVolume = volume; }

It set the argument "volume" to "fVolume".

Tsukasa Aso

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

1 None: Re: scoring volume setting   (riazi - 10 Jul, 2013)
(_ None: Re: scoring volume setting   (Tsukasa Aso - 10 Jul, 2013)
(_ None: Re: scoring volume setting   (riazi - 12 Jul, 2013)
 Add Message Add Message
to: "Re: scoring volume setting"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews