Message: detector messenger with SD Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question detector messenger with SD 

Forum: Geometry
Date: 16 Jul, 2013
From: sergi <sergi>

Dear Geant4 users,

In my detector construction I have built two sensitive detectors (siliSD and converterSD). With the detector messenger class I want to change the thickness of the converterSD among other things but, when in my macro I put:

/run/initialize

/planar/det/setConvMat mB10

/planar/det/setConvThick 10 um

/planar/det/setMotherMat Galactic

/planar/det/setBulkMat Silicio

/planar/det/update

I get a "segmentation fault" when the reaction that i want to study (reaction implemented in the sensitivedetector class) takes place. I think that the problem must be in detector construction class or detector messenger class because when I deactivate these commands from the macro the run ends correctly.

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2013/07/16/09.00-37297-DetectorConstruction.hh
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2013/07/16/09.00-16035-DetectorMessenger.hh
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2013/07/16/09.00-71879-DetectorConstruction.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2013/07/16/09.00-85711-DetectorMessenger.cc

I have checked more than once these classes in order to find something wrong but i am not able to fix the problem. I would be very grateful if any of you could help me.

Thank you very much.

 Add Message Add Message
to: "detector messenger with SD"

 Subscribe Subscribe

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


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]