Message: Re: Detector efficiency Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Detector efficiency 

Forum: Processes Involving Optical Photons
Re: Question Detector efficiency (Yusuf)
Date: 03 Oct, 2014
From: Gumplinger Peter <Gumplinger Peter>


>  if(thePostPoint->GetProcessDefinedStep()->GetProcessName()
>        !="OpAbsorption") return false;

This doesn't work because 'OpAbsorption' is the bulk absorption in the medium (G4OpAbsorption-process).

> from my understanding to the G4 skin surface, all photon will be absorbed in the case of the efficiency =1. However, I can't see any hit.

See /examples/extended/optical/wls

  // Retrieve the status of the photon
  G4OpBoundaryProcessStatus theStatus = Undefined;

  G4ProcessManager* OpManager =

  if (OpManager) {
     G4int MAXofPostStepLoops =
     G4ProcessVector* fPostStepDoItVector =

     for ( G4int i=0; i<MAXofPostStepLoops; i++) {
         G4VProcess* fCurrentProcess = (*fPostStepDoItVector)[i];
         fOpProcess = dynamic_cast<G4OpBoundaryProcess*>(fCurrentProcess);
         if (fOpProcess) { theStatus = fOpProcess->GetStatus(); break;}

  switch (theStatus) {

     case Detection:


 Add Message Add Message
to: "Re: Detector efficiency"

 Subscribe Subscribe

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