Message: Re: Count Optical Photon by a Sensitive Detector Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Count Optical Photon by a Sensitive Detector 

Forum: Hits, Digitization and Pileup
Re: Question Count Optical Photon by a Sensitive Detector (fatin hamimi mustafa)
Date: 30 Jan, 2014
From: fatin hamimi mustafa <fatin hamimi mustafa>

Hi,

I changed the code, but still based on the Lxe example and also based on N04 example (following TrackerSD and Hits files). The attachments are the codes. However, I got those error on my terminal when simulating it;

Start Run processing.

-------->Hits Collection: in this event they are 1 hits in the detector: 
  trackID: 1  position: 0 9.99017 0 mm 

 *** Break *** segmentation violation

=========================================================== There was a crash. This is the entire stack trace of all threads: ===========================================================

Thread 4 (process 1624):

#0  0x00007fff8aeab192 in __workq_kernreturn ()
#1  0x00007fff86227594 in _pthread_wqthread ()
#2  0x00007fff86228b85 in start_wqthread ()

Thread 3 (process 1624):

#0  0x00007fff8aeab192 in __workq_kernreturn ()
#1  0x00007fff86227594 in _pthread_wqthread ()
#2  0x00007fff86228b85 in start_wqthread ()

Thread 2 (process 1624):

#0  0x00007fff8aeab7e6 in kevent ()
#1  0x00007fff88bd0786 in _dispatch_mgr_invoke ()
#2  0x00007fff88bcf316 in _dispatch_mgr_thread ()

Thread 1 (process 1624):

#0  0x00007fff8aeab168 in wait4 ()
#1  0x00007fff861db5f5 in system ()
#2  0x00000001058b7539 in TUnixSystem::StackTrace ()
#3  0x00000001058b5094 in TUnixSystem::DispatchSignals ()
#4  <signal handler called>
#5  0x0000000106ec9be3 in MyUserAction::EndOfEventAction ()
#6  0x0000000101780dbe in GmUserEventActionList::EndOfEventAction ()
#7  0x000000010213730b in G4EventManager::DoProcessing ()
#8  0x0000000103c7c265 in G4RunManager::DoEventLoop ()
#9  0x0000000103c7af43 in G4RunManager::BeamOn ()
#10 0x0000000103c8060b in G4RunMessenger::SetNewValue ()
#11 0x00000001038bdb0c in G4UIcommand::DoIt ()
#12 0x00000001038c8c38 in G4UImanager::ApplyCommand ()
#13 0x00000001038b8174 in G4UIbatch::ExecCommand ()
#14 0x00000001038b89ff in G4UIbatch::SessionStart ()
#15 0x00000001038c8dd6 in G4UImanager::ExecuteMacroFile ()
#16 0x00000001038c5f12 in G4UIcontrolMessenger::SetNewValue ()
#17 0x00000001038bdb0c in G4UIcommand::DoIt ()
#18 0x00000001038c8c38 in G4UImanager::ApplyCommand ()
#19 0x0000000100e738d2 in main ()
=========================================================== The lines below might hint at the cause of the crash. If they do not help you then please submit a bug report at http://root.cern.ch/bugs. Please post the ENTIRE stack trace from above as an attachment in addition to anything else that might help us fixing this issue. ===========================================================
#5  0x0000000106ec9be3 in MyUserAction::EndOfEventAction ()
#6  0x0000000101780dbe in GmUserEventActionList::EndOfEventAction ()
#7  0x000000010213730b in G4EventManager::DoProcessing ()
#8  0x0000000103c7c265 in G4RunManager::DoEventLoop ()
#9  0x0000000103c7af43 in G4RunManager::BeamOn ()
#10 0x0000000103c8060b in G4RunMessenger::SetNewValue ()
#11 0x00000001038bdb0c in G4UIcommand::DoIt ()
#12 0x00000001038c8c38 in G4UImanager::ApplyCommand ()
#13 0x00000001038b8174 in G4UIbatch::ExecCommand ()
#14 0x00000001038b89ff in G4UIbatch::SessionStart ()
#15 0x00000001038c8dd6 in G4UImanager::ExecuteMacroFile ()
#16 0x00000001038c5f12 in G4UIcontrolMessenger::SetNewValue ()
#17 0x00000001038bdb0c in G4UIcommand::DoIt ()
#18 0x00000001038c8c38 in G4UImanager::ApplyCommand ()
#19 0x0000000100e738d2 in main ()
===========================================================

WARNING - Attempt to delete the physical volume store while geometry closed ! WARNING - Attempt to delete the logical volume store while geometry closed ! WARNING - Attempt to delete the solid store while geometry closed ! WARNING - Attempt to delete the region store while geometry closed !

Really need experts to solve it!

Thanks in advanced fatin

      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/01/30/03.05-85589-MyHit.doc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/01/30/03.05-35011-MySD.doc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/01/30/03.05-82750-MyUserAction.doc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/01/30/03.05-34596-MyUserEventInfo.doc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/01/30/03.05-37587-MyHit.doc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/01/30/03.05-22429-MySD.doc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/01/30/03.05-26456-MyUserAction.doc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/01/30/03.05-87332-MyUserEventInfo.doc

 Add Message Add Message
to: "Re: Count Optical Photon by a Sensitive Detector"

 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 ]