Hello @weller
Yes, I started from B1 example! This is because I’m implementing the scintillation to my simulation…I’m building the simulation step -by-step and my supervisor said me to start from B1
Searching on the forum, I found this @dsawkey 's message Track of optical photon - #5 by dsawkey he said that in the macro of the OpNovice2 there are some command lines needed to use the scintillation I guess the lines are:
/process/optical/processActivation Cerenkov false
/process/optical/processActivation OpAbsorption true
/process/optical/processActivation OpBoundary false
/process/optical/processActivation Scintillation true
/process/optical/processActivation OpRayleigh false
/process/optical/processActivation OpMieHG false
/process/optical/processActivation OpWLS false
/process/optical/scintillation/setEnhancedTimeConstants true
/process/optical/scintillation/setYieldFactor 10
#/process/optical/scintillation/setExcitationRatio .5
/process/optical/scintillation/setByParticleType true
/process/optical/scintillation/setTrackInfo false
/process/optical/scintillation/setFiniteRiseTime false
/process/optical/scintillation/setStackPhotons true
/process/optical/scintillation/setTrackSecondariesFirst true
but if I add these lines I also don’t get the sentence
if(particleDef == opticalphoton) G4cerr << "I am a photon :)" << G4endl;