Message: Re: Runtime material optical properties modification Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Runtime material optical properties modification 

Forum: Processes Involving Optical Photons
Re: Question Runtime material optical properties modification (Luis Otiniano)
Date: 12 Mar, 2015
From: Gumplinger Peter <Gumplinger Peter>

> In /exanple/extended/optical/LXe/src/LXeDetectorConstruction.cc an
> update function is defined that allows run time modification of the
> detector
> 
> void LXeDetectorConstruction::UpdateGeometry(){ ... }
> 
> This restarts the optical surface properties for the photomultipliers.
> Is it possible to do something similar for the optical properties of the
> materials

Yes, I think so. However, in newer versions of Geant4 this UpdateGeometry() method has been removed and is replaced with a call to:

 G4RunManager::GetRunManager()->ReinitializeGeometry();

 Add Message Add Message
to: "Re: Runtime material optical properties modification"

 Subscribe Subscribe

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