Message: Re: biasing muon cross section interaction Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: biasing muon cross section interaction 

Forum: Biasing and Scoring
Re: Question biasing muon cross section interaction (Sean Turnbull)
Re: Question Re: biasing muon cross section interaction (Stefan E. Mueller)
Re: Idea Re: biasing muon cross section interaction (C Mos)
Date: 16 Apr, 2014
From: Stefan E. Mueller <Stefan E. Mueller>

OK,

I try to retrieve the process list for photons now in my G4VPhysicsConstructor-class which I use to add G4GammaConversionToMuons to the list of processes for photons.

Right after I add the process with

     pManager->AddDiscreteProcess(new G4GammaConversionToMuons());

I do

     G4ProcessVector* procVect = new G4ProcessVector();
     procVect = pManager->GetProcessList();
     if(!procVect) {
       G4int length = pManager->GetProcessListLength();
       G4int length2 = procVect->size();
       G4cout << "size " << length << " " << length2 << G4endl;
     } else {
       G4cout << "Vector is NULL. It has not being instantiated. Maybe you have to let the RunManager build the physics list first?" << G4endl;
     }

Code compiles and builds, and also runs, but indeed I get the message that "Vector is NULL...". Trying to do the same in my main.cc (after the runmanager has registered the physics and initialized the physics lists) results in a crash.

Anyway, before coming too off-topic on where, when and how ProcessVectors are filled, my main question is:

How can I set the PIL-factor for the process "G4GammaConversionToMuons" ?

Many thanks for suggestions on how to do that,

Stefan

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

1 News: Re: biasing muon cross section interaction   (Stefan E. Mueller - 05 May, 2014)
(_ Idea: Re: biasing muon cross section interaction   (Stefan E. Mueller - 05 Jun, 2014)
 Add Message Add Message
to: "Re: biasing muon cross section interaction"

 Subscribe Subscribe

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