Message: Segmentation fault error Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Segmentation fault error 

Forum: Run Management
Date: 09 Jul, 2009
From: Matt Worden <Matt Worden>

Hello, I am trying to create a cerenkov detector. The detector is a quartz sphere with 121 quartz channels extending from one side of the sphere. I made the channels using arrays of objects and For Loops. Now I am trying to put 1 G4MultiFunctionalDetector at the end of each of the 121 channels. I tried to create the detectors using the same for loop but during runtime I get a Segmentation fault error.

I am thinking it has to do with the array of G4MultiFunctionalDetector. After BeamOn the following line

Created G4MultiFunctionalDetector named MyDetector, and a G4PSFlatSurfaceCurrent scorer named myScorer MyDetector had already stored in /

Runs 120 times

I would like to put a detector at the bottom of each channel so I could tell how many photons went through each separate channel. I based my code off Novice Exercise 6 and the SLAC HandsOn activity 3.

Any help would be appreciated

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

1 None: Re: Segmentation fault error   (Tsukasa Aso - 10 Jul, 2009)
(_ None: Re: Segmentation fault error   (Matt Worden - 20 Jul, 2009)
1 None: Re: Segmentation fault error   (Tsukasa Aso - 21 Jul, 2009)
2 None: Re: Segmentation fault error   (Tsukasa Aso - 21 Jul, 2009)
1 None: Re: Segmentation fault error   (Matt Worden - 21 Jul, 2009)
2 None: Re: Segmentation fault error   (Tsukasa Aso - 19 Sep, 2009)
 Add Message Add Message
to: "Segmentation fault error"

 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 ]