Message: G4Exception-START: ELECTRONSCINTILLATIONYIELD Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question G4Exception-START: ELECTRONSCINTILLATIONYIELD 

Forum: Processes Involving Optical Photons
Date: 11 May, 2016
From: Sergio Lo Meo <Sergio Lo Meo>

Dear Experts,

in DetectorConstruction.cc of my simulation I set:

... Scint_MPT->AddConstProperty("ELECTRONSCINTILLATIONYIELD", 10000./MeV); Scint_MPT->AddConstProperty("PROTONSCINTILLATIONYIELD", 8000./MeV); Scint_MPT->AddConstProperty("DEUTERONSCINTILLATIONYIELD", 6000./MeV); Scint_MPT->AddConstProperty("TRITONSCINTILLATIONYIELD", 5000./MeV); Scint_MPT->AddConstProperty("ALPHASCINTILLATIONYIELD", 4000./MeV); Scint_MPT->AddConstProperty("IONSCINTILLATIONYIELD", 4000./MeV); ...

and in my macro.in I set:

... /process/optical/defaults/scintillation/setByParticleType true /run/initialize ..

cmake is ok, make -j2 is ok, but when I gun an electron... I see:

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : Scint01
      issued by : G4Scintillation::PostStepDoIt

G4Scintillation::PostStepDoIt(): Request for scintillation yield for energy deposit and particle type without correct entry in MaterialPropertiesTable. ScintillationByParticleType requires at minimum that ELECTRONSCINTILLATIONYIELD is set by the user

Missing MaterialPropertiesTable entry - No correct entry in MaterialPropertiesTable

*** Fatal Exception *** core dump *** -------- EEEE -------- G4Exception-END --------- EEEE -------

*** G4Exception: Aborting execution *** Annullato (core dump creato) -----------------------------------------------------------

My simulation is fine if there is only Scint_MPT->AddConstProperty("SCINTILLATIONYIELD", 10000./MeV);

in the DetectorConstruction and there is not the "/process/optical/.." line in my macro.in.

My PhysicsList is based by Constructors as:
...
// Optical Physics
  opPhysicsList = new G4OpticalPhysics();
...

What is the problem (or my mistake)? Thanks in advance. Best Regards

Sergio Lo Meo

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

1 Feedback: Re: G4Exception-START: ELECTRONSCINTILLATIONYIELD   (Gumplinger Peter - 11 May, 2016)
(_ Question: Re: G4Exception-START: ELECTRONSCINTILLATIONYIELD   (Sergio Lo Meo - 12 May, 2016)
(_ Feedback: Re: G4Exception-START: ELECTRONSCINTILLATIONYIELD   (Gumplinger Peter - 12 May, 2016)
(_ Question: Re: G4Exception-START: ELECTRONSCINTILLATIONYIELD   (Sergio Lo Meo - 13 May, 2016)
(_ Feedback: Re: G4Exception-START: ELECTRONSCINTILLATIONYIELD   (Gumplinger Peter - 13 May, 2016)
(_ Ok: Re: G4Exception-START: ELECTRONSCINTILLATIONYIELD   (Sergio Lo Meo - 22 May, 2016)
(_ Question: Re: G4Exception-START: ELECTRONSCINTILLATIONYIELD   (Nicholas DePorzio - 09 Aug, 2016)
(_ Feedback: Re: G4Exception-START: ELECTRONSCINTILLATIONYIELD   (Gumplinger Peter - 11 Aug, 2016)
 Add Message Add Message
to: "G4Exception-START: ELECTRONSCINTILLATIONYIELD"

 Subscribe Subscribe

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