Message: Re: Additional energy deposited in scintillators Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

News Re: Additional energy deposited in scintillators 

Forum: Processes Involving Optical Photons
Re: Question Additional energy deposited in scintillators (Michael Hubbard)
Re: Idea Re: Additional energy deposited in scintillators (Michael Hubbard)
Re: Agree Re: Additional energy deposited in scintillators (Gumplinger Peter)
Re: Question Re: Additional energy deposited in scintillators (Michael Hubbard)
Date: 31 May, 2017
From: Andrea Dotti <Andrea Dotti>

Hello, thank you for the report. As a matter of fact we have found a bug in the example code responsible for this issue. It will be fixed in the next release and possibly in an upcoming patch. The issue causes the code responsible for senstitive detectors to be called twice, and thus the energy deposited is twice as expected.

A work-around exists. You need to modify the example code in the file src/LXeDetectorConstruction.cc. Change line 344 http://www-geant4.kek.jp/lxr/source/examples/extended/optical/LXe/src/LXeDetectorConstruction.cc#L344 from: SetSensitiveDetector(fMainVolume->GetLogPhotoCath(), fPmt_SD.Get()); to: fMainVolume->GetLogPhotoCath()->SetSensitiveDetector(fPmt_SD.Get());

And change in a similar way line 354 http://www-geant4.kek.jp/lxr/source/examples/extended/optical/LXe/src/LXeDetectorConstruction.cc#L354 from: SetSensitiveDetector(fMainVolume->GetLogScint(), fScint_SD.Get()); to: fMainVolume->GetLogScint()->SetSensitiveDetector(fScint_SD.Get());

Recompile the code and this time it should count correctly the energy deposit.

Thank you for your patience, Andrea

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

1 Ok: Re: Additional energy deposited in scintillators   (Michael Hubbard - 01 Jun, 2017)
 Add Message Add Message
to: "Re: Additional energy deposited in scintillators"

 Subscribe Subscribe

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