Message: Re: LXe example, Segmentation fault Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: LXe example, Segmentation fault 

Keywords: LXe, Segmentation fault
Forum: Documentation and Examples
Re: None LXe example, Segmentation fault (amaresh kumar)
Re: Warning Re: LXe example, Segmentation fault (Gumplinger Peter)
Date: 13 Oct, 2006
From: amaresh kumar <amaresh kumar>

Hello Peter,
  Thanks for the help. I am incorporating the scintillation processes in A01example.
The scintillation process works fine but whe  i come to the point of detecting 
the optical photons. I am facing a problem, the detector is not detecting the optical photons. I went
throught the geant hypernews and it was helpful and refering to the
problem of Matt Orr "Optical photon detection" i have incorporated all 
the G4LogicalBoundarySurface to all my surfaces.
About the second part which ou told to put "
boundaryStatus=boundary->GetStatus();
  //Check to see if the particle was actually at a boundary 
  if(thePostPoint->GetStepStatus()==fGeomBoundary){
    switch(boundaryStatus){
    //...
      case Detection: //Note, this assumes that the volume causing detection
                      //is the photocathode because it is the only one with
                      //non-zero efficiency
        {
          //Trigger sensitive detector manually since photon is
          //absorbed but status was Detection
          G4SDManager* SDman = G4SDManager::GetSDMpointer();
          G4String sdName="/LXeDet/pmtSD";
          LXePMTSD* pmtSD = (LXePMTSD*)SDman
            ->FindSensitiveDetector(sdName);
          if(pmtSD)
            pmtSD->ProcessHits_constStep(theStep,NULL);
          break;
        }
      //...
    }"

Where do i put this part. If you want to have a look at the program i can send it through mail.

Thanks a lot for helping.

Amaresh

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

1 Feedback: Re: LXe example, Segmentation fault   (Peter Gumplinger - 17 Oct, 2006)
 Add Message Add Message
to: "Re: LXe example, Segmentation fault"

 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 ]