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

Idea 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)
Date: 15 Apr, 2014
From: C Mos <C Mos>

I would guess maybe because the vector is empty empty as it has not being instantiated. To check if the vector exist:

  if(!vect)  // OR     if(vect!=0)  OR   if(vect!=NULL){
    //Get size here
  }else{
    G4cout << Vector is NULL. It has not being instantiated. Maybe you have to let the RunManager build the physics list first?" << G4cout;
  }

Are you retrieving your data from the main function? If I would change any aspect of my physics list I will do it but creating my own physics list and then redefining the process of interest. There might be some other tricks. Maybe using proper accessors and mutators if available? I will leave other options to the experts.

C Mos

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

1 Question: Re: biasing muon cross section interaction   (Stefan E. Mueller - 16 Apr, 2014)
(_ 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