Message: Re: Xray-telescope running problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Note Re: Xray-telescope running problem 

Forum: Documentation and Examples
Re: None Xray-telescope running problem (Andres)
Date: 27 Sep, 2005
From: Giovanni Santin <Giovanni Santin>

Dear Andres

You do not need any additional external package for using GPS.

It is strange that your program crashes in the PrimaryGenerator class. The method GeneratePrimaries() is the simplest I could think of. I suggest you check your Geant4 installation: there might be a problem with your library installation (different version of Geant4, or the compiler you used). Are you using Linux or Windows?

An *optional* package for histogramming (AIDA compliant) will let you save the results as histograms and tuples (in HBOOK or XML or other formats).

Thanks to your message, I discovered that unfortunately a minor error has been recently introduced in the example: to compile without any analysis tool (G4ANALYSIS_USE not set) you have to add an #ifdef in XrayTelAnalysis.hh around the definition of the histogram variables:

  AIDA::IHistogram1D *h1;
  AIDA::IHistogram2D *h2;
  AIDA::IHistogram1D *h3;
  AIDA::IHistogram2D *h4;
  AIDA::ITuple * ntuple;

I suppose this is not the cause of your segfault either, as you could compile the example. I will correct this for the next release.

The macro opengl.mac also contains some old gps commands. They are obsolete, but still accepted by the code. So they cannot be the cause of your segfault. I will correct those as well.

Please let me know how it proceeds. Cheers, Giovanni

Giovanni Santin
Space Environments and Effects Analysis
Tel: +31 (0)71 565 6267
Fax: +31 (0)71 565 4999

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

1 None: Re: Xray-telescope running problem   (Andres - 28 Sep, 2005)
 Add Message Add Message
to: "Re: Xray-telescope running problem"

 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 ]