Message: About the warning exGB01.02 in the example GB01 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None About the warning exGB01.02 in the example GB01 

Forum: Biasing and Scoring
Date: 03 Mar, 2015
From: <LoongDaoo>

Dear all:

I am using the scheme presented in the extended example GB01 to bias the Elastic and Inelastic processes induced by protons in silicon, which can be realized by adding the commands:

  G4String procname = callingProcess->GetWrappedProcess()->GetProcessName();
  if (procname.contains("Elastic") == 0 && procname.contains("Inelastic") == 0)
	  return 0;

in the function GB01BOptrMultiParticleChangeCrossSection::ProposeOccurenceBiasingOperation(). But when the hIoni process happens, previousOperation != operation will happen in the function GB01BOptrChangeCrossSection::ProposeOccurenceBiasingOperation(), then the warning exGB01.02 "Logic problem in operation handling !" appears. I want to know what's the problem, and why previousOperation != operation should not happen. I really don't know the meaning of previousOperation, although I see the explanations and the related class G4BiasingProcessInterface.

Many thanks for your help in advance!


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

1 Angry: Re: About the warning exGB01.02 in the example GB01   (LoongDaoo - 05 Mar, 2015)
 Add Message Add Message
to: "About the warning exGB01.02 in the example GB01"

 Subscribe Subscribe

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