Message: Re: How to turn off scintillation and Cerenkov? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: How to turn off scintillation and Cerenkov? 

Forum: Processes Involving Optical Photons
Re: Question How to turn off scintillation and Cerenkov? (Kareem Kazkaz)
Date: 28 Jul, 2009
From: Gumplinger Peter <Gumplinger Peter>

http://www-geant4.kek.jp/lxr/source//processes/management/src/G4ProcessTable.cc#L165

It looks like you are either inactivating a process which does not yet exist, or the process manager of the particle to which you want to attach the process, or more likely the particle itself, does not yet exist.

It cannot be because you didn't yet initialize the RunManager, for if that was the problem you'd get:

***** Illegal application state </process/inactivate Scintillation> *****

***** Batch is interupted!! *****

I just checked that if the process wasn't attached to the particle or didn't exist you'd get:

 illegal process (or type) name

so I suspect there is something wrong with your particle definitions.

The exampleN06 works when you add:

UI->ApplyCommand( "/process/inactivate Scintillation" );

in exampleN06.cc after UI has been defined and after runManager->Initialize();

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

1 None: Re: How to turn off scintillation and Cerenkov?   (Kareem Kazkaz - 29 Jul, 2009)
(_ None: Re: How to turn off scintillation and Cerenkov?   (Kareem Kazkaz - 29 Jul, 2009)
 Add Message Add Message
to: "Re: How to turn off scintillation and Cerenkov?"

 Subscribe Subscribe

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