Message: Re: Warning when I use enforced interaction biasing technique Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Warning when I use enforced interaction biasing technique 

Forum: Biasing and Scoring
Re: None Warning when I use enforced interaction biasing technique (Ruirui)
Re: None Re: Warning when I use enforced interaction biasing technique (Marc Verderi)
Date: Sep 09, 08:30
From: Ruirui <Ruirui>

Dear Marc,

Thank you very much for your reply.I checked the code in the example of GB02, but I could not find a place that OperationApplied(...) methods are called. So do you know where I should implement this method in the code?

Thanks,

In the GB02 example, I see these methods are defined as private functions as I copied below.

private:
  // -------------------------------
  // -- Optionnal, from base class :
  // -------------------------------
  // -- Here, these are needed implementions to forward calls to the underneath
  // -- G4BOptrForceCollision biasing operator
  void OperationApplied( const G4BiasingProcessInterface*         callingProcess,
                         G4BiasingAppliedCase                        biasingCase,
                         G4VBiasingOperation*                   operationApplied,
                         const G4VParticleChange*         particleChangeProduced ) final;
  void OperationApplied( const G4BiasingProcessInterface*         callingProcess,
                         G4BiasingAppliedCase                        biasingCase,
                         G4VBiasingOperation*          occurenceOperationApplied,
                         G4double                  weightForOccurenceInteraction,
                         G4VBiasingOperation*         finalStateOperationApplied, 
                         const G4VParticleChange*         particleChangeProduced ) final;

  void ExitBiasing( const G4Track*, const G4BiasingProcessInterface* ) final;

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

1 None: Re: Warning when I use enforced interaction biasing technique   (Marc Verderi - Sep 09, 23:33)
(_ None: Re: Warning when I use enforced interaction biasing technique   (Ruirui - Sep 10, 07:29)
 Add Message Add Message
to: "Re: Warning when I use enforced interaction biasing technique"

 Subscribe Subscribe

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