Forum: Documentation and Examples Not Logged In (login)
Show subscribers

Discussions of GEANT4 documentation, user examples, and various how-to recipes are included here.

The email gateway for this forum is: docsexamples-g4hn@slac.stanford.edu


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

None LXR setup for Geant  by Robert Penny <Robert Penny>,   Nov 19, 17:39
Hi,

I'm trying to set up LXR to cross reference a couple of large source
trees I'm using, namely Geant and VTK.  

I'm having trouble getting the out-of-the-box LXR package to correctly
locate and hyperlink the include files in Geant.  My understanding of
LXR is that you set the 'incprefix' value in lxr.conf to a list of
possible include directories in the source tree.  The trouble is that
the Geant source tree places many include-file directories near the end
branches of the source tree.  A quick search with 'find' indicates 234
include directories in the tree.

I've tried setting up up 'incprefix' to point to a "../include" from the
source file being displayed without success.  (I can't find a way to
specify this as being relative to the position of the source file rather
than relative to the head of the source tree.)

Is anyone on the list familiar with the details of the lxr.conf used to
cross reference and display Geant?  Or was LXR itself hacked to make it
work for the Geant source tree.  If it was simply done by a well-crafted
lxr.conf I'd love to see a copy of this.  (Of course it should be
sanitized to remove any database passwords or other sensitive info
first.)

I've done my own hack, where if the include file is not found through
the standard mechanism, the file is looked for in the relational
database table 'lxr_files' that is generated when the source is cross
referenced with 'genxref'.  So far this works like a charm, though I
haven't extensively tested it.  I'm mildly concerned, in principle,
about duplicated hits on include files with the same name in different
parts of the source tree.  However, I haven't found any cases of this in
Geant source tree so it's probably a moot point.

Thanks, 

-- 
Robert D. Penny <robert.d.penny@saic.com>

Question X Ray Fluorescence Advanced Example  by Sean Kirkwood <Sean Kirkwood>,   Nov 16, 13:32
Hi,

I have tried to compile the X-Ray Fluorescence Advanced Example and it does not work. I upgraded to 4.9.3-b01 from 4.9.2 (since it did not work in 4.9.2) in hopes that the updates there would fix the problem, but to no avail. I have G4EMLOW6.2 installed alongside CLHEP 2.0.4.2.

I have gcc-4.4.1 on Ubuntu 9.10.

According to the Forums, it seems the last time this worked was in version 4.8 and there was one reply in the Forum that this code was to be fixed by 4.9.2.

Can anyone give me a and in debugging this problem?

The specific error is:

======================== In file included from src/XrayFluoDataSet.cc:38:

include/XrayFluoDataSet.hh:84: error: conflicting return type specified for ‘virtual void XrayFluoDataSet::LoadData(const G4String&)’

/usr/share/GEANT4/geant4.9.3.b01/source/processes/electromagnetic/lowenergy/include/G4VEMDataSet.hh:70: error: overriding ‘virtual G4bool G4VEMDataSet::LoadData(const G4String&)’

/usr/share/CLHEP/include/CLHEP/Units/PhysicalConstants.h:80: warning: ‘CLHEP::electron_charge’ defined but not used

=========================

Regards, Sean

1 Feedback: Re: X Ray Fluorescence Advanced Example   (Alfonso Mantero - Nov 16, 23:20) newer
Question GEANT4 Web site search -- always zero results?  by Michael H. Kelsey <Michael H. Kelsey>,   Nov 06, 23:07
As a new G4 collaborator, I've found myself doing a lot of searches for information. Unfortunately, the search interface at the top of http://www.geant4.org/ doesn't appear to "work." At least, it seems to very frequently return zero hits, even for information I can see is there.

For example, try searching for "John." You'll get back the "0 hits" result. Now follow the hyperlink to the membership list (http://www.geant4.org/geant4/collaboration/members.shtml), and you'll see that several of our colleages are named John :-)

To get around this, I've started just using Google, with the "site:geant4.org" qualifier.

Is the search interface still maintained? If not, would it be reasonable to replace it with something "better," such as Google's "Custom Search" interface (http://www.google.com/cse/?hl=en)?

-- Michael Kelsey

Question Example N05 - Problem at Idle Terminal  by Rudy Resch <Rudy Resch>,   Nov 04, 09:26
I have so far gotten all of the novice examples to work, but there is some weird behavior that is happening when working interactively with example N05.

When I open the example and am at the "Idle>" prompt, I am unable to use the arrow keys to move around in a command after I have typed it. Instead of going back when I press the Left arrow, instead, "^[[D" without the quote marks is printed. Similarly, the Up arrow produces "^[[A", the Down arrow "^[[B", and the Right arrow "^[[C".

Everything works fine with the example, and the "Idle>" terminal works for all of the other novice examples, it is just if I mistype a command when working with example N05, I have to use "Ctrl+h" to delete the command and retype it.

Does anyone have any idea why this would happen?

1 None: RE: Example N05 - Problem at Idle Terminal   (Asai, Makoto - Nov 04, 09:31)
Question Is it really kZAxis or kXAxis? exampleN04 at two files: ExN04DetectorConstruction && ExN04CalorimeterROGeometry  by <kalitan>,   Nov 03, 00:07
Hi all,

I just would like to point out/verify this in exampleN04. I appended below the lines I am refereing.

Question: Why not just use kXAxis? we know that the detector's common axis is the X-axis? But in the ROGeometry, it is using the Z-axis? What is really the big difference? Would this affect the result much if I just become consistent using the X-axis for both?

Please explain.

Thanks

Zaldy

BTW, am using geant4.9.1.p03 using gcc 4.3.2 at Debian 5(Lenny) Distribution

============================================================================ Inside FILENAME: ExN04CalorimeterROGeometry.cc

G4VPhysicalVolume* ExN04CalorimeterROGeometry::Build()
{
.............
.............
  // -------------------------------
  // Calorimeter readout division:
  // -------------------------------
  // Phi division first: 48 sectors
................
................
................
  G4LogicalVolume * caloROcellLog
    = new G4LogicalVolume(caloROcellTub, dummyMat, "caloROcellLogical",0,0,0);
//  G4VPhysicalVolume * caloROcellPhys =
      new G4PVReplica("caloROcellPhysical", caloROcellLog, caloROphiDivisionPhys,
		      kZAxis, segmentsinZ,2.*caloRing_dz);
                      ^^^^^^
     ==============> THIS ONE above ***************************

...........
..........
   return ROWorldPhys;
}

Inside FILENAME: ExN04DetectorConstruction

G4VPhysicalVolume* ExN04DetectorConstruction::Construct()
{
..............
  //------------------------------ calorimeter
  G4VSolid * calorimeter_tubs
..............
  //------------------------------- Lead layers
  // As an example for Parameterised volume 
  // dummy values for G4Tubs -- modified by parameterised volume
  G4VSolid * caloLayer_tubs
...............
...............
  // dummy value : kXAxis -- modified by parameterised volume
  // G4VPhysicalVolume * caloLayer_phys =
      new G4PVParameterised("caloLayer_phys",caloLayer_log,calorimeter_log,
			   kXAxis, nocaloLayers, calorimeterParam);
                          ^^^^^^^^  
         ============> THIS ONE ABOVE *************************

..............
   return experimentalHall_phys;
}

Question buffer overflow detectedfor example RE02  by CHEN YONG <CHEN YONG>,   Oct 15, 15:37
Hi all, I try to run example RE02. I could compile without error. However, when I run the executable file, I got "buffer overflow detected" and the application was terminated. My system: G4.9.2 ubuntu 9.04

there are the whole msg I got:

<-- RE02DetectorConstruction::Construct-------
  Water Phantom Size (200,200,400)
  Segmentation  (100,100,200)
  Lead plate at even copy # (0-False,1-True): 1
<---------------------------------------------
*** buffer overflow detected ***: ./exampleRE02 terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb6d86da8]
/lib/tls/i686/cmov/libc.so.6[0xb6d84eb0]
/lib/tls/i686/cmov/libc.so.6[0xb6d845a8]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0xb6cf6bb8]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0xf4c)[0xb6cc977c]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa4)[0xb6d84654]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0xb6d8459d]
./exampleRE02[0x805848b]
./exampleRE02[0x81d86ae]
./exampleRE02[0x81d8498]
./exampleRE02[0x8056432]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb6c9f775]
./exampleRE02[0x8055c91]
======= Memory map: ========
08048000-089af000 r-xp 00000000 07:00 219081     /home/yong/work/RE02/bin/Linux-g++/exampleRE02
089af000-089b1000 r--p 00967000 07:00 219081     /home/yong/work/RE02/bin/Linux-g++/exampleRE02
089b1000-08a06000 rw-p 00969000 07:00 219081     /home/yong/work/RE02/bin/Linux-g++/exampleRE02
08a06000-08b15000 rw-p 08a06000 00:00 0 
0a2d9000-0a414000 rw-p 0a2d9000 00:00 0          [heap]
b69c5000-b69c8000 rw-p b69c5000 00:00 0 
b69c8000-b69cc000 r-xp 00000000 07:00 235458     /usr/lib/libXdmcp.so.6.0.0
b69cc000-b69cd000 rw-p 00003000 07:00 235458     /usr/lib/libXdmcp.so.6.0.0
b69cd000-b69f1000 r-xp 00000000 07:00 235700     /usr/lib/libexpat.so.1.5.2
b69f1000-b69f3000 r--p 00023000 07:00 235700     /usr/lib/libexpat.so.1.5.2
b69f3000-b69f4000 rw-p 00025000 07:00 235700     /usr/lib/libexpat.so.1.5.2
b69f4000-b6a24000 r-xp 00000000 07:00 25743      /lib/libpcre.so.3.12.1
b6a24000-b6a25000 r--p 0002f000 07:00 25743      /lib/libpcre.so.3.12.1
b6a25000-b6a26000 rw-p 00030000 07:00 25743      /lib/libpcre.so.3.12.1
b6a26000-b6a29000 r-xp 00000000 07:00 24246      /lib/libuuid.so.1.2
b6a29000-b6a2a000 r--p 00002000 07:00 24246      /lib/libuuid.so.1.2
b6a2a000-b6a2b000 rw-p 00003000 07:00 24246      /lib/libuuid.so.1.2
b6a2b000-b6a2c000 rw-p b6a2b000 00:00 0 
b6a2c000-b6a44000 r-xp 00000000 07:00 234329     /usr/lib/libxcb.so.1.1.0
b6a44000-b6a45000 r--p 00017000 07:00 234329     /usr/lib/libxcb.so.1.1.0
b6a45000-b6a46000 rw-p 00018000 07:00 234329     /usr/lib/libxcb.so.1.1.0
b6a46000-b6a48000 r-xp 00000000 07:00 233873     /usr/lib/libXau.so.6.0.0
b6a48000-b6a49000 r--p 00001000 07:00 233873     /usr/lib/libXau.so.6.0.0
b6a49000-b6a4a000 rw-p 00002000 07:00 233873     /usr/lib/libXau.so.6.0.0
b6a4a000-b6a52000 r-xp 00000000 07:00 234112     /usr/lib/libdrm.so.2.4.0
b6a52000-b6a53000 r--p 00007000 07:00 234112     /usr/lib/libdrm.so.2.4.0
b6a53000-b6a54000 rw-p 00008000 07:00 234112     /usr/lib/libdrm.so.2.4.0
b6a54000-b6a58000 r-xp 00000000 07:00 235464     /usr/lib/libXfixes.so.3.1.0
b6a58000-b6a59000 rw-p 00003000 07:00 235464     /usr/lib/libXfixes.so.3.1.0
b6a59000-b6a5b000 r-xp 00000000 07:00 235456     /usr/lib/libXdamage.so.1.1.0
b6a5b000-b6a5c000 rw-p 00001000 07:00 235456     /usr/lib/libXdamage.so.1.1.0
b6a5c000-b6a5d000 rw-p b6a5c000 00:00 0 
b6a5d000-b6a61000 r-xp 00000000 07:00 235498     /usr/lib/libXxf86vm.so.1.0.0
b6a61000-b6a62000 r--p 00003000 07:00 235498     /usr/lib/libXxf86vm.so.1.0.0
b6a62000-b6a63000 rw-p 00004000 07:00 235498     /usr/lib/libXxf86vm.so.1.0.0
b6a63000-b6a8e000 r-xp 00000000 07:00 234674     /usr/lib/libfontconfig.so.1.3.0
b6a8e000-b6a8f000 r--p 0002a000 07:00 234674     /usr/lib/libfontconfig.so.1.3.0
b6a8f000-b6a90000 rw-p 0002b000 07:00 234674     /usr/lib/libfontconfig.so.1.3.0
b6a90000-b6a98000 r-xp 00000000 07:00 235484     /usr/lib/libXrender.so.1.3.0
b6a98000-b6a99000 r--p 00007000 07:00 235484     /usr/lib/libXrender.so.1.3.0
b6a99000-b6a9a000 rw-p 00008000 07:00 235484     /usr/lib/libXrender.so.1.3.0
b6a9a000-b6ad6000 r-xp 00000000 07:00 235944     /usr/lib/libgobject-2.0.so.0.2000.1
b6ad6000-b6ad7000 r--p 0003b000 07:00 235944     /usr/lib/libgobject-2.0.so.0.2000.1
b6ad7000-b6ad8000 rw-p 0003c000 07:00 235944     /usr/lib/libgobject-2.0.so.0.2000.1
b6ad8000-b6b4a000 r-xp 00000000 07:00 234380     /usr/lib/libfreetype.so.6.3.20
b6b4a000-b6b4e000 r--p 00071000 07:00 234380     /usr/lib/liAborted

1 None: Re: buffer overflow detectedfor example RE02   (CHEN YONG - Oct 19, 12:40)
Question Version Control Software On Mac  by Matt Worden <Matt Worden>,   Oct 09, 03:05
I am not sure if this is the correct forum to post this question.

Does anyone use Version Control Software with their Geant projects? If you do what software do you use? Do you have to put the entire Geant4 Class Library in the repository?

I am just beginning to set up version control and any experience or hints would be appreciated.

Thanks Matt Worden

1 None: Re: Version Control Software On Mac   (Colin Paul Gloster - Oct 09, 04:02)
1 None: Re: Version Control Software On Mac   (Joseph Perl - Oct 09, 11:19)
1 None: Re: Version Control Software On Mac   (Colin Paul Gloster - Oct 09, 11:36)
2 None: Re: Version Control Software On Mac   (Joseph Perl - Oct 09, 11:40)
Question Visualisation novice example N02  by Nick Laver <Nick Laver>,   Aug 06, 01:57
Good Morning all,

am I correct in thinking that some kind of graphical representation should automatically open when I run novice example N02 ?

I am returned an message stating

"Visualization Manager instantiating... Visualization Manger initialising... Registering graphic systems...

You have successfully registered the following graphics systems. Current available graphics systems are: ASCIITree (ATree) DAWNFILE (DAWNFILE) G4HepRep (HepRepXML) G4HepRepFile (HepRepFile) RayTracer (RayTracer) VRMK1FILE (VRML1FILE) VRML2FILE (VRML2FILE) OpenGLImmediateWin32 (OGLIWin32) OpenGLStoredWin32 (OGLSWin32)

Registering model factories...

You have successfully registered te following model factories. Registered model factories: generic drawByCharge drawByParticleID drawByOriginVolume drawByAttribute

Registered filter factories: chargeFilter particleFilter originVolumeFilter attributeFilter

*****Can not open a macro file <vis.mac> Idle>"

is this a normal response or is there an error maybe with initial build ect.. if so how do I do about correcting it ?

thanks for your time

Nick

1 None: Re: Visualisation novice example N02   (Nick Laver - Aug 06, 03:43)
Question libG4detutils.so  by <llbb1987@gmail.com>,   Jul 14, 21:48
Hi,

I am now learning GEANT4 and here I meet some problems.

I can compile all the novice examples successfully but when I try to run the examples, I always get the same message that "error while loading shared libraries: libG4detutils.so: cannot open shared object file: No such file or directory".

My shell is bash and I have set my environment variables as follows:
    export G4SYSTEM=Linux-g++
    export G4WORKDIR=/home/llll/geant4
    export G4INSTALL=/top/level/directory/packages
               /geant4/4.9.0/slc4_ia32_gcc346/geant4.9.0.p01
    export CLHEP_BASE_DIR=/top/level/directory
               /packages/CLHEP/1.9.3.1/slc4_ia32_gcc346
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
               :$CLHEP_BASE_DIR/lib:$G4INSTALL/lib

Can anybody help me?

Thanks in advance.

PS:
    The GEANT4 is installed in a server and I am using it by log on to the server through my own PC.

1 None: Re: libG4detutils.so   (Joseph Perl - Jul 15, 14:19)
(_ None: Re: libG4detutils.so   (llbb1987@gmail.com - Jul 15, 19:50)
None segmentation fault with RE02 example  by Olivier Dadoun <Olivier Dadoun>,   Jun 30, 08:59
Hello,

I  try to use the RE02 example but unfortunately I have a segmentation fault under my mac
 (os x 10.5 gcc 4.0.1)

gdb give: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x40b49f00 0x00550cf5 in G4ParticleMessenger::~G4ParticleMessenger ()

do you have any idea ? by advance thank you cheers Olivier

1 None: Re: segmentation fault with RE02 example   (Joseph Perl - Jul 02, 01:25)
(_ None: Re: segmentation fault with RE02 example   (Olivier Dadoun - Jul 02, 01:48)
(_ None: Re: segmentation fault with RE02 example   (Joseph Perl - Jul 02, 02:08)
Question underground_physics error 1  by Christy <Christy>,   Jun 16, 11:32
Hi, I'm running GEANT4.9.0 on scientific linux and have been able to run a few of the examples (TestEM4 and LXe). I'm trying to run the advanced example underground_physics and this is the error message I get out:

[drift@koi218 underground_physics]$ gmake Compiling DMXPhysicsList.cc ... src/DMXPhysicsList.cc: In member function `virtual void DMXPhysicsList::ConstructEM()': src/DMXPhysicsList.cc:338: error: `G4hIonisation' was not declared in this scope src/DMXPhysicsList.cc:338: error: `ahadronIon' was not declared in this scope src/DMXPhysicsList.cc:338: error: `G4hIonisation' is not a type src/DMXPhysicsList.cc:338: warning: unused variable 'G4hIonisation' src/DMXPhysicsList.cc:356: error: `G4hIonisation' was not declared in this scope src/DMXPhysicsList.cc:356: error: `ahadronIon' was not declared in this scope src/DMXPhysicsList.cc:356: error: `G4hIonisation' is not a type src/DMXPhysicsList.cc:356: warning: unused variable 'G4hIonisation' /home/drift/CLHEP/include/CLHEP/Random/Randomize.h: At global scope: /home/drift/CLHEP/include/CLHEP/Random/Randomize.h:67: warning: 'CLHEP::HepRandomGenActive' defined but not used gmake: *** [/home/drift/g4work/tmp/Linux-g++/DMX/DMXPhysicsList.o] Error 1

If anyone has any suggestions... I'd be very grateful!! Thanks!

Question "Polarisation" Example, making polarized beams.  by taylor p connor <taylor p connor>,   Jun 08, 10:56
I changed the particleGun to gammas.

I see in the README file that "By default the ParticleGun polarization is zero."

Is there a way to make the particleGun's gammas all have the same polarization, or will I have to 'bounce' them off of something to get a polarized beam? Thank you for your help.

1 None: Re: "Polarisation" Example, making polarized beams.   (Paul Nicholas Colin Gloster - Jun 10, 08:40)
Question "Segmentation fault" on Medical_Linac Advanced Example  by Antonio De Simone <Antonio De Simone>,   22 May, 2009
Have anyone ever found the same output message during the execution of /run/beamOn on Medical Linac example? I've tried with various versions of Geant4 (4.8.3; 4.9.1p3; 4.9.2p1) and operating systems (Scientific linux 5.3 and Darwin) but i obtained always the same result. Anyone can help me? Thank you.

1 None: Re:   (G.A.P.Cirrone - 24 May, 2009)
(_ Question: Re: "Segmentation fault" on medical linac example   (Antonio De Simone - Jun 03, 07:32)
None Building dependencies for exampleN01  by Steven Sheets <Steven Sheets>,   18 May, 2009
Hi -

I got exampleN01 to build but after modifying the example I've ran into trouble compiling it. The issue is that as I compile the example it doesn't find the *.d dependencies:

Making dependency for file src/ExN01PrimaryGeneratorAction.cc ... /bin/sh: /ExN01PrimaryGeneratorAction.d: No such file or directory make: *** [/ExN01PrimaryGeneratorAction.d] Error 1

I thought these were generated by the makefile? In anycase, I don't know what to do and would appreciate any help.

thanks, Steven

1 None: Re: Building dependencies for exampleN01   (Joseph Perl - May 26, 11:17)
(_ None: Re: Building dependencies for exampleN01   (Steven Sheets - Jul 10, 14:31)
Question electron range in TestEm18   by Yannick Arnoud <Yannick Arnoud>,   05 May, 2009
   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2009/05/05/09.55-22633-dumpTexte.gif
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2009/05/05/09.55-46331-dumpEcran.gif
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2009/05/05/09.59-35030-electron.gif

Dear Geant 4 experts,

We are testing the energy loss of electrons in water. We used the TestEm18 example and obtained a very weird result for "low" energy electrons. All the 1 keV electrons we generate experience one interaction after 63.1 microns, and lose all their energy. The stepcut we use is 1 nm, far smaller than this 63 microns length.

Is our set of parameters wrong ? (see attached electron.mac) Do you have any piece of advice ?

Cheers,

Yannick and Isabelle

1 None: Re: electron range in TestEm18   (michel maire - 06 May, 2009)
2 None: Re: electron range in TestEm18   (Isabelle Fonteille - 07 May, 2009)
1 Question: Re: electron range in TestEm18   (Isabelle Fonteille - 07 May, 2009)
Question Access Old Versions of Geant4 (5.2 and older)  by Dragos Constantin <Dragos Constantin>,   04 May, 2009
Dear All, I would like to access older versions with full documentation. There is a link on

http://www.geant4.org/geant4/support/download.shtml

which points towards a "Full history of Geant4 releases"

http://pcitapiww.cern.ch/asd/geant/rd44.html

but the site is down. Is there another server from where I can download old versions , i.e. version 5.2, of Geant4?

I believe it is a good idea to have the older sources and the documentation available. For sure they do not use much storage space at today's standards and they could be moved on the main server if RD44 site is no longer hosting them.

In any case, I would like to look at the STEP interface, which was removed in version 6.0, and that's why I need the code and the corresponding documentation for Geant4.5.2.p02. Any help will be much appreciated.

Best regards, Dragos

1 None: Re: Access Old Versions of Geant4 (5.2 and older)   (Joseph Perl - 04 May, 2009)
1 Note: Re: Access Old Versions of Geant4 (5.2 and older)   (Dragos Constantin - 05 May, 2009)
2 None: Re: Access Old Versions of Geant4 (5.2 and older)   (Paul Nicholas Colin Gloster - 05 May, 2009)
1 Agree: Re: Access Old Versions of Geant4 (5.2 and older)   (Dragos Constantin - 05 May, 2009)
Question TestEm5 for Proton-neutron Reaction  by Tze Yee Lim <Tze Yee Lim>,   29 Apr, 2009
I am a student and very new to Geant4. I have been asked to simulate protons hitting an iron absorber and neutrons are expected to be generated via the Fe(p,n)Co reaction. The base code used is "TestEm5" under "electromagnetic" extended examples. The main things I modified are:

1. PhysicsList.cc to include all the hadronic processes, such as that of PhysicsList.cc in "hadronic" extended examples.

2. RunAction.cc to include a check and count for neutron particles.

3. Created a .mac file to control the absorber parameters as well as gun particle and energy.

However, in the output:

"
 ======================== run summary ======================

 The run was 10000 proton of 250 MeV through 4 m   of Iron (density: 7.87 g/cm3 )

 Total energy deposit in absorber per event = 249.6 MeV +- 9.381 keV

 -----> Mean dE/dx = 0.6241 MeV/cm      (0.0793 MeV*cm2/g)

 From formulas :
   restricted dEdx = 21.76 MeV/cm       (2.765 MeV*cm2/g)
   full dEdx       = 21.76 MeV/cm       (2.766 MeV*cm2/g)

 Leakage :  primary = 0 eV  +- 0 eV    secondaries = 731 eV  +- 93.51 eV 
 Energy balance :  edep + eleak = 249.6 MeV

 Total track length (charged) in absorber per event = 3.554 cm  +- 3.683 um 
 Total track length (neutral) in absorber per event = 4.885 um  +- 2.539 um 

 Number of steps (charged) in absorber per event = 16.25 +- 0.0006069
 Number of steps (neutral) in absorber per event = 0.0034 +- 0.0006069

 Number of secondaries per event : Gammas = 0.0506;   electrons = 203.5;   positrons = 0;   neutrons  = 0

 Number of events with the primary particle transmitted = 0 %
 Number of events with at least  1 particle transmitted (same charge as primary) = 0 %

 Number of events with the primary particle reflected = 0 %
 Number of events with at least  1 particle reflected (same charge as primary) = 0 %
"

Turned out that I did not manage to obtain any neutron particles. I suspect that I did not include an important process. But then again, I practically copied the whole PhysicsList.cc file from the "hadronic" folder.

Your help would be greatly appreciated. I thank you in advance.

Sincerely, Z

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2009/04/29/13.21-18290-PhysicsList.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2009/04/29/13.21-13884-RunAction.cc

1 Idea: Re: TestEm5 for Proton-neutron Reaction   (Vladimir Ivanchenko - 21 May, 2009)
None exampleN03  by Ritika Garg <Ritika Garg>,   26 Apr, 2009
When any example say exampleN01 is compiled by giving the command make, then an executable file called exampleN01 is created in /bin/Linux-g++.

Is it neccesary to again compile exampleN01 by using the command make, everytime one wants to run the exampleN01?

Also after giving make for exampleN03 the following output comes: /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x112a): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x113b): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glStencilFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x114f): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glStencilOp' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1164): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x116e): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x118b): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthMask' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1195): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x11a4): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glPolygonMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x11e3): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glMaterialfv' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x11eb): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glColor4fv' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x11f5): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glBegin' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1211): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEdgeFlag' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x122d): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glNormal3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1245): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glVertex3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1251): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1262): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glStencilFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1276): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glStencilOp' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1280): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12a7): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12b6): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glPolygonMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12c0): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12d6): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12e0): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glBegin' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12fc): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEdgeFlag' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1318): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glNormal3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1330): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glVertex3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x133c): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1346): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1350): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glBegin' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x14d6): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x14e0): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glCullFace' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1549): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEdgeFlag' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x155d): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glNormal3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1571): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glVertex3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1601): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1610): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthMask' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1625): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x162f): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glCullFace' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1648): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1652): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glCullFace' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x183b): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1848): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x186d): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glLineWidth' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x193a): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1944): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1995): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glPolygonMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x19b3): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glRasterPos3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x19d6): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glPixelStorei' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1a03): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glBitmap' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1a34): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glPolygonMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1a5a): In function `G4OpenGLSceneHandler::AddPrimitive(G4Square const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1a9a): In function `G4OpenGLSceneHandler::AddPrimitive(G4Circle const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1bce): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1bd8): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1be2): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c02): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glRasterPos3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c0c): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glPushAttrib' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c13): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glListBase' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c2a): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glCallLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c2f): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glPopAttrib' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x249f): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x24a9): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x24b3): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x24d5): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glLineWidth' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x24df): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glBegin' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x250c): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glVertex3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x2515): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glEnd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x253d): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x26): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x2b): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glFlush' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x35): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glDrawBuffer' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x42): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glEndList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x51): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x56): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x60): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x65): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x119): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glGenLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x18b): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glNewList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x1bf): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x1ed): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glMultMatrixd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x212): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glLoadName' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x224): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glCallList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x229): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x23e): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glEndList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x70b): In function `G4OpenGLStoredSceneHandler::ClearTransientStore()': : undefined reference to `glDeleteLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x7b8): In function `G4OpenGLStoredSceneHandler::ClearStore()': : undefined reference to `glDeleteLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x873): In function `G4OpenGLStoredSceneHandler::ClearStore()': : undefined reference to `glDeleteLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x8b3): In function `G4OpenGLStoredSceneHandler::ClearStore()': : undefined reference to `glDeleteLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x966): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glGenLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xa85): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glNewList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xa9e): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb42): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glDrawBuffer' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb47): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb63): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glMultMatrixd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb7c): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb93): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb98): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb9d): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glLoadIdentity' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xbca): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glOrtho' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xbd4): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xbd9): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xbde): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glLoadIdentity' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe23): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glDrawBuffer' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe28): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe49): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glMultMatrixd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe62): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe72): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glNewList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x40b): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x427): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMultMatrixd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x49b): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x4a3): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glCallList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x4a8): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x5f9): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glCallList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x652): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glClipPlane' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x65c): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x69f): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x6a4): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x6a9): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glLoadIdentity' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x6f3): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glOrtho' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x6fd): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x702): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x707): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glLoadIdentity' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x897): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x89c): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x8a6): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x8ab): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x927): In /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x112a): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x113b): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glStencilFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x114f): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glStencilOp' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1164): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x116e): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x118b): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthMask' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1195): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x11a4): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glPolygonMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x11e3): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glMaterialfv' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x11eb): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glColor4fv' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x11f5): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glBegin' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1211): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEdgeFlag' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x122d): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glNormal3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1245): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glVertex3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1251): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1262): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glStencilFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1276): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glStencilOp' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1280): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12a7): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12b6): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glPolygonMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12c0): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12d6): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12e0): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glBegin' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12fc): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEdgeFlag' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1318): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glNormal3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1330): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glVertex3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x133c): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1346): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1350): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glBegin' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x14d6): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x14e0): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glCullFace' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1549): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEdgeFlag' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x155d): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glNormal3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1571): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glVertex3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1601): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1610): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthMask' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1625): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x162f): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glCullFace' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1648): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1652): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glCullFace' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x183b): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1848): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x186d): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glLineWidth' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x193a): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1944): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1995): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glPolygonMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x19b3): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glRasterPos3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x19d6): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glPixelStorei' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1a03): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glBitmap' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1a34): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glPolygonMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1a5a): In function `G4OpenGLSceneHandler::AddPrimitive(G4Square const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1a9a): In function `G4OpenGLSceneHandler::AddPrimitive(G4Circle const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1bce): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1bd8): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1be2): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c02): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glRasterPos3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c0c): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glPushAttrib' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c13): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glListBase' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c2a): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glCallLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c2f): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glPopAttrib' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x249f): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x24a9): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x24b3): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x24d5): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glLineWidth' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x24df): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glBegin' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x250c): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glVertex3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x2515): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glEnd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x253d): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x26): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x2b): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glFlush' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x35): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glDrawBuffer' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x42): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glEndList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x51): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x56): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x60): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x65): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x119): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glGenLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x18b): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glNewList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x1bf): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x1ed): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glMultMatrixd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x212): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glLoadName' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x224): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glCallList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x229): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x23e): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glEndList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x70b): In function `G4OpenGLStoredSceneHandler::ClearTransientStore()': : undefined reference to `glDeleteLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x7b8): In function `G4OpenGLStoredSceneHandler::ClearStore()': : undefined reference to `glDeleteLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x873): In function `G4OpenGLStoredSceneHandler::ClearStore()': : undefined reference to `glDeleteLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x8b3): In function `G4OpenGLStoredSceneHandler::ClearStore()': : undefined reference to `glDeleteLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x966): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glGenLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xa85): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glNewList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xa9e): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb42): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glDrawBuffer' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb47): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb63): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glMultMatrixd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb7c): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb93): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb98): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb9d): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glLoadIdentity' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xbca): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glOrtho' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xbd4): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xbd9): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xbde): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glLoadIdentity' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe23): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glDrawBuffer' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe28): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe49): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glMultMatrixd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe62): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe72): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glNewList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x40b): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x427): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMultMatrixd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x49b): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x4a3): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glCallList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x4a8): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x5f9): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glCallList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x652): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glClipPlane' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x65c): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x69f): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x6a4): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x6a9): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glLoadIdentity' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x6f3): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glOrtho' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x6fd): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x702): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x707): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glLoadIdentity' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x897): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x89c): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x8a6): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x8ab): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x927): In /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x112a): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x113b): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glStencilFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x114f): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glStencilOp' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1164): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x116e): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x118b): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthMask' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1195): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x11a4): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glPolygonMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x11e3): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glMaterialfv' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x11eb): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glColor4fv' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x11f5): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glBegin' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1211): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEdgeFlag' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x122d): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glNormal3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1245): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glVertex3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1251): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1262): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glStencilFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1276): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glStencilOp' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1280): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12a7): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12b6): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glPolygonMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12c0): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12d6): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12e0): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glBegin' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x12fc): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEdgeFlag' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1318): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glNormal3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1330): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glVertex3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x133c): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1346): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1350): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glBegin' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x14d6): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x14e0): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glCullFace' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1549): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEdgeFlag' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x155d): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glNormal3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1571): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glVertex3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1601): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1610): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glDepthMask' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1625): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x162f): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glCullFace' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1648): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1652): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyhedron const&)': : undefined reference to `glCullFace' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x183b): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1848): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x186d): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glLineWidth' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x193a): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1944): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1995): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glPolygonMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x19b3): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glRasterPos3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x19d6): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glPixelStorei' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1a03): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glBitmap' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1a34): In function `G4OpenGLSceneHandler::AddCircleSquare(G4VMarker const&, G4OpenGLBitMapStore::Shape)': : undefined reference to `glPolygonMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1a5a): In function `G4OpenGLSceneHandler::AddPrimitive(G4Square const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1a9a): In function `G4OpenGLSceneHandler::AddPrimitive(G4Circle const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1bce): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1bd8): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1be2): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c02): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glRasterPos3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c0c): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glPushAttrib' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c13): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glListBase' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c2a): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glCallLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x1c2f): In function `G4OpenGLSceneHandler::AddPrimitive(G4Text const&)': : undefined reference to `glPopAttrib' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x249f): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x24a9): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glDepthFunc' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x24b3): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x24d5): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glLineWidth' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x24df): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glBegin' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x250c): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glVertex3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x2515): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glEnd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLSceneHandler.o)(.text+0x253d): In function `G4OpenGLSceneHandler::AddPrimitive(G4Polyline const&)': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x26): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x2b): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glFlush' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x35): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glDrawBuffer' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x42): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glEndList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x51): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x56): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x60): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x65): In function `G4OpenGLStoredSceneHandler::AddPrimitivePostamble()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x119): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glGenLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x18b): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glNewList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x1bf): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x1ed): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glMultMatrixd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x212): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glLoadName' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x224): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glCallList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x229): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x23e): In function `G4OpenGLStoredSceneHandler::EndModeling()': : undefined reference to `glEndList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x70b): In function `G4OpenGLStoredSceneHandler::ClearTransientStore()': : undefined reference to `glDeleteLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x7b8): In function `G4OpenGLStoredSceneHandler::ClearStore()': : undefined reference to `glDeleteLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x873): In function `G4OpenGLStoredSceneHandler::ClearStore()': : undefined reference to `glDeleteLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x8b3): In function `G4OpenGLStoredSceneHandler::ClearStore()': : undefined reference to `glDeleteLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0x966): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glGenLists' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xa85): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glNewList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xa9e): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb42): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glDrawBuffer' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb47): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb63): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glMultMatrixd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb7c): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb93): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb98): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xb9d): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glLoadIdentity' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xbca): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glOrtho' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xbd4): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xbd9): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xbde): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glLoadIdentity' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe23): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glDrawBuffer' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe28): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe49): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glMultMatrixd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe62): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredSceneHandler.o)(.text+0xe72): In function `G4OpenGLStoredSceneHandler::AddPrimitivePreamble(G4Visible const&)': : undefined reference to `glNewList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x40b): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x427): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMultMatrixd' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x49b): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x4a3): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glCallList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x4a8): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x5f9): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glCallList' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x652): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glClipPlane' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x65c): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glEnable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x69f): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x6a4): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x6a9): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glLoadIdentity' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x6f3): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glOrtho' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x6fd): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x702): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPushMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x707): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glLoadIdentity' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x897): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x89c): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x8a6): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glMatrixMode' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x8ab): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glPopMatrix' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x927): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x931): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glLoadName' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0xf3f): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLBitMapStore.o)(.text+0x16a): In function `G4OpenGLBitMapStore::GetBitMap(G4OpenGLBitMapStore::Shape, double&, bool)': : undefined reference to `glGetIntegerv' collect2: ld returned 1 exit status make: *** [/home/gritika/g4work/bin/Linux-g++/exampleN03] Error function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x931): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glLoadName' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0xf3f): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLBitMapStore.o)(.text+0x16a): In function `G4OpenGLBitMapStore::GetBitMap(G4OpenGLBitMapStore::Shape, double&, bool)': : undefined reference to `glGetIntegerv' collect2: ld returned 1 exit status make: *** [/home/gritika/g4work/bin/Linux-g++/exampleN03] Error function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glDisable' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0x931): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glLoadName' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLStoredViewer.o)(.text+0xf3f): In function `G4OpenGLStoredViewer::DrawDisplayLists()': : undefined reference to `glColor3d' /home/gritika/geant4/geant4.9.0/lib/Linux-g++/libG4OpenGL.a(G4OpenGLBitMapStore.o)(.text+0x16a): In function `G4OpenGLBitMapStore::GetBitMap(G4OpenGLBitMapStore::Shape, double&, bool)': : undefined reference to `glGetIntegerv' collect2: ld returned 1 exit status make: *** [/home/gritika/g4work/bin/Linux-g++/exampleN03] Error 1

What might be the error?

Question Compilation of the advanced example Tiara in Geant4.9.2p01 release  by Aczel Regino García Ríos <Aczel Regino García Ríos>,   13 Apr, 2009
I have recently read in this forum that the advanced example Tiara has suffered some changes. Also that the pythonized Tiara example in Geant4 has been deprecated since release 9.0. Right now, I am working with Geant4.9.2p01 and unfortunately many errors appeared when trying to compile the Tiara example. I would appreciate any suggestion about the environment settings that I should take into account to compile and build this example with the last version of Geant4. It is pretty important for me to study this example. Thanks in advance!!!

None running A01  by Ritika Garg <Ritika Garg>,   06 Apr, 2009
After the command /vis/draw Volume on the idle prompt the following message is displayed:

command </vis/draw Volume> not found

Do I need to make any change in the A01app.cc file?

Question Editing TestEm11  by Antonio Magalhaes <Antonio Magalhaes>,   03 Apr, 2009
Hi! I had changed the TestEm11 to gun the beam at 80cm far from the face of detector... However, now, all the interactions happens before the detector, with 100% reflection... Anyone can help me? Thanks!

1 None: Re: Editing TestEm11   (michel maire - 06 Apr, 2009)
None running vis1.mac  by Ritika Garg <Ritika Garg>,   23 Mar, 2009
The command to execute vis1.mac is given to be %$(G4BINDIR)/exampleN03 in the guide for application developers in section 2.10.5.1 I typed the same command on the terminal but the following message appeared: bash: /exampleN03: No such file or directory

What is the correct command?

1 None: Re: running vis1.mac   (michel maire - 24 Mar, 2009)
2 None: Re: running vis1.mac   (Juan - 25 Mar, 2009)
None Adding to $PATH  by Ritika Garg <Ritika Garg>,   22 Mar, 2009
 How do I add $G4WORKDIR/bin/$G4SYSTEM to $PATH in the environment?

None using the forum  by Ritika Garg <Ritika Garg>,   16 Mar, 2009
When I give a message regarding any problem in the forum and I get a reply, then to further ask any problem regarding the reply should I click on the tab "add message"?
1 More: Re: using the forum   (Gabriele Cosmo - 17 Mar, 2009)
Question Example 4.7 in Guide for Application Developers  by Juan <Juan>,   13 Feb, 2009
Deal all,

I'm trying to understand the G4AssemblyVolume class. I have wrote a code based on example Example 4.7 from Guide for Application Developers. I dont know if there is an error but when I write this :

  Ta.setX( worldX/4. ); Ta.setY( worldX/4. ); Ta.setZ( 0. );
  assemblyDetector->AddPlacedVolume( plateLV, G4Transform3D(Ta,Ra) );

It does not compile:
 error: no matching function for call to `G4AssemblyVolume::AddPlacedVolume(G4LogicalVolume*&, G4Transform3D)'
/usr/local/geant4/include/G4AssemblyVolume.hh:84: note: candidates are: void G4AssemblyVolume::AddPlacedVolume(G4LogicalVolume*, G4ThreeVector&, G4RotationMatrix*)
/usr/local/geant4/include/G4AssemblyVolume.hh:115: note:                 void G4AssemblyVolume::AddPlacedVolume(G4LogicalVolume*, G4Transform3D&)
make: *** [/home/cabrera/geant4/tmp/Linux-g++/template/GeometryConstruction.o] Error 1

Defining a G4Transform3D variable with input parameters (Ra and Ta) inverted, it works:
  Ta.setX(worldX/4.); Ta.setY(worldY/4.); Ta.setZ(0.);
  G4Transform3D trans = G4Transform3D(Ra,Ta);
  assemblyDetector->AddPlacedVolume(plateLV,trans);

Is there something wrong in my program or is it a typo in the Documentation?

Juan

1 None: Re: Example 4.7 in Guide for Application Developers   (Paul Nicholas Colin Gloster - 13 Feb, 2009)
2 None: Re: Example 4.7 in Guide for Application Developers   (Tatiana Nikitina - 23 Feb, 2009)
3 Note: Re: Example 4.7 in Guide for Application Developers   (Juan - 23 Feb, 2009)
1 Note: Re: Example 4.7 in Guide for Application Developers   (Juan - 23 Feb, 2009)
Question GEANT4 Human Phantom  by Steven Avery <Steven Avery>,   10 Feb, 2009
I'm trying to build the human phantom example in geant4.9.2; I have installed xerces from suse 10.2 and GDML v3.0. I built geant4.9.2 with the GDML flag set to 1. When I try to compile it gives me an error saying SAXProcessor,ProcessingConfigurator and GDMLProcessor are not declared. This only happens for G4MIRDTestes.cc, G4ORNLFemaleBodyFactory.cc and G4ORNLMaleBodyFactory.cc. This there an additional step required to run this example?

Thanks, Stephen

Question How is parallelization implemented using MPI and Geant4?  by Krisztian Balla <Krisztian Balla>,   31 Jan, 2009
I installed Geant4 & MPICH2 on Xubuntu Linux 8.04 and compiled the parallelization examples successfully.

Unfortunately all the applications do, is to construct an MPI session im main() and start it. The README files of the applications state that you can learn how to parallelize your Geant4 applications with them.

It seems to me that you don't have to do anything to parallelize your application, despite creating the MPI manager and session objects. Is this true?

There is no real documentation on how the MPI parallelization written by mister Koichi Murakami works. So I wonder if this would work?

1.) I use the "EndOfEvent()" method of the sensitive detector to add hits to an AIDA histogram.

2.) I use the "EndOfRunAction()" method of a custom run action class to write the histogram to a file.

If only the events are parallelized (and NOT the sensitive detector) this should work fine. Could anybody please enlighten me?

(I hope this is the right forum to post. There seems to be no parallelization forum.)

1 Sad: Re: How is parallelization implemented using MPI and Geant4?   (Krisztian Balla - 31 Jan, 2009)
(_ Idea: Re: How is parallelization implemented using MPI and Geant4?   (Krisztian Balla - 31 Jan, 2009)
(_ None: Re: How is parallelization implemented using MPI and Geant4?   (Tom Roberts - 31 Jan, 2009)
(_ Agree: Re: How is parallelization implemented using MPI and Geant4?   (Krisztian Balla - 31 Jan, 2009)
(_ None: Re: How is parallelization implemented using MPI and Geant4?   (Tom Roberts - 31 Jan, 2009)
None Error making example N01, Cannot open CLHEP.lib  by <jdswado@yahoo.com>,   30 Jan, 2009
Hello,

I'm trying to run exampleN01 but when I do I continously get the following error: LINK: fatal error LNK1181: cannot open input file 'CLHEP.lib'

Here's the error in context:

Open a new Cygwin Window:

Setting environment for using Microsoft Visual Studio 2005 x86 tools.

Attempting to detect a Microsoft Visual Studio installation

Targeting Windows XP 32 DEBUG

Ryan Manger@nola ~ $ export G4WORKDIR=c:/g4work

Ryan Manger@nola ~ $ source c:/Geant4/geant4_9_2/env.sh On this machine the G4SYSTEM=WIN32-VC On this machine the G4INSTALL=c:/Geant4/geant4_9_2 On this machine the G4LIB=c:/Geant4/geant4_9_2/lib On this machine the G4LEVELGAMMADATA=1/PhotonEvaportaion2.0 On this machine the G4RADIOACTIVEDATA=1/RadioactiveDecay3.2 On this machine the G4LEDATA=1/G4EMLOW6.2 On this machine the G4NEUTRONHPDATA=c:/Geant4/geant4_9_0/data/G4NDL3.11 On this machine the CLHEP_BASE_DIR=c:/CLHEP On this machine the CLHEP_INCLUDE_DIR=c:/CLHEP/include On this machine the CLHEP_LIB_DIR=c:/CLHEP/lib On this machine the CLHEP_LIB=CLHEP.lib On this machine the G4UI_BUILD_WIN32_SESSION=1 On this machine the G4UI_USE_WIN32=1 On this machine the G4VIS_BUILD_OPENGLWIN32_DRIVER=1 On this machine the G4VIS_USE_OPENGLWIN32=1 On this machine the XMFLAGS= On this machine the XMLIBS= On this machine the XMFLAGS= On this machine the XAWFLAGS= On this machine the XAWLIBS= On this machine the G4LIB_BUILD_STATIC=1 On this machine the G4LIB_USE_GRANULAR=1

Ryan Manger@nola ~ $ cd $G4WORKDIR/N01

Ryan Manger@nola ~ $ make Making dependency for file exampleN01.cc ... Making dependency for file src/ExN01PrimaryGeneratorAction.cc ... Making dependency for file src/ExN01PhysicsList.cc ... Making dependency for file src/ExN01PhysicsList.cc ... Making dependency for file src/ExN01DetectorConstruction.cc ... Compiling ExN01DetectorConstruction.cc ... ExN01DetectorConstruction.cc Compiling ExN01PhysicsList.cc ... ExN01PhysicsList.cc Compiling ExN01PrimaryGeneratorAction.cc ... ExN01PrimaryGeneratorAction.cc Creating/replacing object files in c:/g4work/tmp/WIN32-VC/exampleN01/libexampleN01.a ... Microsoft <R> Library Manager Version 8.00.50727.762 Copyright <C> Microsoft Corporation. All rights reserved.

Compiling exampleN01.cc ... exampleN01.cc Using granular libraries ... Linking exampleN01 ... LINK: fatal error LNK1181: cannot open input file 'CLHEP.lib' make: ***[c:/g4work/bin/WIN32-VC/exampleN01] Error 2

Ryan Manger@nola ~ $

That's as far as it will run. I've checked the forums and searched online and there seems to be some connection possible to Microsoft SDK but I can't get any clear answers about how to fix this. If anyone has any ideas please let me know and many thanks.

1 None: Re: Error making example N01, Cannot open CLHEP.lib   (Paul Nicholas Colin Gloster - 30 Jan, 2009)
Question G4cout weird behaviour  by Hans Wenzel <Hans Wenzel>,   30 Jan, 2009
I am getting weird output. Using the std::cout with the code snipet below I get:

    G4String tagstring2, tagstring = "float ";
    std::cout << "here we go: " << std::endl;
    //    for (int i = 0; i < 28; i++) {
    for (int i = 0; i < 5; i++) {
        tagstring2 = tagstring + "hcal" + i + ":";
        tagstring = tagstring2;
        std::cout << "tagstring:  " << tagstring2 << std::endl;
    }

results as expected in the following output:

here we go:

tagstring:  float hcal0:
tagstring:  float hcal0:hcal1:
tagstring:  float hcal0:hcal1:hcal2:
tagstring:  float hcal0:hcal1:hcal2:hcal3:
tagstring:  float hcal0:hcal1:hcal2:hcal3:hcal4:

While using G4cout (code snipet below)

    G4String tagstr2, tagstr = "float ";
    G4cout << "here we go again: " << G4endl;
    //    for (int i = 0; i < 28; i++) {
    for (int i = 0; i < 5; i++) {
        tagstr2 = tagstr + "hcal" + i + ":";
        tagstr = tagstr;
        G4cout << "tagstr:  " << tagstr2 << G4endl;
    }

The output is very different (more or less garbage):

here we go again: tagstr: float hcal0tagstr: float hcal1tagstr: float hcal2tagstr: float hcal3tagstr: float hcal4tagstring: float hcal4:

Any idea what's going on.

thanks

Hans

1 More: Re: G4cout weird behaviour   (Krisztian Balla - 31 Jan, 2009)
(_ Idea: Re: G4cout weird behaviour   (Krisztian Balla - 31 Jan, 2009)
(_ Question: Re: G4cout weird behaviour   (Krisztian Balla - 31 Jan, 2009)
Question G4RegNavHelper in DICOM example of GEANT 4.9.2 ??  by Markus Wagner <Markus Wagner>,   27 Jan, 2009
Hi!

I just wanted to compile the DICOM example from the GEANT 4.9.2 release and got the error that G4RegNavHelper is not defined. The history of the example says that Pedro Acre included "G4PSDoseDeposit_RegNav to distribute dose along voxels" on 27.11.2008. This new class is the only one which uses the class G4RegNavHelper which I could not find in the example dir and neither in the source dir of GEANT 4.9.2. I could run the example with the normal G4PSDoseDeposit scorer and SetSkipEqualMaterials to 0 for the PhantomParameterisation but I would like to test the new scorer written by Mr. Acre. So can anybody tell me where to find G4RegNavHelper?

Thanks and Best regards Markus Wagner

1 More: Re: G4RegNavHelper in DICOM example of GEANT 4.9.2 ??   (Gabriele Cosmo - 28 Jan, 2009)
(_ Feedback: Re: G4RegNavHelper in DICOM example of GEANT 4.9.2 ??   (Pedro Arce - 30 Jan, 2009)
None Problem Understanding ExN02Physics List  by <jdswado@yahoo.com>,   23 Jan, 2009
Hi, I'm learning Geant and was hoping someone here could help me understand what's happening in the following code snippet from the second novice example.

#include "G4StepLimiter.hh"
#include "G4UserSpecialCuts.hh"

void ExN02PhysicsList::AddStepMax()
{
  // Step limitation seen as a process
  G4StepLimiter* stepLimiter = new G4StepLimiter();
  ////G4UserSpecialCuts* userCuts = new G4UserSpecialCuts();

  theParticleIterator->reset();
  while ((*theParticleIterator)()){
      G4ParticleDefinition* particle = theParticleIterator->value();
      G4ProcessManager* pmanager = particle->GetProcessManager();

      if (particle->GetPDGCharge() != 0.0)
        {
	  pmanager ->AddDiscreteProcess(stepLimiter);
	  ////pmanager ->AddDiscreteProcess(userCuts);
        }
  }
}

I don't understand what is accomplished by this if statement. I think it says: If the charge on the particle is not zero, invoke the normal G4steplimiter and G4userspecialcuts operations. But this doesn't make much since to me, if anyone could help me out with this that would be great.

Thanks, JStewart

1 None: Re: Problem Understanding ExN02Physics List   (michel maire - 24 Jan, 2009)
None Error while loading shared libraries  by Arewa <Arewa>,   16 Jan, 2009
I'm working on the geant4 nder vimwar. During the comlpilation of th example N03 and all the other examples, I have found this worring:

/usr/bin/ld: warning: libXm.so.4, needed by /home/local1/geant4/work/tmp/Linux-g++/exampleN03/libexampleN03.so, not found (try using -rpath or -rpath-link) ... Done!

Then when I was executing this example I found:

/home/local1/geant4/work/bin/Linux-g++/exampleN03: error while loading shared libraries: libexampleN03.so: cannot open shared object file: No such file or directory

Would you mind unswering me, pleas!

1 None: Re: Error while loading shared libraries   (Paul Nicholas Colin Gloster - 19 Jan, 2009)
(_ None: Re: Error while loading shared libraries   (Paul Nicholas Colin Gloster - 19 Jan, 2009)
None High(er) resolution Booch diagrams in Toolkit Developer Guide  by Ben Morgan <Ben Morgan>,   13 Jan, 2009
Going through the Toolkit Developer Guide, for the current version and 9.1/9.0, some of the Booch and class diagrams are very low resolution in both the online and downloadable forms. In some cases these are completely unreadable.

Could higher resolution pictures be added please?

Thanks,

Ben Morgan.

1 Feedback: Re: High(er) resolution Booch diagrams in Toolkit Developer Guide   (Katsuya Amako - 13 Jan, 2009)
Question G4NucleiPropertiesTable class documentation question  by Victor Golovko <Victor Golovko>,   05 Jan, 2009
Dear Geant4 collaboration,

I have found a few differences between the code displayed at Cross-Referencing web-page of Geant4. In particular, if you are compare the code given at:

http://www-geant4.kek.jp/lxr/source/particles/management/include/G4NucleiPropertiesTable.hh?v=9.1.p3

with the latest version presented here:

http://www-geant4.kek.jp/lxr/source/particles/management/include/G4NucleiPropertiesTable.hh?v=9.2.b1

you could see that it is the same code. However, if one can look at the code in the file G4NucleiPropertiesTable.hh from the tar-source archive one could see that the code was changed. Namely, some of the Methods in the G4NucleiPropertiesTable class were changed from 'public' to the 'private'.

So, my question is should I change the source in the source-distribution or the mentioned reference for the latest edition of the Geant4 (v-9.2.b1) should be updated?

Thanks,

Victor Golovko. 5 January, 2009

1 Question: Re: G4NucleiPropertiesTable class documentation question   (Vladimir Ivanchenko - 13 Jan, 2009)
(_ Question: Re: G4NucleiPropertiesTable class documentation question   (Victor Golovko - 14 Jan, 2009)
(_ None: Re: G4NucleiPropertiesTable class documentation question   (Hisaya Kurashige - 14 Jan, 2009)
Question Scoring using MultiFunctionalDetector  by Suhaili Zakaria <Suhaili Zakaria>,   14 Dec, 2008
Hi all,

I have tried the "Hands-on 4 Scoring" example from (http://geant4.slac.stanford.edu/tutorial/jlab06/HandsOn4/HandsOn4.htm).

My problem is that I did not obtain the results as shown in the example.I believe I have done everything mentioned in the example. This is what I got:

Number of Events Processed:1000 events.
   Theta myScorer
       0        0
       1        0
       2        0
       3        0
       4        0
       5        0
       6        0
       7        0
       8        0
       9        0

 Please help show me what I might have done wrong.

Many thanks, S

Question G4VeEnergyLoss.hh gone?  by Maria Gatu Johnson <Maria Gatu Johnson>,   27 Nov, 2008
I am working on moving an existing Geant4.5.1 application to the Geant4.9.1 platform. When compiling, I run into the problem

G4VeEnergyLoss.hh: No such file or directory

Looking at the include files in the Geant4.9.1 installation I don't find G4VeEnergyLoss.hh, but only G4VeLowEnergyLoss.hh. In the 4.5.1 version, both were present. My question is, could I safely replace G4VeEnergyLoss.hh with G4VeLowEnergyLoss.hh? Or was some other replacement introduced when G4VeEnergyLoss.hh was removed?

1 Idea: Re: G4VeEnergyLoss.hh gone?   (Vladimir Ivanchenko - 17 Dec, 2008)
Question Ex N02 energy deposition  by Jamie Wright <Jamie Wright>,   26 Nov, 2008
Hello all,

Im just wondering if its possible to change exN02 in such a way so that each of the sensitive volumes/layers record the total energy deposited in them instead of the energy of each step and the layer number of that step

thanks very much Jamie
1 Idea: Re: Ex N02 energy deposition   (Vladimir Ivanchenko - 27 Nov, 2008)
(_ Question: Re: Ex N02 energy deposition   (Jamie Wright - 16 Dec, 2008)
(_ None: Re: Ex N02 energy deposition   (michel maire - 16 Dec, 2008)
None Geant4 output  by <janitor0405@126.com>,   05 Nov, 2008
hi,everybody,
   I express my chamber filled with Xenon,when 662kev gamma comes in,I receive output file as follows:(just a part of it)
   ---> Begin of event: 0

*********************************************************************************************************
* G4Track Information:   Particle = gamma,   Track ID = 1,   Parent ID = 0
*********************************************************************************************************

Step#      X         Y         Z        KineE    dEStep   StepLeng  TrakLeng    Volume     Process
    0  -12.2 cm      0 fm      0 fm    662 keV     0 eV      0 fm      0 fm        World    initStep

 >>AlongStepDoIt (after all invocations):
    ++List of invoked processes 
      1) Transportation

    ++G4Step Information 
      Address of G4Track    : 0x8c234c8
      Step Length (mm)      : 67.91999999999997
      Energy Deposit (MeV)  : 0
      -----------------------------------------------------------------------
        StepPoint Information               PreStep            PostStep
      -----------------------------------------------------------------------
         Position - x (mm)   :              -121.92  -54.00000000000001
         Position - y (mm)   :                    0                   0
         Position - z (mm)   :                    0                   0
         Global Time (ns)    :                    0  0.2265567334585848
         Local Time (ns)     :                    0  0.2265567334585848
         Proper Time (ns)    :                    0                   0
         Momentum Direct - x :                    1                   1
         Momentum Direct - y :                    0                   0
         Momentum Direct - z :                    0                   0
         Momentum - x (MeV/c):                0.662               0.662
         Momentum - y (MeV/c):                    0                   0
         Momentum - z (MeV/c):                    0                   0
         Total Energy (MeV)  :                0.662               0.662
         Kinetic Energy (MeV):                0.662               0.662
         Velocity (mm/ns)    :           299.792458          299.792458
         Volume Name         :                World               World
         Safety (mm)         :                    0                   0
         Polarization - x    :                    0                   0
         Polarization - y    :                    0                   0
         Polarization - Z    :                    0                   0
         Weight              :                    1                   1
         Step Status         :            Undefined          Geom Limit
         Process defined Step:            Undefined      Transportation
      -----------------------------------------------------------------------

    ++List of secondaries generated (x,y,z,kE,t,PID):  No. of secodaries = 0

 **PostStepDoIt (after all invocations):
    ++List of invoked processes 
      1) Transportation
      2) compt (Forced)

    ++G4Step Information 
      Address of G4Track    : 0x8c234c8
      Step Length (mm)      : 67.91999999999997
      Energy Deposit (MeV)  : 0
      -----------------------------------------------------------------------
        StepPoint Information               PreStep            PostStep
      -----------------------------------------------------------------------
         Position - x (mm)   :              -121.92  -54.00000000000001
         Position - y (mm)   :                    0                   0
         Position - z (mm)   :                    0                   0
         Global Time (ns)    :                    0  0.2265567334585848
         Local Time (ns)     :                    0  0.2265567334585848
         Proper Time (ns)    :                    0                   0
         Momentum Direct - x :                    1                   1
         Momentum Direct - y :                    0                   0
         Momentum Direct - z :                    0                   0
         Momentum - x (MeV/c):                0.662               0.662
         Momentum - y (MeV/c):                    0                   0
         Momentum - z (MeV/c):                    0                   0
         Total Energy (MeV)  :                0.662               0.662
         Kinetic Energy (MeV):                0.662               0.662
         Velocity (mm/ns)    :           299.792458          299.792458
         Volume Name         :                World               Calor
         Safety (mm)         :                    0                   0
         Polarization - x    :                    0                   0
         Polarization - y    :                    0                   0
         Polarization - Z    :                    0                   0
         Weight              :                    1                   1
         Step Status         :            Undefined          Geom Limit
         Process defined Step:            Undefined      Transportation
      -----------------------------------------------------------------------

    ++List of secondaries generated (x,y,z,kE,t,PID):  No. of secodaries = 0
      [Note]Secondaries from AlongStepDoIt included.

#Step#      X         Y         Z        KineE    dEStep   StepLeng  TrakLeng    Volume     Process
    1   -5.4 cm      0 fm      0 fm    662 keV     0 eV   6.79 cm   6.79 cm        World  Transportation

   my problem is what is the difference between AlongStepDoIt (after all invocations) and PostStepDoIt (after all invocations),please tell me some details about it,thank you very much!

1 Note: Re: Geant4 output   (John Apostolakis - 13 Jan, 2009)
Question Problem with complile radioactivitydecay  by Paul <Paul>,   04 Nov, 2008
Hi Users, I have a problem with radioactivitydecay exaple on G4.9.0. When I try to compile it I have a strange errors

$ make Making dependency for file exRDM.cc ...

[...]

Making dependency for file src/exrdmPhysicsList.cc ...

src/exrdmPhysicsList.cc:52:35: HadronPhysicsQGSP_HP.hh: No such file or directory

src/exrdmPhysicsList.cc:55:36: HadronPhysicsLHEP_BIC.hh: No such file or directory

src/exrdmPhysicsList.cc:56:39: HadronPhysicsLHEP_BIC_HP.hh: No such file or directory

Making dependency for file src/exrdmPhysListParticles.cc ...

[...]

Making dependency for file src/exrdmPhysicsList.cc ...

src/exrdmPhysicsList.cc:52:35: HadronPhysicsQGSP_HP.hh: No such file or directory

src/exrdmPhysicsList.cc:55:36: HadronPhysicsLHEP_BIC.hh: No such file or directory

src/exrdmPhysicsList.cc:56:39: HadronPhysicsLHEP_BIC_HP.hh: No such file or directory

Compiling exrdmAnalysisManager.cc ...

[...]

src/exrdmPhysicsList.cc(52) : fatal error C1083: Cannot open include file HadronPhysicsQGSP_HP.hh': No such file or directory

make: *** [c:/g4work/tmp/WIN32-VC/exRDM/exrdmPhysicsList.o] Error 2

Maybe somebody had the similar problem?? Help me, please Pawel

1 Idea: Re: Problem with complile radioactivitydecay   (Vladimir Ivanchenko - 05 Nov, 2008)
Question implementing INCL/ABLA physics versus QGSP_BERT model  by Cristian Bungau <Cristian Bungau>,   06 Oct, 2008
Hi, I know that to implement the QGSP_BERT physics list, I use the line:

 runManager->SetUserInitialization(new QGSP_BERT); 

in the main program.

Does anyone know what to use for the INCL/ABLA physics model?

Thank you,

Cristian

1 Feedback: Re: implementing INCL/ABLA physics versus QGSP_BERT model   (Gunter Folger - 07 Oct, 2008)
Question Problems with getting running program  by Charles Jonah <Charles Jonah>,   28 Aug, 2008
Geant 4.9.1 patch 02
Macintosh 10.4.11

I get the following
/Users/jonah-geant% exampleN01
dyld: Library not loaded: libCLHEP-2.0.4.0.dylib
 Referenced from: /Users/jonah-geant/geant4/bin/Darwin-g++/exampleN01
 Reason: image not found
Trace/BPT trap
/Users/jonah-geant% cd $LD_LIBRARY_PATH
/Users/jonah-geant/2.0.4.0/lib% ls
libCLHEP-2.0.4.0.a
libCLHEP-2.0.4.0.dylib*
etc.

When I checked the FAQ, it suggested that the problem would be due to the LD_LIBRARY_PATH.

To check to make sure that was working correctly, I did a "cd" to that directory and did an "ls".  As shown above the relevant thing seems to be there.
(as one can tell the path includes the appropriate binary library).

The "environment" for the run is
/Users/jonah-geant/2.0.4.0/lib% env
PATH=/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin:/Users/jonah-geant/geant4/bin/Darwin-g++:/usr/local/bin:/Users/jonah-geant/geant4/bin/Darwin-g++:/Users/jonah-geant/bin:.
SECURITYSESSIONID=b8eeb0
HOME=/Users/jonah-geant
SHELL=/bin/bash
USER=jonah-geant
__CF_USER_TEXT_ENCODING=0x1F7:0:0
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=133-1
TERM=vt100
HOSTTYPE=powermac
VENDOR=apple
OSTYPE=darwin
MACHTYPE=powerpc
SHLVL=1
PWD=/Users/jonah-geant/2.0.4.0/lib
LOGNAME=jonah-geant
GROUP=jonah-geant
HOST=anchjc.chm.anl.gov
LD_LIBRARY_PATH=/Users/jonah-geant/2.0.4.0/lib
MACOSX_DEPLOYMENT_TARGET=10.4
MANPATH=/sw/share/man:/usr/share/man:/usr/X11R6/man
INFOPATH=/sw/share/info:/sw/info:/usr/share/info
PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
G4SYSTEM=Darwin-g++
G4INSTALL=/Users/jonah-geant/geant4
G4INCLUDE=/Users/jonah-geant/geant4/include
G4LIB=/Users/jonah-geant/geant4/lib
G4LEVELGAMMADATA=/Users/jonah-geant/geant4/data/PhotonEvaporation2.0
G4RADIOACTIVEDATA=/Users/jonah-geant/geant4/data/RadioactiveDecay3.2
G4LEDATA=/Users/jonah-geant/geant4/data/G4EMLOW5.1
G4NEUTRONHPDATA=/Users/jonah-geant/geant4/data/G4NDL3.12
G4ABLADATA=/Users/jonah-geant/geant4/data/G4ABLA3.0
CLHEP_BASE_DIR=/Users/jonah-geant/2.0.4.0
CLHEP_INCLUDE_DIR=/Users/jonah-geant/2.0.4.0/include
CLHEP_LIB_DIR=/Users/jonah-geant/2.0.4.0/lib
CLHEP_LIB=CLHEP
XMFLAGS=
XMLIBS=
XAWFLAGS=
XAWLIBS=
G4LIB_BUILD_STATIC=1
G4LIB_USE_GRANULAR=1
G4UI_USE_TCSH=1
G4WORKDIR=/Users/jonah-geant/geant4

Chuck Jonah 
1 None: Re: Problems with getting running program   (Marcus Mendenhall - 28 Aug, 2008)
Question Hadrontherapy and AIDA  by <tsukuyomi>,   11 Aug, 2008
Hello,

I run the hadrontherapy example. But an output .hbk file is not produced although the variable G4ANALYSIS_USE is set to 1.

I think that AIDA is correctly installed, because when I run the following example program, a plotter window is created and plots are generated on it.

http://geant4.slac.stanford.edu/g4cd/March2004/Documentation/WorkshopExercises/Exercise5.html

Do you have any idea why?

1 More: Re: Hadrontherapy and AIDA   (tsukuyomi - 11 Aug, 2008)
(_ None: Re: Hadrontherapy and AIDA   (michel maire - 12 Aug, 2008)
(_ Question: Re: Hadrontherapy and AIDA   (tsukuyomi - 13 Aug, 2008)
(_ None: Re: Hadrontherapy and AIDA   (michel maire - 13 Aug, 2008)
Question Problem with extended example 'radioactivedecay/exrdm' macro(s)  by Dan Higgins <Dan Higgins>,   29 Jul, 2008
I have been investigating the use of the 'radioactivedecay/exrdm' example using GEANT 4.9.2.b01 (although the same thing seems to occur with 4.9.1 and 4.8.3). One of the macros included with example is 'neutron-10e.mac'. This macro simulates the effects of low energy neutrons incident on a NaI target.

Increasing /tracking/verbose in the macro script and looking at the results seems to indicate that this neutron example has no interactions in passing through the target!

It looks like setting a new material in the macro is not working properly. My real interest was in neutron reaction with boron. Setting the target material to boron in the macro seemed to give no reactions. However, if I create a boron material in the C++ code (rather than the macro script) and assign it to the target, I then get the expected reactions in the boron!

Can anyone else duplicate this problem? If so, any suggestions for the cause?

1 Idea: Re: Problem with extended example 'radioactivedecay/exrdm' macro(s)   (Vladimir Ivanchenko - 08 Aug, 2008)
Question To get rid of *.so s  by Morthekai <Morthekai>,   24 Jul, 2008
Hi,

By mistake, I gave 'yes' to create *.so files also during ./Configure -build command. That gave me some problems. Can I get rid of the .so files altogether? If I delete, all the .so's from geant4.8.1.p02/lib/, during execution these files are needed. And even if I haven't given 'yes' to create *.so files during ./Configure -build command, still it makes those. Please help me.

Cheers, Morthekai

1 None: Re: To get rid of *.so s   (Morthekai - 20 Aug, 2008)
Question geant4.9.2.b01 and error in HepMCEx01  by dusan <dusan>,   20 Jul, 2008
Hello,

I am using geant4.9.2.b01 and for HepMCEx01 I have compilation error:

Compiling HepMCG4Interface.cc ...
src/HepMCG4Interface.cc: In member function ‘void HepMCG4Interface::HepMC2G4(const HepMC::GenEvent*, G4Event*)’:
src/HepMCG4Interface.cc:93: error: conversion from ‘HepMC::FourVector’ to non-scalar type ‘CLHEP::HepLorentzVector’ requested
src/HepMCG4Interface.cc:108: error: conversion from ‘HepMC::FourVector’ to non-scalar type ‘CLHEP::HepLorentzVector’ requested
make: *** [/kosice/geant4/releases/specific/slc5_ia32_gcc411/geant4.9.2.b01/tmp/Linux-g++/hepmcEx01/HepMCG4Interface.o] Error 1
==========================

I am using:  HepMC-2.03.02

gcc -v

Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)

uname -r
2.6.18-92.1.6.el5

Cheers,     Dusan
Question generating multiple particles in one event  by Cristian Bungau <Cristian Bungau>,   14 Jul, 2008
Hi,

I am trying to generate multiple particles in one event. In the PrimaryGeneratorAction, I invoke GeneratePrimaryVertex(anEvent) more than once, and in this way I can set the particle type, energy, direction, etc, BUT

is there a way to set the (global) time at which the new particles are generated?

Thank you very much,

Cristian

Question compiling Novice examples failed, help needed please  by Colin Huang <Colin Huang>,   09 Jul, 2008
The system used is redhat Linux 5.2. The Geant4 version is Geant4.9.1. When I was trying to making example N01 and N02, the same problem happened.

The failure was:
/usr/bin/ld: skipping incompatible /usr/lib/libXt.so when searching for -lXt
/usr/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
make: *** [/home/Geant4/MCSimulation/bin/Linux-g++/exampleN02] Error 1

When I was trying to install Geant4.9.1, there were 3 headers missing. They are:
GL/glu.h
X11/intrinsic.h
X11/Xmu/Stdcmap.h

I solved the problem by install 2 rpms with yum install:

yum install libGLU-devel
yum install libXmu-devel

I don't know if the failure of making example N02 is caused by this.

The entire making information are included as follows,

[Geant4@PCSL784 novice]$ cd N02
[Geant4@PCSL784 N02]$ make
Making dependency for file exampleN02.cc ...
Making dependency for file src/ExN02TrackerSD.cc ...
Making dependency for file src/ExN02TrackerHit.cc ...
Making dependency for file src/ExN02SteppingVerbose.cc ...
Making dependency for file src/ExN02SteppingAction.cc ...
Making dependency for file src/ExN02RunAction.cc ...
Making dependency for file src/ExN02PrimaryGeneratorAction.cc ...
Making dependency for file src/ExN02PhysicsList.cc ...
Making dependency for file src/ExN02MagneticField.cc ...
Making dependency for file src/ExN02EventAction.cc ...
Making dependency for file src/ExN02DetectorMessenger.cc ...
Making dependency for file src/ExN02DetectorConstruction.cc ...
Making dependency for file src/ExN02ChamberParameterisation.cc ...
Compiling ExN02ChamberParameterisation.cc ...
Compiling ExN02DetectorConstruction.cc ...
Compiling ExN02DetectorMessenger.cc ...
Compiling ExN02EventAction.cc ...
Compiling ExN02MagneticField.cc ...
Compiling ExN02PhysicsList.cc ...
Compiling ExN02PrimaryGeneratorAction.cc ...
Compiling ExN02RunAction.cc ...
Compiling ExN02SteppingAction.cc ...
Compiling ExN02SteppingVerbose.cc ...
Compiling ExN02TrackerHit.cc ...
Compiling ExN02TrackerSD.cc ...
Creating/replacing object files in /home/Geant4/MCSimulation/tmp/Linux-g++/exampleN02/libexampleN02.a ...
ar: creating /home/Geant4/MCSimulation/tmp/Linux-g++/exampleN02/libexampleN02.a
Compiling exampleN02.cc ...
Using granular libraries ...
Linking exampleN02 ...
/usr/bin/ld: skipping incompatible /usr/lib/libXt.so when searching for -lXt
/usr/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
make: *** [/home/Geant4/MCSimulation/bin/Linux-g++/exampleN02] Error 1
1 None: Re: compiling Novice examples failed, help needed please   (Ben Morgan - 11 Jul, 2008)
None One new method for G4GDMLParser!!!!  by Francisco Garcia <Francisco Garcia>,   30 May, 2008
Dear Zoltan,

Could you please add a new method in the G4GDMLParser to get the G4LogicalVolume.

I added this method and it is working very well :-)

G4LogicalVolume* GetLogicalVolume(const G4String& fname) { return reader.getVolume(fname); }


Cheers,

Francisco
None Again in GEANT4.9.1p02 example/extended/gdml there aren't any volume names!!!!  Keywords: GDML, geant4.9.1.p02, Volume names
by Francisco Garcia <Francisco Garcia>,   27 May, 2008
Dear Geant4,

I have understood that in the geant4.9.1.p02 was corrected the problem in the volume names.

I will describe the problem.

When you type:

/vis/drawTree world ATree

is supposed to get the list of volume names, which you want to use for tracking and this is what I have just got:

G4ASCIITreeSceneHandler::BeginModeling: writing to G4 standard output (G4cout)
#  Set verbosity with "/vis/ASCIITree/verbose <verbosity>":
#    <  10: - does not print daughters of repeated placements, does not repeat replicas.
#    >= 10: prints all physical volumes.
#  The level of detail is given by verbosity%10:
#  for each volume:
#    >=  0: physical volume name.
#    >=  1: logical volume name (and names of sensitive detector and readout geometry, if any).
#    >=  2: solid name and type.
#    >=  3: volume and density.
#    >=  5: daughter-subtracted volume and mass.
#  and in the summary at the end of printing:
#    >=  4: daughter-included mass of top physical volume(s) in scene to depth specified.
#  Note: by default, culling is switched off so all volumes are seen.
#  Note: the mass calculation takes into account daughters, which can be time consuming.  If you want the mass of a particular subtree to a particular depth:
#    /vis/open ATree
#    /vis/ASCIITree/verbose 14
#    /vis/scene/create
#    /vis/scene/add/volume <subtree-physical-volume> ! <depth>
#    /vis/sceneHandler/attach
#    /vis/viewer/flush
#  Now printing with verbosity 0
#  Format is: PV:n
#  Abbreviations: PV = Physical Volume,     LV = Logical Volume,
#                 SD = Sensitive Detector,  RO = Read Out Geometry.
  "":0
    "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
G4ASCIITreeSceneHandler::EndModeling

I think the problem persistent or tell me how to do it.
Feedback Lacking include files  Keywords: include files
by zaldy <zaldynow@yahoo.com.ph>,   06 May, 2008
Dear Folks,

I would like to report on this strange error under advanced example

/examples/advanced/gammaray_telescope

gcc 3.4.6 on CERN Linux 4.6

I am using CLHEP 2.0.3.1 compile from source file

geant 4.9.0.p02

Though I added the lines below on the file GammaRayTelMuonPhysics.cc

#include "G4MuonPlus.hh" ///added      
#include "G4TauPlus.hh"  ///added
#include "G4TauMinus.hh" ///added

then it compiled

==================================================
Compiling GammaRayTelHadronPhysics.cc ...
Compiling GammaRayTelIonPhysics.cc ...
Compiling GammaRayTelMuonPhysics.cc ...
src/GammaRayTelMuonPhysics.cc: In member function `virtual void GammaRayTelMuonPhysics::ConstructProcess()':
src/GammaRayTelMuonPhysics.cc:61: error: `G4MuonPlus' has not been declared
src/GammaRayTelMuonPhysics.cc:61: error: `MuonPlus' was not declared in this scope
src/GammaRayTelMuonPhysics.cc:88: error: `G4TauPlus' has not been declared
src/GammaRayTelMuonPhysics.cc:88: error: `TauPlus' was not declared in this scope
src/GammaRayTelMuonPhysics.cc:97: error: `G4TauMinus' has not been declared
src/GammaRayTelMuonPhysics.cc:97: error: `TauMinus' was not declared in this scope
src/GammaRayTelMuonPhysics.cc:61: warning: unused variable 'MuonPlus'
src/GammaRayTelMuonPhysics.cc:88: warning: unused variable 'TauPlus'
src/GammaRayTelMuonPhysics.cc:97: warning: unused variable 'TauMinus'
/home/zaldy/CLHEP-2.0.3.1/include/CLHEP/Random/Randomize.h: At global scope:
/home/zaldy/CLHEP-2.0.3.1/include/CLHEP/Random/Randomize.h:67: warning: 'CLHEP::HepRandomGenActive' defined but not used
make: *** [/home/zaldy/G4April22th2008WORKDIR/examples/advanced/gammaray_telescope/tmp/Linux-g++/GammaRayTel/GammaRayTelMuonPhysics.o] Error 1
======================================================
Question Set max step size in example N03  Keywords: Step size
by <tmk_ml@hotmail.com>,   09 Apr, 2008
Hi,
I've been trying to limit step size in the example N03 (4.8.1) but not suceeded.

By vieing past threads, I tried it in two ways:
-UserLimits (reference: example TestEm6) 
DetectorConstruction.cc,hh for "SetMaxStepSize, logicAbsorber->SetUserLimits"
DetectorMessenger.cc,hh for "MaxStemCmd"
PhysicsList.cc for "StepLimitter"

-G4TransportationManager (as 561 Event and Track Management)
DetectorConstruction.cc for SetLargestAcceptableStep

Is there any other files/command to add?

I want to simulate e+ energy deposition in thin materials and need to
limit the step size in absorber less than 1um.

Thank you for any help,

Yasmin



1 None: Re: Set max step size in example N03   (michel maire - 09 Apr, 2008)
None problem during "make"  Keywords: ld, make
by D. Gupta <D. Gupta>,   03 Apr, 2008

Hello

While doing "make" I am encountering the following error. Can anyone help? Best regards, Dhruba

[cpda-daq] /home/dhruba/g4work/geant/tiara > make Using granular libraries ... Linking Tiara2 ... /usr/bin/ld: cannot find -lNucleus

collect2: ld returned 1 exit status
make: *** [/home/dhruba/g4work/bin/Linux-g++/Tiara2] Error 1
[1]+ Done emacs Tiara2.cc [cpda-daq] /home/dhruba/g4work/geant/tiara >

1 None: Re: problem during "make"   (Alexander Howard - 03 Apr, 2008)
(_ None: Re: problem during "make"   (D. Gupta - 10 Apr, 2008)
None GDML example in GEANT4.9.1p01!!!!  by Francisco Garcia <Francisco Garcia>,   31 Mar, 2008
Dear Geant4,

I am running examples/extended/gdml of GEANT4.9.1p01 to use the G4GDML native implementation and this is the result when I type:

/vis/drawTree world ATree

G4ASCIITreeSceneHandler::BeginModeling: writing to G4 standard output (G4cout)
#  Set verbosity with "/vis/ASCIITree/verbose <verbosity>":
#    <  10: - does not print daughters of repeated placements, does not repeat replicas.
#    >= 10: prints all physical volumes.
#  The level of detail is given by verbosity%10:
#  for each volume:
#    >=  0: physical volume name.
#    >=  1: logical volume name (and names of sensitive detector and readout geometry, if any).
#    >=  2: solid name and type.
#    >=  3: volume and density.
#    >=  5: daughter-subtracted volume and mass.
#  and in the summary at the end of printing:
#    >=  4: daughter-included mass of top physical volume(s) in scene to depth specified.
#  Note: by default, culling is switched off so all volumes are seen.
#  Note: the mass calculation takes into account daughters, which can be time consuming.  If you want the mass of a particular subtree to a particular depth:
#    /vis/open ATree
#    /vis/ASCIITree/verbose 14
#    /vis/scene/create
#    /vis/scene/add/volume <subtree-physical-volume> ! <depth>
#    /vis/sceneHandler/attach
#    /vis/viewer/flush
#  Now printing with verbosity 0
#  Format is: PV:n
#  Abbreviations: PV = Physical Volume,     LV = Logical Volume,
#                 SD = Sensitive Detector,  RO = Read Out Geometry.
  "":0
    "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
      "":0
G4ASCIITreeSceneHandler::EndModeling
load_gdml : Idle>


As you can see there isn't any volume names, which I need to know where I am during tracking.

Cheers,

Francisco
1 None: Re: GDML example in GEANT4.9.1p01!!!!   (Francisco Garcia - 08 Apr, 2008)
(_ None: Re: GDML example in GEANT4.9.1p01!!!!   (Zoltan - 11 Apr, 2008)
(_ None: Re: GDML example in GEANT4.9.1p01!!!!   (Francisco Garcia - 14 Apr, 2008)
None Concerning to /examples/extended/persistency/P02  by Francisco Garcia <Francisco Garcia>,   27 Mar, 2008
Dear GEANT4,

I have trying to run Persistency/P02 and during compilation crash.

Can somebody help? This is the verbose:

fgarcia@192.168.48.128:~/geant4/examples/extended/persistency/P02>gmake
Making dependency for file exampleP02.cc ...
Making dependency for file src/ExP02PrimaryGeneratorAction.cc ...
Making dependency for file src/ExP02PhysicsList.cc ...
Making dependency for file src/ExP02GeoTree.cc ...
Making dependency for file src/ExP02DetectorConstruction.cc ...
Making dependency for file src/ExP02DetConstrReader.cc ...
mkdir -p /home/fgarcia/geant4/tmp/Linux-g++/exampleP02/dictionary
/home/opt/root_v5.16.00/bin/genreflex /home/fgarcia/geant4/examples/extended/persistency/P02/include/ExP02Classes.hh \
-s /home/fgarcia/geant4/examples/extended/persistency/P02/xml/selection.xml -o /home/fgarcia/geant4/tmp/Linux-g++/exampleP02/dictionary/Classes_rflx.cpp \
--gccxmlpath /home/opt/gccxml/0.6.0_patch3/slc3_ia32_gcc323/bin -Iinclude -I/home/opt/geant4.9.1.p01/include -I/home/opt/CLHEP-2.0.3.1/include
--->> genreflex: INFO: Parsing file /home/fgarcia/geant4/examples/extended/persistency/P02/include/ExP02Classes.hh with GCC_XML OK
--->> genreflex: INFO: Generating Reflex Dictionary
class G4PVPlacement
class G4IntersectionSolid
class G4SubtractionSolid
class G4UnionSolid
class G4BooleanSolid
class HepGeom::Transform3D
class TrapSidePlane
class G4PolyhedraHistorical
class G4PolyhedraSide
class G4PolyhedraSideRZ
class G4PolyPhiFace
class G4PolyPhiFaceEdge
class G4PolyPhiFaceVertex
class G4PolyconeHistorical
class G4EnclosingCylinder
class G4PolyconeSide
class G4PolyconeSideRZ
class G4IntersectingCone
class G4CSGSolid
class G4VCSGfaceted
class G4VCSGface
class G4RunManager
class G4Polyhedra
class G4Polycone
class G4Para
class G4Torus
class G4Orb
class G4Sphere
class G4Cons
class G4Trap
class G4Trd
class G4Tubs
class G4Box
class std::vector<double>
class G4String
class CLHEP::Hep3Vector
class std::vector<CLHEP::Hep3Vector>
class G4DisplacedSolid
class G4AffineTransform
class G4VSolid
class G4UserLimits
class G4MaterialCutsCouple
class G4VUserRegionInformation
class G4ProductionCuts
class G4Region
class ExP02DetectorConstruction
class ExP02GeoTree
class std::vector<G4Material*>
class std::vector<G4Element*>
class G4SandiaTable
class G4OrderedTable
class G4DataVector
class G4IonisParamMat
class G4Material
class G4MaterialPropertiesTable
class G4MaterialPropertyVector
class G4Element
class std::vector<G4Isotope*>
class G4IonisParamElm
class G4Isotope
class G4VPhysicalVolume
class G4VPVParameterisation
class G4LogicalVolume
class CLHEP::HepRotation
class std::vector<G4PolyPhiFaceVertex>
class std::vector<G4PolyPhiFaceEdge>
class std::vector<G4PolyconeSideRZ>
class std::vector<G4VCSGface*>
class G4PolyhedraSide::sG4PolyhedraSideVec
class G4PolyhedraSide::sG4PolyhedraSideEdge
class std::vector<G4LogicalVolume*>
class std::pair<G4Material*,G4MaterialCutsCouple*>
class std::map<G4Material*,G4MaterialCutsCouple*>
class std::vector<G4DataVector*>
class std::vector<G4VPhysicalVolume*>
class std::map<G4String,G4MaterialPropertyVector*>
class std::map<G4String,double>
gcc -o /home/fgarcia/geant4/tmp/Linux-g++/exampleP02/libClassesDict.so -fpic -shared \
/home/fgarcia/geant4/tmp/Linux-g++/exampleP02/dictionary/Classes_rflx.cpp src/*.cc \
-Iinclude -I/home/opt/root_v5.16.00/include -I/home/opt/geant4.9.1.p01/include -I/home/opt/CLHEP-2.0.3.1/include \
-L/home/opt/root_v5.16.00/lib -lCore -lTree -lCint -lReflex -lCintex -ldl -lNet -lRIO -L/home/opt/CLHEP-2.0.3.1/lib -lCLHEP -L/home/opt/geant4.9.1.p01/lib/Linux-g++ -lG4error_propagation -lG4mctruth -lG4readout -lG4phys_lists -lG4gflash -lG4phys_builders -lG4FR -lG4biasing -lG4gdml -lG4visHepRep -lG4OpenGL -lG4brep -lG4RayTracer -lG4Tree -lG4VRML -lG4visXXX -lG4decay -lG4vis_management -lG4muons -lG4UIbasic -lG4UIGAG -lG4UIcommon -lG4geomBoolean -lG4emhighenergy -lG4empolar -lG4hadronic_binary -lG4emstandard -lG4hadronic_coherent_elastic -lG4xrays -lG4hadronic_abrasion -lG4partutils -lG4hadronic_em_dissociation -lG4had_lll_fis -lG4had_theo_max -lG4run -lG4hadronic_bert_cascade -lG4hadronic_hetcpp_evaporation -lG4hadronic_ablation -lG4had_preequ_exciton -lG4hadronic_incl_cascade -lG4hadronic_qmd -lG4hadronic_stop -lG4hadronic_interface_ci -lG4hadronic_hetcpp_utils -lG4hadronic_deex_handler -lG4hadronic_iso -lG4had_neu_hp -lG4hadronic_deex_evaporation -lG4hadronic_radioactivedecay -lG4hadronic_deex_gem_evaporation -lG4had_string_diff -lG4hadronic_proc -lG4had_muon_nuclear -lG4hadronic_deex_photon_evaporation -lG4emlowenergy -lG4hadronic_mgt -lG4hadronic_leading_particle -lG4scoring -lG4optical -lG4hadronic_deex_fission -lG4detutils -lG4hadronic_deex_fermi_breakup -lG4parameterisation -lG4had_string_frag -lG4hadronic_HE -lG4geomdivision -lG4hadronic_qgstring -lG4had_string_man -lG4had_im_r_matrix -lG4hadronic_deex_management -lG4hadronic_LE -lG4hadronic_body_ci -lG4hadronic_RPG -lG4hadronic_deex_util -lG4shortlived -lG4hadronic_xsect -lG4hadronic_deex_multifragmentation -lG4had_mod_util -lG4detscorer -lG4had_mod_man -lG4hadronic_util -lG4transportation -lG4mesons -lG4modeling -lG4event -lG4geombias -lG4tracking -lG4emutils -lG4baryons -lG4bosons -lG4leptons -lG4ions -lG4cuts -lG4detector -lG4specsolids -lG4hits -lG4digits -lG4csg -lG4hepnumerics -lG4navigation -lG4procman -lG4volumes -lG4track -lG4magneticfield -lG4partman -lG4geometrymng -lG4materials -lG4graphics_reps -lG4intercoms -lG4globman
/home/opt/geant4.9.1.p01/include/G4PolyhedraSide.hh:123: `struct
   G4PolyhedraSide::sG4PolyhedraSideEdge' is protected
/home/fgarcia/geant4/tmp/Linux-g++/exampleP02/dictionary/Classes_rflx.cpp:841: within
   this context
/home/opt/geant4.9.1.p01/include/G4PolyhedraSide.hh:123: `struct
   G4PolyhedraSide::sG4PolyhedraSideEdge' is protected
/home/fgarcia/geant4/tmp/Linux-g++/exampleP02/dictionary/Classes_rflx.cpp:1536: within
   this context
gmake: *** [dictionary] Error 1

Cheers,

Francisco
1 None: Re: Concerning to /examples/extended/persistency/P02   (Witek - 28 Mar, 2008)
(_ None: Re: Concerning to /examples/extended/persistency/P02   (Francisco Garcia - 28 Mar, 2008)
(_ None: Re: Concerning to /examples/extended/persistency/P02   (Witek Pokorski - 02 Apr, 2008)
(_ None: Re: Concerning to /examples/extended/persistency/P02   (Francisco Garcia - 02 Apr, 2008)
(_ None: Re: Concerning to /examples/extended/persistency/P02   (witek - 03 Apr, 2008)
None atof() for Geant4?  by Aram <ateymura@yahoo.com>,   26 Mar, 2008

hi,

is there a built-in way to convert G4Strings into G4doubles? something like G4double G4atof(G4String);?

thanks

1 More: Re: atof() for Geant4?   (Gabriele Cosmo - 28 Mar, 2008)
1 None: Re: atof() for Geant4?   (ateymura@yahoo.com - 28 Mar, 2008)
3 None: Re: atof() for Geant4?   (ateymura@yahoo.com - 28 Mar, 2008)
1 None: RE: atof() for Geant4?   (Makoto Asai - 28 Mar, 2008)
... 3 Message(s)
Question NIEL energy deposit  Keywords: TestEm7 NIEL energy deposit
by Cristina Consolandi <Cristina Consolandi>,   26 Mar, 2008

Good morning, I'm running the example TestEm7 using standardNR. When I make my run with the following parameters

  RecoilCutoff= 21 eV
  PhysiscsCutoff=10 eV

I obtain these results:

  The run consists of 1000 Si28[0.0] of 1 GeV through 100 um  of G4_Si (density: 2.33 g/cm3 )

  Projected Range= 100 um    rms= 10612.3 fm
  Mean number of primary steps = 104.276
  Total energy deposit= 58.1102 MeV
  NIEL energy deposit = 21.4236 keV

I already contacted Mendenhall who explained to me that in the present version of G4ScreenedNuclearRecoil it is not possible to get NIEL energy deposit, so may you tell me what is the " NIEL energy deposit " that I obtain and how is it calculated? Thank you very much. Cri

1 None: Re: NIEL energy deposit   (Vladimir IVANTCHENKO - 26 Mar, 2008)
None The run problem of N03  Keywords: GUI
by <yfdeng@student.dlut.edu.cn>,   24 Mar, 2008

Hello, 
   I have a problem with the example N03. When I run the N03 first time, the program can get the GUI 
window and I can use it to control the program. Then I stop the program by the command "exit" in Idel state. 
But, it very disappointting that there is no a GUI window when I compile and run the N03 again. And I try to 
run the file "gui.mac" manually, but the system give a error as "***** COMMAND NOT FOUND </gui/addMenu> *****". 
The same error is given to other gui command.
   Who knows the reasons fot the problem? Can you help me? Thank you very much!

None Hadrontherapy Example "EM-HadronIon-Standard"  by Kathrin <gester@physik.rwth-aachen.de>,   17 Mar, 2008
Hello, 


I tried to create my PhysicsList and  Iused the Hadrontherapy example as a
 help. As I tried to add the "EM-HadronIon-Standard" I got a segmentation 
fault which I could not explain. Then I tried the Hadrontherapy example 
itself. I changed the defaulf macro from:

/physics/addPhysics EM-HadronIon-LowE

to 

/physics/addPhysics EM-HadronIon-Standard

and got an Segmentation fault, as soon as I used the beamOn command. 
My first thought was, that the model is not correct for my particle (proton) 
and energy range. But then I would get an Exeption and not an Segmentation
fault. And I also get the segmentation fault when I do not change the energies 
in the example.

Do I do anything wrong in the example?

thank you for your help

Kathrin
1 Idea: Re: Hadrontherapy Example "EM-HadronIon-Standard"   (G.A.P.Cirrone - 17 Mar, 2008)
(_ None: Re: Hadrontherapy Example "EM-HadronIon-Standard"   (Kathrin Gester - 17 Mar, 2008)
(_ Feedback: Re: Hadrontherapy Example "EM-HadronIon-Standard"   (G.A.P.Cirrone - 17 Mar, 2008)
(_ None: Re: Hadrontherapy Example "EM-HadronIon-Standard"   (Kathrin Gester - 17 Mar, 2008)
(_ Feedback: Re: Hadrontherapy Example "EM-HadronIon-Standard"   (G.A.P.Cirrone - 17 Mar, 2008)
None GEANT4 Training Courses  Keywords: Training Courses
by Giulia De Bonis <Giulia De Bonis>,   01 Mar, 2008
Dear GEANT4 Team,
(I am sorry if I am posting in the wrong forum session.)
In GEANT4 Web Site there is a reference to the Oak Ridge National Laboratory course
Is there already avilable a list of other GEANT4 Training courses planned in the 2008?
I see here that several courses are held every year. Who is the contact person to ask this information? (GEANT4 contacts)
1 None: Re: GEANT4 Training Courses   (Maria Grazia Pia - 01 Mar, 2008)
1 None: Re: GEANT4 Training Courses   (Rahul Shah - 09 Feb, 2009)
(_ None: Re: GEANT4 Training Courses   (Paul Nicholas Colin Gloster - 09 Feb, 2009)
(_ None: Re: GEANT4 Training Courses   (Rahul Shah - 09 Feb, 2009)
(_ None: Re: GEANT4 Training Courses   (Paul Nicholas Colin Gloster - 12 Feb, 2009)
3 More: Re: GEANT4 Training Courses   (Gabriele Cosmo - 02 Mar, 2008)
None How to write the full Geometry into binary file?  by Francisco Garcia <Francisco Garcia>,   20 Feb, 2008
Hi,

I was taking the /examples/extended/persistency/P01 because I though
I can create a persistence binary file from the whole geometry.

I mean I only once read the geometry from a gdml file then I generate 
a binary version and then I will just reuse the binary one.

Can somebody tell me? which example is that or what are the methods 
I need to use

Cheers,

Francisco 
1 More: Re: How to write the full Geometry into binary file?   (Gabriele Cosmo - 20 Feb, 2008)
(_ None: Re: How to write the full Geometry into binary file?   (Francisco Garcia - 20 Feb, 2008)
None Concerning to /examples/extended/persistency/P01  by Francisco Garcia <Francisco Garcia>,   18 Feb, 2008
Dear Support,

I am trying to get /examples/extended/persistency/P01 and I have installed:

1.- CMAKE ver 2.4.8
2.- ROOT ver. 5.16.00
3.- GCCXML ver. 0.4.2

When I try to compile this example I have got

[localhost] /home/fgarcia/geant4/examples/extended/persistency/P01 > gmake
Making dependency for file exampleP01.cc ...
Making dependency for file src/RootIO.cc ...
Making dependency for file src/ExP01TrackerSD.cc ...
Making dependency for file src/ExP01TrackerHit.cc ...
Making dependency for file src/ExP01SteppingVerbose.cc ...
Making dependency for file src/ExP01SteppingAction.cc ...
Making dependency for file src/ExP01RunAction.cc ...
Making dependency for file src/ExP01PrimaryGeneratorAction.cc ...
Making dependency for file src/ExP01PhysicsList.cc ...
Making dependency for file src/ExP01MagneticField.cc ...
Making dependency for file src/ExP01EventAction.cc ...
Making dependency for file src/ExP01DetectorMessenger.cc ...
Making dependency for file src/ExP01DetectorConstruction.cc ...
Making dependency for file src/ExP01ChamberParameterisation.cc ...
mkdir -p /home/fgarcia/geant4/tmp/Linux-g++/exampleP01/dictionary

/home/opt/root_v5.16.00/bin/genreflex /home/fgarcia/geant4/examples/extended/persistency/P01/include/Classes.hh \
-s /home/fgarcia/geant4/examples/extended/persistency/P01/xml/selection.xml -o /home/fgarcia/geant4/tmp/Linux-g++/exampleP01/dictionary/Classes_rflx.cpp \
--gccxmlpath /home/opt/gccxml-0.4.2/bin -Iinclude -I/home/opt/geant4.9.0/include -I/home/opt/CLHEP-2.0.3.1/include
Could not determine GCCXML_EXECUTABLE setting.
--->> genreflex: INFO: Parsing file /home/fgarcia/geant4/examples/extended/persistency/P01/include/Classes.hh with GCC_XML
--->> genreflex: ERROR: processing file with gccxml. genreflex command failed.

gmake: *** [dictionary] Error 1

Apart from that I use:

1.- gcc 3.2.3
2.- SCL 3.0.5
3.- GEANT4 ver. 9.0

Thanks in advance!!!


Francisco
1 None: Concerning to /examples/extended/persistency/P01 - updated   (Francisco Garcia - 18 Feb, 2008)
(_ None: Re: Concerning to /examples/extended/persistency/P01 - updated   (Witek Pokorski - 20 Feb, 2008)
(_ None: Re: Concerning to /examples/extended/persistency/P01 - updated   (Francisco Garcia - 20 Feb, 2008)
(_ None: Re: Concerning to /examples/extended/persistency/P01 - updated   (Witek Pokorski - 20 Feb, 2008)
1 None: Re: Concerning to /examples/extended/persistency/P01 - updated   (Francisco Garcia - 20 Feb, 2008)
1 Note: Re: Concerning to /examples/extended/persistency/P01 - updated   (Juan Cabrera - 20 Feb, 2008)
... 1 Message(s)
3 None: Re: Concerning to /examples/extended/persistency/P01 - updated   (Tom Roberts - 20 Feb, 2008)
1 None: Re: Concerning to /examples/extended/persistency/P01 - updated   (Witek Pokorski - 20 Feb, 2008)
... 1 Message(s)
Question exampleN03 and ions  Keywords: exampleN03, ions, freeze
by Denis Rosset <Denis Rosset>,   22 Jan, 2008

Hello,

I'm simulating a detector to be placed on a satellite. As such, I want to use carbon and iron ions in my simulation.

I'm trying to use exampleN03 as a base; when I launch exampleN03 (geant4.9.1) and issue the following commands :

/gun/particle ion /gun/ion 6 12 6

/run/beamOn 1

the run freezes right after the Ranecu seed message, and it leaks memory like hell- I must have a terminal with a killall exampleN03 ready for it.

Do I use exampleN03 the wrong way ?

What is the recommended way to use ions in a simulation ?

Thanks,

Denis Rosset

1 None: Re: exampleN03 and ions   (Maria Grazia Pia - 22 Jan, 2008)
(_ Question: Re: exampleN03 and ions   (Denis Rosset - 27 Jan, 2008)
(_ None: Re: exampleN03 and ions   (michel maire - 28 Jan, 2008)
None Bug? in visulaization of N03  by Koi, Tatsumi <Koi, Tatsumi>,   09 Jan, 2008

Hi,

Since v9.1,
Initialization of vis-manager in exampleN03.cc is moved and currently it does not initialize at all on batch mode.
As the reuslt of this, if one try vis.mac or any macro in visTour on batch mode
(ie % exampleN03 vis.mac)
 then get following output.

/vis/scene/create ***** COMMAND NOT FOUND </vis/scene/create> *****

***** Batch is interupted!! *****

Tatsumi

P.S. interupted-> interrupted

None Add discussion of use of new and delete in G4?  by Ben Morgan <Ben Morgan>,   23 Nov, 2007

Hi,

Following a post on the Installation and Configuration forum regarding the use of new and delete in Geant4

http://geant4-hn.slac.stanford.edu:5090/HyperNews/public/get/installconfig/1017.html

I wonder if it might be useful to add some brief discussion about the ownership of new'd instances in Geant4 (particularly in the geometry section). Given that most people have "always delete things you've new'd" pretty hardwired, some comments in the documentation about the automatic registration of instances with the 'store' objects would be helpful I think.

Cheers,

Ben Morgan.

1 More: Re: Add discussion of use of new and delete in G4?   (Gabriele Cosmo - 23 Nov, 2007)
None LINKING NEUTRON HP  by Margit Csatlos <margo@atomki.hu>,   05 Nov, 2007

Hi,

I compiled the geant8.4.2.p01 version using the adviced gcc3.4.5 version. I tested the examples. In the case of example N04 from novice, from the extended Hadr01, and radiactivedecay, from the advanced: underground_physics I got a linking error message:

`.gnu.linkonce.t._ZNK23G4NeutronHPInterpolator11InterpolateE21G4InterpolationSchemeddddd' referenced in section `.rodata' of /usr/local/geant4.8.3.p01/lib/Linux-g++/libG4had_neu_hp.a(G4NeutronHPLegendreStore.o): defined in discarded section `.gnu.linkonce.t._ZNK23G4NeutronHPInterpolator11InterpolateE21G4InterpolationSchemeddddd' of /usr/local/geant4.8.3.p01/lib/Linux-g++/libG4had_neu_hp.a(G4NeutronHPLegendreStore.o) `.gnu.linkonce.t._ZNK23G4NeutronHPInterpolator11InterpolateE21G4InterpolationSchemeddddd' referenced in section `.rodata' of /usr/local/geant4.8.3.p01/lib/Linux-g++/libG4had_neu_hp.a(G4NeutronHPPartial.o): defined in discarded section `.gnu.linkonce.t._ZNK23G4NeutronHPInterpolator11InterpolateE21G4InterpolationSchemeddddd' of /usr/local/geant4.8.3.p01/lib/Linux-g++/libG4had_neu_hp.a(G4NeutronHPPartial.o)

collect2: ld returned 1 exit status

I downloaded the geant4.8.3.p01, compiled, but in the case of examples using hadronic interaction i got the same error message.

The CLHEP version is 2.0.3.1, it was compiled with the same gcc version. The DAWN package was compiled also with the same gcc version.

I am using the geant4 under SUSE linux 10.1

I would appreciate a help to solve this problem

Margo

None G4Trap Documentation   by <ungaro@jlab.org>,   27 Oct, 2007

FYI: In the documentation for G4Trap there is a discrepancy between the constructor variables and the documented ones. for example, pDx1, pDx2 are listed twice, and with different definitions, while pPhi is not listed (and in the picture is shown as "pDphi").

thanks,

mauri

1 More: Re: G4Trap Documentation   (Gabriele Cosmo - 29 Oct, 2007)
None Compiling Problem   by Eleni <Eleni>,   22 Oct, 2007

Hi everybody!I installed Geant4_9 and I am using VC++(2005).Although I can "make" the examples, when I tried to "make" one of my cases, the process interrupts and appears "errors" like these ones that follows:

error C2589: '(' : illegal token on right side of '::' error C2059: syntax error: '::' Can somebody help me forward? Thanks for your help!

Eleni

None Downloadable documentation  by <dkunzman1@cox.net>,   15 Oct, 2007

I am looking to download the documentation so I can more easily read it while programming? Can it be made available for download?

1 None: Re: Downloadable documentation   (Dennis H. Wright - 15 Oct, 2007)
Question Probleme with N03 example   Keywords: novice/N03 example
by Emilia BECHEVA <emilia.becheva@cea.fr>,   12 Oct, 2007

Hi,

I constructed a detector geometry following novice/N03 example and I got a message message :

  G4PhysicalVolumeModel::Validate() called.
  Volume of the same name and copy number ("World", copy 0) still exists and is being used.
  Be warned that this does not necessarily guarantee it's the same
  volume you originally specified in /vis/scene/add/.

When I run novice/N03 example I got the same message.

Can some body tell me what is wrong ?

I'm working with geant4.9.0.

Thank you very much.

Emilia

1 None: Re: Probleme with N03 example   (John Allison - 12 Oct, 2007)
(_ Ok: Re: Probleme with N03 example   (emilia.becheva@cea.fr - 30 Oct, 2007)
None problem with compilation of advanced/xray_fluorescence for geant4.9.0.p01  Keywords: complation error
by dusan <dusan>,   15 Sep, 2007

Hi,

firstly my infrastructure:

gcc -v Using built-in specs.

Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)

uname -ra Linux xxx 2.6.18-8.1.8.el5 #1 SMP Thu Jul 12 12:03:40 EDT 2007 i686 i686 i386 GNU/Linux

and the problem is following: Compiling XrayFluoDataSet.cc ... include/XrayFluoDataSet.hh:84: error: conflicting return type specified for ‘virtual void XrayFluoDataSet::LoadData(const G4String&)’ /kosice/geant4/releases/share/geant4.9.0.p01/source/processes/electromagnetic/lowenergy/include/G4VEMDataSet.hh:70: error: overriding ‘virtual G4bool G4VEMDataSet::LoadData(const G4String&)’

make: *** [/kosice/geant4/releases/specific/slc5_ia32_gcc411/geant4.9.0.p01/tmp/Linux-g++/XrayFluo/XrayFluoDataSet.o] Error 1

1 None: Re: problem with compilation of advanced/xray_fluorescence for geant4.9.0.p01   (J. David Wright - 25 Sep, 2007)
(_ None: Re: problem with compilation of advanced/xray_fluorescence for geant4.9.0.p01   (alfonso.mantero@ge.infn.it - 27 Sep, 2007)
(_ None: Re: problem with compilation of advanced/xray_fluorescence for geant4.9.0.p01   (Kelly Rakes - 16 Dec, 2007)
Question new problem with extended/runAndEvent/RE02  Keywords: munmap_chunk(): invalid pointer: 0x0a928d00 ***
by dusan <dusan>,   22 Aug, 2007

Hello,

firstly

uname -ra Linux 2.6.18-8.1.8.el5 #1 SMP Thu Jul 12 12:03:40 EDT 2007 i686 i686 i386 GNU/Linux

gcc -v Using built-in specs.

Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)

=================== now my problem with geant4.9.0:

if I try to make extended/runAndEvent/RE02 I have following: G4SDKineticEnergyFilter:: gammaE filter LowE 1 MeV HighE 10 MeV *** glibc detected *** /geant4/releases/specific/slc5_ia32_gcc411/geant4.9.0/bin/Linux-g++/exampleRE02: munmap_chunk(): invalid pointer: 0x0a928d00 *** ======= Backtrace: ========= /lib/libc.so.6(cfree+0x1bb)[0xe736db] /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x3fedff1] ... ========================================

Dusan

None Moliere's article in English please  Keywords: low energy, nuclear stopping power, screened coulomb scattering, moliere, article
by Ricardo Pinho <ricardo@lipc.fis.uc.pt>,   09 Aug, 2007

Hi!

In the Hadron and Ion Ionisation section of the Low Energy Extensions chapter of the manual, a very important article of Molière is cited for the nuclear stopping power model implemented in Geant4. The reference given in the manual follows:

[20] G. Moliere, Theorie der Streuung schneller geladener Teilchen I; Einzelstreuungam abbgeschirmten Coulomb-Feld, Z. f. Naturforsch, A2 (1947) 133.

I've managed to get a hardcopy of this article, but unfortunately it is in Danish, wich makes it almost impossible to read. Can anyone please forward me an English version of the article, if it in fact does exist?! I can post my postal address if necessary and pay for the copy and ports. Here is the reference of the paper in English:

[90] G. Molière. Theory of Scattering of Fast Charged Particles. I. Single Scattering in a Screened Coulomb Field. Z. Naturforschung, A2:133, 1947.

Thank you very much, Ricardo Pinho, LIP-Coimbra, Portugal, ricardo@lipc.fis.uc.pt

1 None: Re: Moliere's article in English please   (Vladimir IVANTCHENKO - 16 Aug, 2007)
(_ None: Re: Moliere's article in English please   (Ricardo Pinho - 20 Aug, 2007)
(_ None: Re: Moliere's article in English please   (Maria Grazia Pia - 27 Aug, 2007)
None Invalid pointer message  Keywords: Invalid pointer, free()
by Laurent Millischer <laurent.millischer@student.ecp.fr>,   17 Jul, 2007

Hello !

My code compiles without problems, but when I run my program, everything works fine except at the end, where it tells me, I delete a variable twice :

*** glibc detected *** free(): invalid pointer: 0x08066d80 ***

Does someone know where this error could come from or how I could repair it ? Thank you very much in advance,

Laurent

None Geant 9.0 Radioactivedecay example  Keywords: radioactive decay example
by seth <seth>,   03 Jul, 2007

I cannot make the radioactivedecay example run. When compiling there are many errors found in the source code. Any help would be much appreciated

1 None: Re: Geant 9.0 Radioactivedecay example   (Vladimir IVANTCHENKO - 03 Jul, 2007)
2 None: Re: Geant 9.0 Radioactivedecay example   (seth - 03 Jul, 2007)
1 None: Re: Geant 9.0 Radioactivedecay example   (Vladimir IVANTCHENKO - 03 Jul, 2007)
(_ None: Re: Geant 9.0 Radioactivedecay example   (Vladimir IVANTCHENKO - 03 Jul, 2007)
(_ None: Re: Geant 9.0 Radioactivedecay example   (seth - 03 Jul, 2007)
None Bus Error  Keywords: Bus Error
by seth <seth>,   21 Jun, 2007

What does a Bus Error mean. I took an already running program and duplicated it and then modified the changes but now neither of the two run and I get this weird bus error message. Both programs link and compile they just do not proceed to finish. What does it mean?

Question Untitled  Keywords: pow error in XrayFluoHPGeDetectorType
by Elin Aronsen <Elin Aronsen>,   15 Jun, 2007

Hi !

I am doing the advanced example Xray_fluorescence in Geant4.7.1 with cygwin on windows XP using AIDA and JAVA. When compiling I have an error of overflow from the statement value=std::pow(10,value); in XrayFluoHPGeDetectorType.cc C++ seems to think pow is a funtion, but what is pow and does it work in C++ ? Grateful for help.

                                          Elin Aronsen

None Advanced/MedLinac Error  Keywords: Segmentation, fault, medlinac, medical
by Theo DuBose <Theo DuBose>,   07 Jun, 2007

Sorry to crosspost, but I think this might get more notice here:

I keep getting errors like this:

       MedLinacPhantomROGeometry::Build()-----------------------

       Segmentation fault

when running the MedLinac example with macro.mac and dawnvis.mac. vis.mac completely crashes the computer, and when I do a manual /run/initialize and /run/beamOn 10 I get this error:

     terminate called after throwing an instance of 'std::length_error'
       what():  vector::reserve
     Abort

Anybody know why this is happening? I'm running 4.8.3 and the latest version of CLHEP on OSX 10.4 Intel.

Thanks,

Theo

None Weird error when compiling modified N02  by Adam <ax_blais@laurentian.ca>,   04 Jun, 2007
I've been modifying ExN02 for a while now and it has been working fine.
I changed a variable declaration and got this error when compiling:

Compiling ExN02EventAction.cc ...
In file included from include/ExN02RunAction.hh:37,
                 from src/ExN02EventAction.cc:34:
/usr/local/geant4/geant4.8.2/source/run/include/G4UserRunAction.hh:34:
 error: expected constructor, destructor, or type conversion before 
"class"
/usr/local/geant4/geant4.8.2/source/run/include/G4UserRunAction.hh:59: 
error: ISO C++ forbids declaration of `G4Run' with no type
/usr/local/geant4/geant4.8.2/source/run/include/G4UserRunAction.hh:59:
 error: `G4Run' declared as a `virtual' field
/usr/local/geant4/geant4.8.2/source/run/include/G4UserRunAction.hh:59: 
error: expected `;' before '*' token
/usr/local/geant4/geant4.8.2/source/run/include/G4UserRunAction.hh:60:
 error: expected `,' or `...' before '*' token
/usr/local/geant4/geant4.8.2/source/run/include/G4UserRunAction.hh:60:
 error: ISO C++ forbids declaration of `G4Run' with no type
/usr/local/geant4/geant4.8.2/source/run/include/G4UserRunAction.hh:61:
 error: expected `,' or `...' before '*' token
/usr/local/geant4/geant4.8.2/source/run/include/G4UserRunAction.hh:61:
 error: ISO C++ forbids declaration of `G4Run' with no type
In file included from src/ExN02EventAction.cc:34:
/usr/local/geant4/geant4.8.2/source/run/include/G4UserRunAction.hh:60: 
warning: `virtual void G4UserRunAction::BeginOfRunAction(int)' was 
hidden
include/ExN02RunAction.hh:52: warning:   by 
`void ExN02RunAction::BeginOfRunAction(const G4Run*)'
/usr/local/geant4/geant4.8.2/source/run/include/G4UserRunAction.hh:61:
 warning: `virtual void G4UserRunAction::EndOfRunAction(int)' was 
hidden
include/ExN02RunAction.hh:53: warning:   by 
`void ExN02RunAction::EndOfRunAction(const G4Run*)'
/usr/local/CLHEP/include/CLHEP/Random/Randomize.h:67: warning: 
'CLHEP::HepRandomGenActive' defined but not used
gmake: *** [/home/blais/g4work/tmp/Linux-g++/exampleN02/ExN02EventAction.o] Error 1


I have since changed the variable declaration back to what it was, but
I am still getting this error. It seems to be pointing to G4UserRunAction.hh,
but I know there is nothing wrong with this file because other examples
use it and compile without any problems.
My ExN02RunAction.hh is:



#ifndef ExN02RunAction_h
#define ExN02RunAction_h 1

#include "G4UserRunAction.hh"
#include "globals.hh"
#include "ExN02SteppingAction.hh"

//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......

class G4Run;

class ExN02RunAction : public G4UserRunAction
{
  public:
    ExN02RunAction();
   ~ExN02RunAction();

  public:
    void BeginOfRunAction(const G4Run*);
    void EndOfRunAction(const G4Run*);

  private:
    ExN02SteppingAction* stepaction;
};

//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......

#endif


And my ExN02EventAction.cc is:


#include "ExN02EventAction.hh"
#include "ExN02RunAction.hh"


#include "G4Event.hh"
#include "G4EventManager.hh"
#include "G4TrajectoryContainer.hh"
#include "G4Trajectory.hh"
#include "G4ios.hh"
#include "ExN02SteppingAction.hh"

//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......

ExN02EventAction::ExN02EventAction(ExN02RunAction* run)
:runAct(run)
{
  trackerCollID = -1;
  electronCollID = -1;
}

//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......

ExN02EventAction::~ExN02EventAction()
{}

//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......

void ExN02EventAction::BeginOfEventAction(const G4Event*)
{

}

//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......

void ExN02EventAction::EndOfEventAction(const G4Event* evt)
{
  G4int event_id = evt->GetEventID();

  // get number of stored trajectories
  //
  G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();
  G4int n_trajectories = 0;
  if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();

  // periodic printing
  //
  if (event_id < 100 || event_id%100 == 0) {
    G4cout << ">>> Event " << evt->GetEventID() << G4endl;
    G4cout << "    " << n_trajectories
           << " trajectories stored in this event." << G4endl;
 G4cout << "Total electrons for this event: " << total_electrons << G4endl;
  }
}

Any ideas?
Question G4NDL version  Keywords: G4ndl
by serkan akkoyun <serkan akkoyun>,   31 May, 2007

What is the difference between G4NDL3.7 and G4NDL3.10? Is there any development for neutron cross section part? can you help me please? Best Regards Serkan

Question Nuance interface with Geant 4  Keywords: Nuance event generator
by Shashank Shalgar <shashankshalgar@gmail.com>,   30 May, 2007

In the GEANT 4 examples there is an example which explains the interface of GEANT 4 with pythia. I am working on Nuance neutrino generator and would like to interface it with GEANT 4. I could not find a similar example for Nuance interface with GEANT 4. Can anybody working with Nuance and GEANT 4 help me by giving an example wherein GEANT 4 receives input from the Nuance event generator. Thanks, Shashank

Question ExN02 says "macro file <vis.mac> could not open"  Keywords: example n02 vis.mac could not open
by Adam <ax_blais@laurentian.ca>,   18 May, 2007
I am running example N02 and I get a message saying that the macro file
vis.mac couldn't open. Everything else seems to be fine. When I manually
punch in the commands at the idle prompt that are inside vis.mac then
everything in the visualization runs fine. Any way to fix this problem?
(This isn't only happening for N02, but others as well)
1 None: Re: ExN02 says "macro file <vis.mac> could not open"   (Adam - 24 May, 2007)
Question Help makeing example Radioactivedecay with root  Keywords: root examples
by Ted Forringer <Ted Forringer>,   16 May, 2007

I am brand new to geant4 and to root. I belive both are installed correctly as root runs from the command line and the geant4 examples compile and run.

However, when I ask the radioactivedecay (or probably any examples) to "gmake" with the environment variable G4ANALYSIS_USE_ROOT=1

I get the following output:

---------output--------------

Making dependency for ... (many lines no errors)

Compiling ... (many lines no errors)

Creating/replacing object files in /home/tedforringer/geant4/tmp/Linux-g++/exRDM/libexRDM.a ...

ar: creating /home/tedforringer/geant4/tmp/Linux-g++/exRDM/libexRDM.a
Compiling exRDM.cc ... Using granular libraries ... Linking exRDM ...

/home/tedforringer/geant4/tmp/Linux-g++/exRDM/libexRDM.a(exrdmHisto.o): In function `exrdmHisto::book()': exrdmHisto.cc:(.text+0xb48): undefined reference to `TFile::TFile(char const*, char const*, char const*, int)' /home/tedforringer/physics/root/lib/libTree.so: undefined reference to `TBufferFile::ReadArray(double*&)' /home/tedforringer/physics/root/lib/libTree.so: undefined reference to `TBufferFile::SetReadParam(int)'

... (many lines like this, all having to do with ROOT calls)

/home/tedforringer/physics/root/lib/libTree.so: undefined reference to `TBufferFile::WriteClones(TClonesArray*, int)' /home/tedforringer/physics/root/lib/libTree.so: undefined reference to `TKey::Create(int, TFile*)'

collect2: ld returned 1 exit status
gmake: *** [/home/tedforringer/geant4/bin/Linux-g++/exRDM] Error 1

---------- end of output--------------

The example compiles and links find w/o the USE_ROOT option.

$ROOTSYS=/home/tedforringer/physics/root

Any ideas?

Thanks, Ted

Question novice N02 and N04 exampls, Sencitive Detectors.  Keywords: Sensitive detectors, aStep, ParentID, TrackID
by Victor Golovko <vgolovko@comp.tamu.edu>,   12 May, 2007

Hi,

I found some bizarre behavior in Geant4. Namely, I am trying to get information about initial step number and initial parent ID of registered particle in novice example # 2, using “sensitive detector” approach. For that I modified next file: ExN02TrackerSD.cc. Modification is given below:

  newHit->SetPos      (aStep->GetPostStepPoint()->GetPosition());
  if ( (aStep->GetTrack()->GetParentID() == 0)&&
       (aStep->GetTrack()->GetCurrentStepNumber() == 1) )
  {
    G4cout << "====> ExN02TrackerSD: (0) parentID: "<< aStep->GetTrack()->GetParentID()
           << " StepNo: "  << aStep->GetTrack()->GetCurrentStepNumber()
           <<  G4endl;
    exit (-10);
  }
  trackerCollection->insert( newHit );

In principle, the executable for this example should be stopped right after first simulated particle, as it will be satisfy the case condition. In reality, the program just runs till the last simulated particle. I have tried to do the same modification in novice example # 4; however I have got the same results as for example # 2. How I have to modify code to get information that I would like to get?

I am using Scientific Linux 4 with gcc 4.5 and Geant4.8.3 version.

Regards, Victor Golovko. May 12, 2007

Sad infinite loops in pure Hadr01 also  Keywords: infinite loops in Hadr01
by Vitali.Pronskikh@jinr.ru <Vitali.Pronskikh@jinr.ru>,   11 May, 2007

Well, it seems everywhere if the BinaryCascade is involved infinite loops happen. I just run Hadr01 with G4_WATER target, R=10 cm, L = 40 cm, QGSP_BIC, ions 0.5 AGeV C-12. After 63000 events the program starts infinite cycling.

It is a pity, as we need to acquire statistics in a small 1x3x3 mm detector outside the target and need times larger statistics.

1 Question: Re: infinite loops in pure Hadr01 also   (Gunter Folger - 18 May, 2007)
None infinite loops with light ions entering inelastics  by <Vitali.Pronskikh@jinr.ru>,   09 May, 2007

In examples like TestEm7, projectiles C-12 500 AMeV on either H2O or PMMA target with binary_ion option and no other changes, or even with entire PhysicsList taken from Hadr01 the program often enters infinite loops when secondary ions like deutron or triton enters inelastic interaction.

Does anybody know how to deal with it, or maybe how to switch off inelastics for secondary ions of 100-200 MeV kinetic energy? I already posted this to bugzilla with detailed output, but no answer found yet...

None behavior of running exampleN02 different from previous'  by yue zhou <yue.zhou@cern.ch>,   22 Mar, 2007

Dear geant4,
when I run following commands on lxplus before,
source /afs/cern.ch/sw/geant4/releases/specific/slc4_amd64/gcc-3.4.6/geant4.8.2.ref02/setup.csh
cp -r /afs/cern.ch/sw/geant4/releases/share/geant4.8.2.ref02/examples/novice/N02 .
make
$G4WORKDIR/bin/Linux-g++/exampleN02
everything is ok as expected.
But recently, I found that the detector is not invisible in the drawings, only tracks and hits are visible.
I pasted relevant output messages here
*************************************************************
 Geant4 version Name: geant4-08-02-ref-02    (23-February-2007)
                      Copyright : Geant4 Collaboration
                      Reference : NIM A 506 (2003), 250-303
                            WWW : http://cern.ch/geant4
*************************************************************

Visualization Manager instantiating... Visualization Manager initialising... Registering graphics systems...

You have successfully registered the following graphics systems.
Current available graphics systems are:
  ASCIITree (ATree)
  DAWNFILE (DAWNFILE)
  GAGTree (GAGTree)
  G4HepRep (HepRepXML)
  G4HepRepFile (HepRepFile)
  RayTracer (RayTracer)
  VRML1FILE (VRML1FILE)
  VRML2FILE (VRML2FILE)
  FukuiRenderer (DAWN)
  OpenGLImmediateX (OGLIX)
  OpenGLStoredX (OGLSX)
  OpenGLImmediateXm (OGLIXm)
  OpenGLStoredXm (OGLSXm)
  RayTracerX (RayTracerX)
  VRML1 (VRML1)
  VRML2 (VRML2)

Registering model factories...

You have successfully registered the following model factories.
Registered model factories:
  generic
  drawByCharge
  drawByParticleID
  drawByOriginVolume
  drawByAttribute

Registered filter factories:
  chargeFilter
  particleFilter
  originVolumeFilter
  attributeFilter

The materials defined are :

***** Table : Nb of materials = 3 *****

 Material:      Air     density:  1.290 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 285.161 m  
   --->  Element: Nitrogen (N)   Z =  7.0   N =  14.0   A =  14.01 g/mole  ElmMassFraction:  70.00 %  ElmAbundance  72.71 %
   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  30.00 %  ElmAbundance  27.29 %

 Material:     Lead     density: 11.350 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   5.612 mm 
   --->  Element: Lead ( )   Z = 82.0   N = 207.2   A = 207.19 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material: XenonGas     density:  5.458 mg/cm3  temperature: 293.15 K  pressure:   1.00 atm  RadLength:  15.539 m  
   --->  Element: XenonGas ( )   Z = 54.0   N = 131.3   A = 131.29 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

Target is 5 cm of Lead
There are 5 chambers in the tracker region. The chambers are 200 mm of XenonGas
 The distance between chamber is 80 cm
/run/verbose 2
#
# Create a scene handler for a specific graphics system
# (Edit the next line(s) to choose another graphics system)
#
/vis/open OGLIX 600x600-0+0
/vis/sceneHandler/create OGLIX
/vis/viewer/create ! ! 600x600-0+0
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
Got standard cmap
Window name: viewer-0 (OpenGLImmediateX)
/vis/viewer/refresh
#
####/vis/open DAWNFILE
#
# draw scene
#
/vis/drawVolume
/vis/scene/create
/vis/scene/add/eventID
/vis/scene/add/volume world
/vis/sceneHandler/attach
#
/vis/viewer/set/viewpointThetaPhi 90 180 deg
/vis/viewer/refresh
/vis/viewer/zoom 1.4
/vis/viewer/refresh
#
# for drawing the tracks
/vis/scene/add/trajectories
/tracking/storeTrajectory 1
WARNING: Trajectory storing has been requested.  This action may be
  reversed with "/tracking/storeTrajectory 0".
/vis/scene/notifyHandlers
# (if too many tracks cause core dump => /tracking/storeTrajectory 0)
# for drawing the hits, uncomment next line
# /vis/scene/add/hits
# (if you prefer refreshing each event, comment out next line)
/vis/scene/endOfEventAction accumulate
WARNING: The vis manager will keep up to 100 events.
  This may use a lot of memory.
/vis/scene/notifyHandlers
#
/run/beamOn 10

None TestEm5 neutron elastic scattering  by sauvestre <sauvestre>,   06 Mar, 2007

i am using TestEm5 as a basis to simulate neutrons impinging a teflon box at 14 MeV incident energy.If i run neutron.mac then the energy spectra of both the recoils and the diffused neutron enhance discontinuities at low energies( i.e between 0.1 and 0.5 MeV ).This is no more true if HPNeutronElastic Process is included instead of standard Elastic process. Is there any physical reasons or explanations for such anomalies?Thanks in advance for an answer.

1 None: Re: TestEm5 neutron elastic scattering   (Vladimir IVANTCHENKO - 06 Mar, 2007)
Idea New user, need some tips.  by Alex <caraboy@gmail.com>,   01 Mar, 2007

Hello,

I am a first year student, and I need geant4 for a simulation.

I started reading the application developer guide, but I would be grateful if you could guide me with some problems I encountered in my setup.

I need to create a box with a magnetic field inside to deviate some random particles generated with a particle gun. The particles will be deviated under a certain angle. At a given location I must insert a detector (Si detector) that should count the number of particles that hit that certain detector. This is the first part of the simulation (just to get the hang of it, and then create the complex setup I need).

So I started to modify the ExeampleN01. I know have a PB box and a particle gun that shots a proton. I also added physics processes after looking over ExampleN02.

So, what do I need to study next in order to create a detector that will count the particles that went throught it? I need to also see some information about the particles (kinetic energy for example). And I still could not figure it out how to shoot for example 1000 particles under different angle from the same particle gun. I modified nb_particles and it shoots 1000 particles, but how can I generate a random angle for each one?

Sorry if this sounds simple to you, but for a beginner this small things makes you loose a lot of time, sometimes not knowing where to start from.

Thank you for you time.

1 None: Re: New user, need some tips.   (Vladimir IVANTCHENKO - 01 Mar, 2007)
(_ None: Re: New user, need some tips.   (alex - 07 Mar, 2007)
None gamma emission randomly in 4pi  by <habibovich@hotmail.com>,   09 Feb, 2007
hi everyone
i am a new user of geant4,i just wanted to ask how can i have emmissions randomly in 4 pi

that s what i wrote in my code :

double theta,phi;
theta=G4uniformRand()*180
phi=G4uniformRand()*360
particleGun->SetparticleMomentumDirection(G4threeVector(sin(theta)*cos(phi),sin(theta)*sin(phi),cos(theta)))


is that right ????? something missing ??
thanks in advance
None Can't find example  by Sergey Vaintraub <Sergey Vaintraub>,   04 Feb, 2007

Hello,

I'm trying to implement some experimental cross sections data with Geant4. Does anyone know where can I find an example that has use of external cross sections?

Thanks in advance, Sergey Vaintraub

None How access extended examples  Keywords: access extended examples
by <hannah113@hotmail.com>,   26 Jan, 2007

Hi I am using an older version of Geant4 and I cannot access the extended examples. Is there a way to access the code over the web?

Hannah

1 None: Re: How access extended examples   (Vladimir IVANTCHENKO - 29 Jan, 2007)
None Problem with extended/runandevent/RE02  Keywords: example runandevent RE02; parentTouchable
by Sylvia Studeny <sylvia.studeny@gsf.de>,   26 Jan, 2007

Hi,

I'm very interested in NestedParameterisation, so after installing 
Geant4.8.2 (and testing it successfully with N02 and older own programs),
 I wanted to try RE02. But there something strange happens: 
When I run it in with UI (so the vi.mac opens) it gives me a segmentation
fault from line 79 in RE02NestedPhantomParameterisation.cc.

I looked into this and wondered about 2 things:
1) where do you cope for parentTouch=0?
2) why is 
  G4int ix = parentTouch->GetReplicaNumber(0);
  G4int iy = parentTouch->GetReplicaNumber(1);
whereas in the scorers it is always:
  G4int ix = touchable->GetReplicaNumber(1);
  G4int iy = touchable->GetReplicaNumber(2);

I included "if(parentTouch==0){return 0;}" at the beginning of the ComputeMaterial-method and it worked! I still have to think about the second thing.

And I have another strange thing happening with this example: When it has run through everything and deleted RunManager and everything, there is another strange message:

Function "even copy # (0-False,1-True)" not defined.

I didn't find anything which could cause this so far and I didn't get it with N02 and my own programms. Can you tell me what is wrong? Many greetings Sylvia

1 None: Re: Problem with extended/runandevent/RE02   (Makoto Asai - 28 Jan, 2007)
Question Output of hadronic "Hadr01" extended example.  Keywords: output file
by Katherin Shtejer <kshtejer@if.usp.br>,   22 Jan, 2007

Hi, 
Please I need help to get the results of the hadronic extended example. I would like to obtain the aida histogram type, since I have already installed and correctly (I guess) configurated the JAIDA-3.2.0 and AIDAJNI-3.2.3, the G4ANALYSIS_USE variable set to 1, and I could successfully compile and run the A01 extended example, obtaining very well the A01.aida using the jas3. 
I correctly set the environment variables: $JAIDA_HOME and $AIDAJNI_HOME, but when I compile de hadronic example, every thing seems to be OK, except of the following warning appears: 
/////////////////////////////
    .
    .
   Compiling hadr01.cc ...
   Using granular libraries ...
   Linking hadr01 ...
   /usr/bin/ld: warning: libstdc++.so.5, needed by /home/kshtejer/bin/AIDAJNI-3.2.3/lib/Linux-   g++/libAIDAJNI.so, may conflict with libstdc++.so.6
   ... Done!
/////////////////////////////
During the run I can see the geometry very well but the rest is aborted as follow: 
////////////////////////////
   Index : 0     used in the geometry : Yes     recalculation needed : No
    Material : G4_Galactic
    Range cuts        :  gamma 1 mm     e- 1 mm     e+ 1 mm
    Energy thresholds :  gamma 990 eV     e- 990 eV     e+ 990 eV
    Region(s) which use this couple :
       DefaultRegionForTheWorld
   Index : 1     used in the geometry : Yes     recalculation needed : No
    Material : G4_Al
    Range cuts        :  gamma 1 mm     e- 1 mm     e+ 1 mm
    Energy thresholds :  gamma 6.88731 keV    e- 596.68 keV    e+ 568.011 keV
    Region(s) which use this couple :
       DefaultRegionForTheWorld
   ====================================================================
   ### Run 0 start
   ### Histo books 19 histograms
   Histo: tree store : histo.aida
   *** glibc detected *** free(): invalid pointer: 0x08d9b128 ***
   Aborted
////////////////////////////
It was obtained an Application log file named hs_err_pid27932.log, maybe here the real problem is reported but I dont know interprete it. I did not show here because is long but I can copy here if is necessary. 
As in the README instructions I have done: 
   eval `aida-config --runtime csh` 
   gmake histclean  
   gmake
but there isn't runtime option: 
   kshtejer@pclal29:........$ eval /home/kshtejer/bin/AIDAJNI-3.2.3/bin/Linux-g++/aida-config
   Usage: aida-config [OPTIONS]
   Options:
           [--version]
           [--lib]
           [--include]
           [--implementation]
 So, I do not know what to do.
Please, I need help because I am very interested into see the face of this output in the way it was simulated because my own problem is very similar to this one. 
Thank you very much in advance 
Katherin

1 None: Re: Output of hadronic "Hadr01" extended example.   (Mark Donszelmann - 22 Jan, 2007)
1 None: Re: Output of hadronic "Hadr01" extended example.   (Katherin Shtejer - 23 Jan, 2007)
(_ None: Re: Output of hadronic "Hadr01" extended example.   (Mark Donszelmann - 23 Jan, 2007)
(_ None: Re: Output of hadronic "Hadr01" extended example.   (Katherin Shtejer - 24 Jan, 2007)
3 None: Re: Output of hadronic "Hadr01" extended example.   (Adam - 24 May, 2007)
1 None: Re: Output of hadronic "Hadr01" extended example.   (Mark Donszelmann - 24 May, 2007)
(_ None: Re: Output of hadronic "Hadr01" extended example.   (Adam - 24 May, 2007)
(_ None: Re: Output of hadronic "Hadr01" extended example.   (Mark Donszelmann - 24 May, 2007)
Question segmentation fault - novice examples  Keywords: novice examples
by Morthekai <Morthekai>,   30 Dec, 2006

Hi,

I have installed geant4.8.p02 in Linux EL4. gcc is 3.4.3. When I tried first 2 novice examples, they were compiled well but when I run the executable files (in $G4WORKDIR/bin/Linux-g++), I got segmentation fault.

After compilation, I got the following but with ... Done!

Using granular libraries ... Linking exampleN01 ... /usr/bin/ld: warning: libstdc++.so.5, needed by /usr/local/geant4/clhep/lib/libCLHEP.so, may conflict with libstdc++.so.6 ... Done!

Is the above warning cause some problem? Please help me.

/Morthekai

None new to Geant4  by Lonnie Cumberland <Lonnie Cumberland>,   28 Dec, 2006

Greetings All,

I am new to Geant4 and have been using MCNP for a little while but have found that it does not meet our current needs.

We need to be able to have a geometry of 2 detectors with a source between them so that Geant can do coincidence counting.

Does anyone have any ideas on this or even a small example to help get me started?

Thanks in advance, Lonnie Cumberland

EMAIL: lonnie.cumberland@nist.gov

1 None: Re: new to Geant4   (Dennis H. Wright - 02 Jan, 2007)
3 Question: Re: new to Geant4   (Machrafi - 21 Jun, 2007)
1 None: Re: new to Geant4   (Joseph Perl - 21 Jun, 2007)
Sad Run-time problem in example advanced/gammaray_telescope  Keywords: unknown commands, gammaray_telescope
by Henning Gast <Henning Gast>,   18 Dec, 2006
Hi,

I encountered the following run-time problem when running example
advanced/gammaray_telesope in G4.8.2 with the provided macro1.mac:
The /gun/particle command is unknown to G4.
This seems to be due to the fact that some /gun/... commands are
created in the GammaRayTelPrimaryGeneratorMessenger class.
Naturally, this causes the macro to fail.

The output follows:

*************************************************************
 Geant4 version Name: geant4-08-02    (15-December-2006)
                      Copyright : Geant4 Collaboration
                      Reference : NIM A 506 (2003), 250-303
                            WWW : http://cern.ch/geant4
*************************************************************

Visualization Manager instantiating...
Visualization Manager initialising...
Registering graphics systems...

You have successfully registered the following graphics systems.
Current available graphics systems are:
  ASCIITree (ATree)
  DAWNFILE (DAWNFILE)
  GAGTree (GAGTree)
  G4HepRep (HepRepXML)
  G4HepRepFile (HepRepFile)
  RayTracer (RayTracer)
  VRML1FILE (VRML1FILE)
  VRML2FILE (VRML2FILE)
  FukuiRenderer (DAWN)
  OpenGLImmediateX (OGLIX)
  OpenGLStoredX (OGLSX)
  VRML1 (VRML1)
  VRML2 (VRML2)

Registering model factories...

You have successfully registered the following model factories.
Registered model factories:
  generic
  drawByCharge
  drawByParticleID
  drawByOriginVolume
  drawByAttribute

Registered filter factories:
  chargeFilter
  particleFilter
  originVolumeFilter
  attributeFilter

/control/saveHistory
/run/verbose 1
/gun/sourceGen true
/run/initialize

***** Table : Nb of materials = 10 *****

 Material: Tungsten     density: 19.300 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   3.504 mm 
   --->  Element: Tungsten ( )   Z = 74.0   N = 183.8   A = 183.84 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material: Scintillator     density:  1.032 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:  42.549 cm 
   --->  Element: Carbon (C)   Z =  6.0   N =  12.0   A =  12.01 g/mole  ElmMassFraction:  91.45 %  ElmAbundance  47.37 %
   --->  Element: Hydrogen (H)   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction:   8.55 %  ElmAbundance  52.63 %

 Material: CesiumIodide     density:  4.530 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.852 cm 
   --->  Element: Cesium (Cs)   Z = 55.0   N = 132.9   A = 132.91 g/mole  ElmMassFraction:  51.15 %  ElmAbundance  50.00 %
   --->  Element: Iodine (I)   Z = 53.0   N = 126.9   A = 126.90 g/mole  ElmMassFraction:  48.85 %  ElmAbundance  50.00 %

 Material:      Air     density:  1.290 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 285.049 m  
   --->  Element: Nitrogen (N)   Z =  7.0   N =  14.0   A =  14.01 g/mole  ElmMassFraction:  70.00 %  ElmAbundance  72.71 %
   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  15.99 g/mole  ElmMassFraction:  30.00 %  ElmAbundance  27.29 %

 Material: Aluminum     density:  2.700 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   8.893 cm 
   --->  Element: Aluminum (Al)   Z = 13.0   N =  27.0   A =  26.98 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material:  Silicon     density:  2.333 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   9.356 cm 
   --->  Element: Silicon (Si)   Z = 14.0   N =  28.1   A =  28.09 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material:     Iron     density:  7.870 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.758 cm 
   --->  Element: Iron (Fe)   Z = 26.0   N =  55.8   A =  55.84 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material:     Lead     density: 11.350 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   5.612 mm 
   --->  Element: Lead (Pb)   Z = 82.0   N = 207.2   A = 207.19 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material: Galactic     density:  0.000 kg/m3   temperature:   2.73 K  pressure:   0.00 atm  RadLength: 204727576.737 pc 
   --->  Element: Galactic ( )   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material:     Beam     density:  0.010 kg/m3   temperature: 273.15 K  pressure:   0.02 atm  RadLength:  36.771 km 
   --->  Element: Nitrogen (N)   Z =  7.0   N =  14.0   A =  14.01 g/mole  ElmMassFraction:  70.00 %  ElmAbundance  72.71 %
   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  15.99 g/mole  ElmMassFraction:  30.00 %  ElmAbundance  27.29 %


2 LAT 
1 TOP 

------------------------------------------------------------
---> The Tracker is 15 layers of:  0.3mm of Tungsten
------------------------------------------------------------
GammaRayTelPhysicsList::SetCuts: default cut length : 1 mm 
/control/execute emstd.mac
/process/inactivate LowEnRayleigh   gamma
/run/physicsModified
/process/inactivate LowEnPhotoElec  gamma
/run/physicsModified
/process/inactivate LowEnCompton    gamma
/run/physicsModified
/process/inactivate LowEnConversion gamma
/run/physicsModified
/process/activate   phot            gamma
/run/physicsModified
/process/activate   compt           gamma
/run/physicsModified
/process/activate   conv            gamma
/run/physicsModified
/process/inactivate LowEnergyIoni   
/run/physicsModified
/process/inactivate LowEnBrem       
/run/physicsModified
/process/activate   eIoni           
/run/physicsModified
/process/activate   eBrem           
/run/physicsModified
/process/list
     Transportation,              Decay,               phot,              compt
               conv,     LowEnPhotoElec,       LowEnCompton,    LowEnConversion
      LowEnRayleigh,              eBrem,              eIoni,          LowEnBrem
      LowEnergyIoni,                msc,            annihil,             muIoni
            muBrems,         muPairProd,muMinusCaptureAtRest,              hIoni
           LElastic,  PionPlusInelastic, PionMinusInelastic,PiMinusAbsorptionAtRest
  KaonPlusInelastic, KaonMinusInelastic, KaonZeroLInelastic, KaonZeroSInelastic
    ProtonInelastic,AntiProtonInelastic,AntiProtonAnnihilationAtRest,   NeutronInelastic
           LFission,           LCapture,AntiNeutronInelastic,AntiNeutronAnnihilationAtRest
    LambdaInelastic,AntiLambdaInelastic,SigmaMinusInelastic,AntiSigmaMinusInelastic
 SigmaPlusInelastic,AntiSigmaPlusInelastic,   XiMinusInelastic,AntiXiMinusInelastic
    XiZeroInelastic,AntiXiZeroInelastic,OmegaMinusInelastic,AntiOmegaMinusInelastic
  DeuteronInelastic,    TritonInelastic,     AlphaInelastic
/gun/particle gamma
***** COMMAND NOT FOUND </gun/particle gamma> *****
***** Command ignored *****
Graphics systems deleted.
Visualization Manager deleting...
G4 kernel has come to Quit state.


Cheers
Henning
1 None: Re: Run-time problem in example advanced/gammaray_telescope   (Francesco Longo - 19 Dec, 2006)
Question Untitled  Keywords: .root .hbook files don't create
by <marco.dominietto@cern.ch>,   30 Nov, 2006

Hello,
I installed geant4.8.1.p02 with AIDA.
I compiled the examples TestEm11 and TestEm7 and I run them.
I've a problem with th histogram files:
 - it creates the file in .XML format
 - it DOESN'T create the file in .root or .hbook format even if the message is:
           ----> Histogram Tree is saved in run01.root
           ----> Histogram Tree is saved in run01.hbook

Do you know which is the problem?

Thank you

Marco D

1 None: Re: Untitled   (Vladimir IVANTCHENKO - 30 Nov, 2006)
Question problem with TestEm11  Keywords: glibc
by Marco <marco.dominietto@cern.ch>,   30 Nov, 2006

Hi, I tried to use the TestEm11 example. I compiled it succesfully but when I run the macro (TestEm11 run01.mac) I received the following message:

*** glibc detected *** free(): invalid pointer: 0x0975ef20 *** Abortito

What should I do?

Thank you in advance

Marco D

Question Help With N01 Compilation and Installation  by Kirk <kirk.tke@gmail.com>,   30 Nov, 2006

Hello Everyone,

I am having a problem with the compilation of N01. When I go to the N01 directory and attempt to make the example, the following error shows up:

100232520@UOSL06-9E718F34 /cygdrive/d/geant4/examples $ make

ls: cannot access CLHEP_BASE_DIR--UNDEFINED: No such file or directory
../config/architecture.gmk:292: ../config/sys/.gmk: No such file or directory
make: *** No rule to make target `../config/sys/.gmk'.  Stop.

100232520@UOSL06-9E718F34 /cygdrive/d/geant4/examples $ cd /novice/N01

bash: cd: /novice/N01: No such file or directory

100232520@UOSL06-9E718F34 /cygdrive/d/geant4/examples $ cd novice

100232520@UOSL06-9E718F34 /cygdrive/d/geant4/examples/novice $ cd N01

100232520@UOSL06-9E718F34 /cygdrive/d/geant4/examples/novice/N01
$ make
ls: cannot access CLHEP_BASE_DIR--UNDEFINED: No such file or directory
../../../config/architecture.gmk:292: ../../../config/sys/.gmk: No such file or
directory
Making dependency for file exampleN01.cc ...
In file included from ../../../source/global/management/include/globals.hh:71,
                 from ../../../source/run/include/G4RunManagerKernel.hh:66,
                 from ../../../source/run/include/G4RunManager.hh:89,
                 from exampleN01.cc:35:
../../../source/global/management/include/G4PhysicalConstants.hh:27:43: CLHEP/Un
its/PhysicalConstants.h: No such file or directory
In file included from ../../../source/global/management/include/globals.hh:72,
                 from ../../../source/run/include/G4RunManagerKernel.hh:66,
                 from ../../../source/run/include/G4RunManager.hh:89,
                 from exampleN01.cc:35:
../../../source/global/management/include/G4SystemOfUnits.hh:27:39: CLHEP/Units/
SystemOfUnits.h: No such file or directory
In file included from ../../../source/track/include/G4Track.hh:52,
                 from ../../../source/event/include/G4StackedTrack.hh:38,
                 from ../../../source/event/include/G4StackManager.hh:37,
                 from ../../../source/event/include/G4EventManager.hh:37,
                 from ../../../source/run/include/G4RunManagerKernel.hh:67,
                 from ../../../source/run/include/G4RunManager.hh:89,
                 from exampleN01.cc:35:
../../../source/global/management/include/G4ThreeVector.hh:41:38: CLHEP/Vector/T
hreeVector.h: No such file or directory
In file included from ../../../source/geometry/management/include/G4VPhysicalVol
ume.hh:54,
                 from ../../../source/geometry/management/include/G4LogicalVolum
e.hh:118,
                 from ../../../source/track/include/G4Track.hh:53,
                 from ../../../source/event/include/G4StackedTrack.hh:38,
                 from ../../../source/event/include/G4StackManager.hh:37,
                 from ../../../source/event/include/G4EventManager.hh:37,
                 from ../../../source/run/include/G4RunManagerKernel.hh:67,
                 from ../../../source/run/include/G4RunManager.hh:89,
                 from exampleN01.cc:35:
../../../source/global/management/include/G4RotationMatrix.hh:42:35: CLHEP/Vecto
r/Rotation.h: No such file or directory
In file included from ../../../source/particles/management/include/G4DynamicPart
icle.hh:58,
                 from ../../../source/track/include/G4Track.hh:56,
                 from ../../../source/event/include/G4StackedTrack.hh:38,
                 from ../../../source/event/include/G4StackManager.hh:37,
                 from ../../../source/event/include/G4EventManager.hh:37,
                 from ../../../source/run/include/G4RunManagerKernel.hh:67,
                 from ../../../source/run/include/G4RunManager.hh:89,
                 from exampleN01.cc:35:
../../../source/global/HEPGeometry/include/G4LorentzVector.hh:34:40: CLHEP/Vecto
r/LorentzVector.h: No such file or directory
In file included from ../../../source/tracking/include/G4SteppingManager.hh:63,
                 from ../../../source/tracking/include/G4TrackingManager.hh:57,
                 from ../../../source/event/include/G4EventManager.hh:46,
                 from ../../../source/run/include/G4RunManagerKernel.hh:67,
                 from ../../../source/run/include/G4RunManager.hh:89,
                 from exampleN01.cc:35:
../../../source/global/HEPRandom/include/Randomize.hh:33:36: CLHEP/Random/Random
ize.h: No such file or directory
../../../source/global/HEPRandom/include/Randomize.hh:37:37: CLHEP/Random/RandGa
ussQ.h: No such file or directory
../../../source/global/HEPRandom/include/Randomize.hh:38:37: CLHEP/Random/RandGa
ussT.h: No such file or directory
../../../source/global/HEPRandom/include/Randomize.hh:39:39: CLHEP/Random/RandPo
issonQ.h: No such file or directory
../../../source/global/HEPRandom/include/Randomize.hh:40:39: CLHEP/Random/RandPo
issonT.h: No such file or directory
../../../source/global/HEPRandom/include/Randomize.hh:41:37: CLHEP/Random/RandLa
ndau.h: No such file or directory
../../../source/global/HEPRandom/include/Randomize.hh:42:34: CLHEP/Random/RandBi
t.h: No such file or directory
Making dependency for file src/ExN01PrimaryGeneratorAction.cc ...
In file included from ../../../source/global/management/include/globals.hh:71,
                 from ../../../source/event/include/G4Event.hh:34,
                 from src/ExN01PrimaryGeneratorAction.cc:33:
../../../source/global/management/include/G4PhysicalConstants.hh:27:43: CLHEP/Un
its/PhysicalConstants.h: No such file or directory
In file included from ../../../source/global/management/include/globals.hh:72,
                 from ../../../source/event/include/G4Event.hh:34,
                 from src/ExN01PrimaryGeneratorAction.cc:33:
../../../source/global/management/include/G4SystemOfUnits.hh:27:39: CLHEP/Units/
SystemOfUnits.h: No such file or directory
In file included from ../../../source/particles/management/include/G4PrimaryVert
ex.hh:38,
                 from ../../../source/event/include/G4Event.hh:36,
                 from src/ExN01PrimaryGeneratorAction.cc:33:
../../../source/global/management/include/G4ThreeVector.hh:41:38: CLHEP/Vector/T
hreeVector.h: No such file or directory
Making dependency for file src/ExN01PhysicsList.cc ...
In file included from ../../../source/global/management/include/globals.hh:71,
                 from ../../../source/run/include/G4VUserPhysicsList.hh:86,
                 from include/ExN01PhysicsList.hh:45,
                 from src/ExN01PhysicsList.cc:32:
../../../source/global/management/include/G4PhysicalConstants.hh:27:43: CLHEP/Un
its/PhysicalConstants.h: No such file or directory
In file included from ../../../source/global/management/include/globals.hh:72,
                 from ../../../source/run/include/G4VUserPhysicsList.hh:86,
                 from include/ExN01PhysicsList.hh:45,
                 from src/ExN01PhysicsList.cc:32:
../../../source/global/management/include/G4SystemOfUnits.hh:27:39: CLHEP/Units/
SystemOfUnits.h: No such file or directory
Making dependency for file src/ExN01DetectorConstruction.cc ...
In file included from ../../../source/global/management/include/globals.hh:71,
                 from ../../../source/materials/include/G4Material.hh:89,
                 from src/ExN01DetectorConstruction.cc:33:
../../../source/global/management/include/G4PhysicalConstants.hh:27:43: CLHEP/Un
its/PhysicalConstants.h: No such file or directory
In file included from ../../../source/global/management/include/globals.hh:72,
                 from ../../../source/materials/include/G4Material.hh:89,
                 from src/ExN01DetectorConstruction.cc:33:
../../../source/global/management/include/G4SystemOfUnits.hh:27:39: CLHEP/Units/
SystemOfUnits.h: No such file or directory
In file included from ../../../source/geometry/management/include/G4VSolid.hh:83
,
                 from ../../../source/geometry/solids/CSG/include/G4CSGSolid.hh:
48,
                 from ../../../source/geometry/solids/CSG/include/G4Box.hh:53,
                 from src/ExN01DetectorConstruction.cc:34:
../../../source/global/management/include/G4ThreeVector.hh:41:38: CLHEP/Vector/T
hreeVector.h: No such file or directory
In file included from ../../../source/geometry/management/include/G4VPhysicalVol
ume.hh:54,
                 from ../../../source/geometry/management/include/G4LogicalVolum
e.hh:118,
                 from src/ExN01DetectorConstruction.cc:36:
../../../source/global/management/include/G4RotationMatrix.hh:42:35: CLHEP/Vecto
r/Rotation.h: No such file or directory
In file included from ../../../source/geometry/volumes/include/G4PVPlacement.hh:
50,
                 from src/ExN01DetectorConstruction.cc:38:
../../../source/global/HEPGeometry/include/G4Transform3D.hh:34:40: CLHEP/Geometr
y/Transform3D.h: No such file or directory
make: *** No rule to make target `../../../config/sys/.gmk'.  Stop.

Any suggestions would be greatly appreciated. I am running this with WindowsXP and all the appropriate software versions. I don't have a lot of knowledge in linux so please be gentle with your explanations :)

Cheers,

Kirk

1 None: Re: Help With N01 Compilation and Installation   (Joseph Perl - 30 Nov, 2006)
(_ None: Re: Help With N01 Compilation and Installation   (kirk.tke@gmail.com - 30 Nov, 2006)
None Geant4 8.1 Cannot execute examples  by Giulia De Bonis <Giulia De Bonis>,   29 Nov, 2006

I tried to build and execute exampleN01, following the directions in http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/GettingStarted/makeFile.html

My case is similar to what decribed in http://geant4-hn.slac.stanford.edu:5090/HyperNews/public/get/installconfig/211.html The bin/ directory is created, but empty, with no "Linux-g++" folder, neither any executable files. In addition, a tmp/ directory is created and it contains a "Linux-g++" folder and an "exampleN01" folder. Here there are the following files: ExN01DetectorConstruction.d ExN01PhysicsList.d ExN01PrimaryGeneratorAction.d and a folder: exe/ that contains exampleN01.d. Is this last one the executable file? In this case, how can I execute it?

1 Question: Re: Geant4 8.1 Cannot execute examples   (Gabriele Cosmo - 29 Nov, 2006)
(_ None: Re: Geant4 8.1 Cannot execute examples   (Giulia - 29 Nov, 2006)
(_ More: Re: Geant4 8.1 Cannot execute examples   (Gabriele Cosmo - 29 Nov, 2006)
(_ None: Re: Geant4 8.1 Cannot execute examples   (Giulia - 30 Nov, 2006)
(_ More: Re: Geant4 8.1 Cannot execute examples   (Gabriele Cosmo - 30 Nov, 2006)
Question exrdm example: radioactive decay of Ba-133  Keywords: exrdm, radioactive decay, Ba-133
by Victor Golovko <vgolovko@cern.ch>,   28 Nov, 2006

Hello,

I have a question about one of the extended example of GEANT4, namely example called "exrdm" that simulates radioactive decays. In principle, this example was created to show how to simulate the decays of radioactive isotopes. As a detector response one of the information extracted is the particle kinetic energy. Thus, if I would like to get emission spectra of selected radioactive isotope, I should expect to get as a result a spectrum close to the decay radiation information available for the selected isotope. In particular, I was interesting in the emission spectrum for Ba-133. This isotope should have main monoenergetic electron lines at the energies close to: 240 keV (0.33%), 267 keV (0.69%). In the brackets I indicated intensity from NUDAT2 database. However, as an output of the GEANT4 I have got a spectrum where the intencity of these two lines are simular to each othe.

Is it a real problem or it is just the lack of information in the decay tables that have been used by GEANT4 in simulation of the radioactive decays?

Question Error when compiling examples  Keywords: example compile error ray tracer
by Lane Holloway <laneh@mail.utexas.edu>,   26 Nov, 2006

I am currently trying to compile the examples included with Geant 4.8.1.01 on Linux and get this error:

In function `G4VisExecutive::RegisterGraphicsSystems()':

: undefined reference to `G4RayTracerX::G4RayTracerX()'

This occurs on any of the novice examples that use the graphics system.

I've recompiled the Geant libraries and have had the Configure program remake the env.sh file for me.

Based on the error it looks like it is missing the G4RayTracer library, but in the libs directory I do find a libG4RayTracer.a file.

Is there something I am missing as to why I'm getting the undefined reference?

Thanks,

Lane Holloway

1 None: Re: Error when compiling examples   (Lane Holloway - 27 Nov, 2006)
Question Problems to create histograms in TestEm17  Keywords: TestEm17
by Tomi Räihä <Tomi.Raiha@oulu.fi>,   12 Nov, 2006
Hi,

Though the environment variable G4ANALYSIS_USE is set and the flag 
in GNUmakefile is uncommented I'm not able to produce histos with 
macro files as allproc.mac. I have installed OpenScientist and run
aida-setup.sh script before compiling and running TestEm17 as told 
in README file. When I run the example, all goes fine but no hbook 
file is created. Below is the output of run.

Tomi

*************************************************************
 Geant4 version Name: geant4-08-01-patch-01    (27-July-2006)
                      Copyright : Geant4 Collaboration
                      Reference : NIM A 506 (2003), 250-303
                            WWW : http://cern.ch/geant4
*************************************************************


***** Table : Nb of materials = 6 *****

 Material: galactic     density:  0.000 kg/m3   temperature:   2.73 K  pressure:   0.00 atm  RadLength: 204727576.737 pc
   --->  Element: galactic ( )   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material:      Air     density:  1.290 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 285.161 m
   --->  Element: Nitrogen (N)   Z =  7.0   N =  14.0   A =  14.01 g/mole  ElmMassFraction:  70.00 %  ElmAbundance  72.71 %
   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  30.00 % ElmAbundance  27.29 %

 Material:    CaCO3     density:  2.800 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   8.581 cm
   --->  Element: Calcium (Ca)   Z = 20.0   N =  40.1   A =  40.08 g/mole  ElmMassFraction:  40.04 %  ElmAbundance  20.00 %
   --->  Element: Carbon (C)   Z =  6.0   N =  12.0   A =  12.01 g/mole  ElmMassFraction:  12.00 % ElmAbundance  20.00 %
   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  47.96 % ElmAbundance  60.00 %

 Material:   Carbon     density:  2.265 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:  18.850 cm
   --->  Element: Carbon ( )   Z =  6.0   N =  12.0   A =  12.01 g/mole  ElmMassFraction: 100.00 % ElmAbundance 100.00 %

 Material:     Iron     density:  7.870 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.759 cm
   --->  Element: Iron ( )   Z = 26.0   N =  55.9   A =  55.85 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material:      Tin     density:  7.310 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.206 cm
   --->  Element: Tin ( )   Z = 50.0   N = 118.7   A = 118.70 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %


Visualization Manager instantiating...
Visualization Manager initialising...
Registering graphics systems...

You have successfully registered the following graphics systems.
Current available graphics systems are:
  ASCIITree (ATree)
  DAWNFILE (DAWNFILE)
  GAGTree (GAGTree)
  G4HepRep (HepRepXML)
  G4HepRepFile (HepRepFile)
  RayTracer (RayTracer)
  VRML1FILE (VRML1FILE)
  VRML2FILE (VRML2FILE)
  OpenGLImmediateX (OGLIX)
  OpenGLStoredX (OGLSX)

Registering model factories...

You have successfully registered the following model factories.
Registered model factories:
  generic
  drawByCharge
  drawByParticleID
  drawByOriginVolume

Registered models:
  None

Registered filter factories:
  chargeFilter
  particleFilter
  originVolumeFilter

Registered filters:
  None

/run/verbose 2
#
/testem/det/setMat Iron
/testem/det/setSize 1 m
#
/testem/phys/addPhysics standard
#
/testem/phys/setCuts 1 mm
#
/run/initialize
userDetector->Construct() start.

 The Box is 1 m   of Iron
Iron is registered to the default region.
physicsList->Construct() start.
physicsList->Construct() start.
physicsList->setCut() start.
PhysicsList::SetCuts:CutLength : 1 mm
#
/gun/particle mu+
/gun/energy 10 TeV
#
/testem/histo/setFileName allproc
/testem/histo/setFileType hbook
/testem/histo/setHisto 1 100 -10. 0.
----> SetHisto 1: log10(Etransfert/Emu) Ionization;  100 bins from -10 none to 0 none
/testem/histo/setHisto 2 100 -10. 0.
----> SetHisto 2: log10(Etransfert/Emu) Pair;  100 bins from -10 none to 0 none
/testem/histo/setHisto 3 100 -10. 0.
----> SetHisto 3: log10(Etransfert/Emu) Brems;  100 bins from -10 none to 0 none
#
/testem/event/printModulo 1000
#
/run/beamOn 10000

Region <DefaultRegionForTheWorld> -- appears in <Iron> world volume
 Materials : Iron
 Production cuts :  gamma 1 mm     e- 1 mm     e+ 1 mm

========= Table of registered couples ==============================

Index : 0     used in the geometry : Yes     recalculation needed : No
 Material : Iron
 Range cuts        :  gamma 1 mm     e- 1 mm     e+ 1 mm
 Energy thresholds :  gamma 20.8323 keV    e- 1.28002 MeV    e+ 1.21851 MeV
 Region(s) which use this couple :
    DefaultRegionForTheWorld

====================================================================

Start closing geometry.
G4GeometryManager::ReportVoxelStats -- Voxel Statistics

    Total memory consumed for geometry optimisation:   0 kByte
    Total CPU time elapsed for geometry optimisation: 0 seconds
### Run 0 start.

--------- Ranecu engine status ---------
 Initial seed (index) = 0
 Current couple of seeds = 9876, 54321
----------------------------------------

----> Histogram Tree is opened in allproc.hbook
Start Run processing.

---> Begin of Event: 0

---> Begin of Event: 1000

---> Begin of Event: 2000

---> Begin of Event: 3000

---> Begin of Event: 4000

---> Begin of Event: 5000

---> Begin of Event: 6000

---> Begin of Event: 7000

---> Begin of Event: 8000

---> Begin of Event: 9000
Run terminated.
Run Summary
  Number of events processed : 10000
  User=12.21s Real=12.93s Sys=0.48s

 The run consists of 10000 mu+ of 10 TeV through 1 m   of Iron (density: 7.9 g/cm3 )

 Number of process calls --->   muIoni : 469540 muPairProd : 63243      muBrems : 645

 Simulation: total CrossSection = 0.53343 /cm    MeanFreePath = 1.8747 cm        massicCrossSection = 0.06778 cm2/g
 Theory:     total CrossSection = 0.53938 /cm    MeanFreePath = 1.854 cm         massicCrossSection = 0.068536 cm2/g

----> Histogram Tree is saved in allproc.hbook

--------- Ranecu engine status ---------
 Initial seed (index) = 0
 Current couple of seeds = 1519165414, 739182601
----------------------------------------
Graphics systems deleted.
Visualization Manager deleting...
UserDetectorConstruction deleted.
UserPhysicsList deleted.
UserRunAction deleted.
UserPrimaryGenerator deleted.
G4 kernel has come to Quit state.
EventManager deleted.
UImanager deleted.
StateManager deleted.
RunManagerKernel is deleted.
RunManager is deleting.
1 None: Re: Problems to create histograms in TestEm17   (Vladimir IVANTCHENKO - 12 Nov, 2006)
(_ None: Re: Problems to create histograms in TestEm17   (Tomi Räihä - 13 Nov, 2006)
Note A bug in brachytherapy ?  by <jgzm6@umr.edu>,   03 Nov, 2006
Hi, G4s:
After I generate the .aida file from Brachytherapy example, in Tuple,
all xx,yy,zz are 0, 0, 0 . So I change one line in the book method of 
BrachyAnalysisManager.cc :

std::string columnNames = “ float energy, double x, double y, double z”; 

it works right now. is this a bug or typo? It may be helpful to G4
user same as me ( I can't generate .hbk, so I switch to .aida)

Gao
1 None: Re: A bug in brachytherapy ?   (Susanna Guatelli - 15 Nov, 2006)
None Is this correct physics in Brachytherapy example?  by David Callender <quantumstringfield@yahoo.com>,   03 Nov, 2006

Hi,

I ran the Brachytherapy example via Geant4.8.1 that models the Leipzig applicator. At /runbeamOn 5000 there are quite a large number of gamma 'particles' (356keV) from a Ir192 source that penetrate through the applicator housing which is made of tungsten. My question is, should this be occuring? Does this example accurately model what occurs for the actual applicator? I would have thought that the housing would permit particles to exit through the applicator window only, while at the same time, shielding any unwanted leakage. Am I mistaken in this case?

Thanks for any input.

1 None: Re: Is this correct physics in Brachytherapy example?   (Susanna Guatelli - 15 Nov, 2006)
(_ Question: Re: Is this correct physics in Brachytherapy example?   (David Callender - 15 Nov, 2006)
Question where is .hbk file in brachytherapy sample?  by <jgzm6@umr.edu>,   31 Oct, 2006

Hi,G4s: we have installed the jaida and AIDAJNI. I try to run the brachytherapy sample. It running throughly.But I still can't see the .hbk file. where is it? what's wrong with it? Gao

1 Question: Re: where is .hbk file in brachytherapy sample?   (jgzm6@umr.edu - 31 Oct, 2006)
3 More: Re: where is .hbk file in brachytherapy sample?   (Andreas Pfeiffer - 02 Nov, 2006)
Question LXe example (Another Segmentation fault ?) with /hits/inactivate /LXeDet/pmtSD  by Jeong Han Lee <Jeong Han Lee>,   25 Oct, 2006
Hi all, 

I moved my question into a right place. 

I am trying to understand the optical photon process with using example
LXe. When I introduce "/hits/inactivate /LXeDet/pmtSD" into LXe.in file,
there will be Segmentation fault with no error message and no warning message.

LXe.in file is this:
/hits/inactivate /LXeDet/pmtSD 
/LXe/eventVerbose 1 
/run/beamOn 3

And comment out /hits/inactivate /LXeDet/pmtSD, and it works fine.

I think, it might be HitCollection problem when G4SDManager calls
Activate() function. Then I add "if (!pmt_hitCollection) return false;"
into the first line of ProcessHits_constStep() function of LXePMTSD.cc
file. Then, LXe example works fine in both cases, which are
/hits/inactivate /LXeDet/pmtSD or not.

However, I am not sure this is a good solution.

Does anyone give me some advice about this?

Thanks in advance.

Question decay of Cs-137 using radioactive exrdm-example  Keywords: radioactive decay
by Victor Golovko <vgolovko@cern.ch>,   05 Oct, 2006

Hi,

I am trying to simulate decay of Cs-137 using radioactive exrdm-example from geant. According to the NNDC decay data for Cs-137, one would expect monoenergetic electron lines at energies of 624 keV and 656 keV (if one do not take into account Auger electrons). In simulated emission decay spectra of Cs-137 that have been produced by GEANT4 I see also monoenergetic electron at energy around 661 keV.

What is the origin of these electrons?

Best wishes,

Victor.

October 5, 2006

Question Number of Events using Pythia Interface in ExampleN04  Keywords: Pythia Interface
by Stephanie <svh13@student.canterbury.ac.nz>,   04 Oct, 2006

I am using ExampleN04 with the Pythia Interface.

I have run this example for 100 Pythia events and 10,000 Pythia events
 but the output from both of these is identical which leads me to believe
 that GEANT is not reading in each event correctly.

Is there a limit to the number of events that GEANT can read
 using the Pythia Interface?

If not, I think the problem may be because I am writting out only 
 information concerning particular particles (see Pythia HEP2G4 subroutine
 below). This means the number of entries value at the begining of 
 each event (NHEP) does not correlate to the actual number of 
 lines following it.

Is there a way around this?

       WRITE(6,*) NHEP
       DO IHEP=1, NHEP
       If(abs(IDHEP(IHEP)).eq.211.or.abs(IDHEP(IHEP)).eq.111)then
       WRITE(6,10)
     > ISTHEP(IHEP),IDHEP(IHEP),JDAHEP(1,IHEP),JDAHEP(2,IHEP),
     > PHEP(1,IHEP),PHEP(2,OHEP),PHEP(3,IHEP),PHEP(5,IHEP)
     etc

Thanks for your help, Stephanie

1 None: Re: Number of Events using Pythia Interface in ExampleN04   (Makoto Asai - 04 Oct, 2006)
None Cone Beam geometry sample code  by Reema <Reema>,   28 Sep, 2006

Hello I am naive to Geant. To start up, I was searching for some same code on Cone Beam Geometry, but could not find any on GEANT4 User Guide's examples. Can someone suggest me where to look for them? Thanks & Regards, Reema Bhagtani

1 None: Re: Cone Beam geometry sample code   (Joseph Perl - 28 Nov, 2006)
None strange warning in Fresnel reflection/refraction simulation  by Aaron <Aaron>,   20 Sep, 2006
I am trying to observe Fresnel reflection/refraction in GEANT4.

I have a very simple simulation setup.  I have two boxes sitting
directly on top of one another; they meet at a horizontal plane
interface.  Each box has specified indices of refraction, and they are
both specified for a range of energies.  I generate monoenergetic
optical photons in the top box and aim them at the horizontal plane at
a designated angle.  I only have Fresnel reflection/refraction (and
Transport) turned on, so the photons either reflect or refract when
they reach the horizontal boundary.

Normally, this seems to work just fine.  But occasionally, GEANT4 gives
me the following warning message:

WARNING - G4Navigator::ComputeStep()
          Track stuck, not moving for 10 steps
          in volume -pTop- at point (0,0,0)
          direction: (0.9974334734,-0.07159934398,0).
          Potential geometry or navigation problem !
          Trying pushing it of 9e-10 mm ...

(The name of my top box is "pTop", and all photons are setup to hit the
horizontal interface at the origin (0,0,0).)

As far as I can tell, the above error appears only when the indices of
refraction for the top and bottom materials (at the same energy) are
sufficiently close.  I cannot quantify "sufficiently close" any better,
since it seems to depend on the values of the indices of refraction
themselves.

As an example, consider the following energies and indices of
refraction for the top and bottom boxes:

   const G4int NENERGIES=1;
   G4double xrayEnergy[NENERGIES]={1.0*keV};

   G4double indOfRefrTop[NENERGIES]={1.5};
   G4double indOfRefrBot[NENERGIES]={1.4};

If I try to run this simulation with 1keV photons, I get the
previosly-mentioned error.  But, if I simply change the value of
indOfRefrBot from "1.4" to "1.0", the errors go away entirely.

Does anyone have any ideas what's going on here?

Thanks,

Aaron


1 Question: Re: strange warning in Fresnel reflection/refraction simulation   (Aaron - 20 Sep, 2006)
None strange error in exampleN04  by <jgzm6@umr.edu>,   19 Sep, 2006
Hi, Friends:
I have a very strang error in my running novice exampleN04 even all 
rest example are runned fine.

After running $exampleN04 exampleN04.in the following info comes out

--------------------from monitor--------------------
.......
.....
.....

Index : 0     used in the geometry : Yes     recalculation needed : No
 Material : Air
 Range cuts        :  gamma 700 um     e- 700 um     e+ 700 um
 Energy thresholds :  gamma 990 eV     e- 990 eV     e+ 990 eV
 Region(s) which use this couple :
    DefaultRegionForTheWorld

Index : 1     used in the geometry : Yes     recalculation needed : No
 Material : ArgonGas
 Range cuts        :  gamma 700 um     e- 700 um     e+ 700 um
 Energy thresholds :  gamma 990 eV     e- 990 eV     e+ 990 eV
 Region(s) which use this couple :
    DefaultRegionForTheWorld

Index : 2     used in the geometry : Yes     recalculation needed : No
 Material : Silicon
 Range cuts        :  gamma 700 um     e- 700 um     e+ 700 um
 Energy thresholds :  gamma 5.84521 keV    e- 422.711 keV    e+ 407.385 keV
 Region(s) which use this couple :
    DefaultRegionForTheWorld

Index : 3     used in the geometry : Yes     recalculation needed : No
 Material : Scintillator
 Range cuts        :  gamma 700 um     e- 700 um     e+ 700 um
 Energy thresholds :  gamma 2.08499 keV    e- 281.588 keV    e+ 274.74 keV
 Region(s) which use this couple :
    DefaultRegionForTheWorld

Index : 4     used in the geometry : Yes     recalculation needed : No
 Material : Lead
 Range cuts        :  gamma 700 um     e- 700 um     e+ 700 um
 Energy thresholds :  gamma 94.7155 keV    e- 1.00067 MeV    e+ 940.93 keV
 Region(s) which use this couple :
    DefaultRegionForTheWorld

====================================================================

### Run 0 start.
Start Run processing.

-----------------------------------------------------------

then a window pops out it said:

The exception unknown software exaption(0x000000d) occured in the 
application at location 0x 78165660

click on OK to terminate the program
click on CANCEL to debug the program
 
I have to click the OK to terminate the running. I recompiled the 
Hadronic Physics list and recompile the exampleN04. the same thing 
happened.

thank you!
Gao
1 Question: Re: strange error in exampleN04   (jpkrueger@charter.net - 14 Feb, 2007)
(_ None: Re: strange error in exampleN04   (Makoto Asai - 14 Feb, 2007)
None Polarized Compton Scattering!  Keywords: Polarized compton scattering
by Changchun Sun <Changchun Sun>,   14 Sep, 2006

Hi, all

I am studying Geant4 to simulate polarized compton scattering. Is there any example about polarized compton scattering? If you know where to find it or have your personal codes, could you share it with me? I will very appreciate it. I have been struggling with this for sereval weeks.

Thanks!

Changchun

None TestEM 3 problem with Anaphe  by micheal <micheal>,   14 Sep, 2006

Hello I'm keep getting this problem with Anaphe,

I'm running on RH EL 3

can anyone help

Linking TestEm3 ... /nuserv/raid1/wiggy13/program/Anaphe//specific/redhat73/gcc-3.2/5.0.6/lib/libfml-minuit.so: undefined reference to `vtable for HepMatrix' /nuserv/raid1/wiggy13/program/Anaphe//specific/redhat73/gcc-3.2/5.0.6/lib/libfml-minuit.so: undefined reference to `HepMatrix::HepMatrix[in-charge](int, int)' /nuserv/raid1/wiggy13/program/Anaphe//specific/redhat73/gcc-3.2/5.0.6/lib/libfml-minuit.so: undefined reference to `HepMatrix::HepMatrix[in-charge](HepMatrix const&)' /nuserv/raid1/wiggy13/program/Anaphe//specific/redhat73/gcc-3.2/5.0.6/lib/libfml-minuit.so: undefined reference to `HepMatrix::~HepMatrix [in-charge]()' /nuserv/raid1/wiggy13/program/Anaphe//specific/redhat73/gcc-3.2/5.0.6/lib/libfml-minuit.so: undefined reference to `HepMatrix::operator=(HepMatrix const&)' /nuserv/raid1/wiggy13/program/Anaphe//specific/redhat73/gcc-3.2/5.0.6/lib/libfml-minuit.so: undefined reference to `vtable for HepGenMatrix'

collect2: ld returned 1 exit status
gmake: *** [/users/wiggy13/geant4/bin/Linux-g++/TestEm3] Error 1

None LXe example, Segmentation fault  Keywords: LXe, Segmentation fault
by amaresh kumar <amaresh kumar>,   11 Sep, 2006

Hello Every body,
  I am trying to run the LXe example to simulate a sintillator.
I run the "make" command in the dir /examples/extended /optical/LXe and everything goes fine.
But when I type "LXe", it gives the msg "Segmentation Fault".
  There are no error msgs.

  Can any one help me. I would like to know the problem.

Thanks in advance. amaresh

1 Warning: Re: LXe example, Segmentation fault   (Peter Gumplinger - 14 Sep, 2006)
1 None: Re: LXe example, Segmentation fault   (amaresh kumar - 13 Oct, 2006)
1 Feedback: Re: LXe example, Segmentation fault   (Peter Gumplinger - 17 Oct, 2006)
...
5 None: Re: LXe example, Segmentation fault   (amaresh kumar - 13 Oct, 2006)
None Untitled  Keywords: LXe , Segmentation fault
by amaresh kumar <amaresh kumar>,   11 Sep, 2006

Hello Every body,
  I am trying to run the LXe example to simulate a sintillator.
I run the "make" command in the dir /examples/extended /optical/LXe and everything goes fine.
But when I type "LXe", it gives the msg "Segmentation Fault".
  There are no error msgs.

  Can any one help me. I would like to know the problem.

Thanks in advance. amaresh

Question questions about optical modeling  Keywords: unified optical modeling ground
by Aaron Maschinot <Aaron Maschinot>,   08 Sep, 2006
I have a couple of questions about optical modeling in GEANT4 for
anyone who may know.  I am trying to simulate optical photons
passing through a series of contiguous blocks of materials with
different optical properties.  None of the blocks is coated with
anything.

1) Optical properties are entered via arrays as a function of photon
   momentum over a range of momenta.  But what happens when a photon
   with an energy not explicitly specified in the array is encountered?
   Does GEANT4 perform some sort of a spline in between listed optical
   values?  What happens above (below) the highest (lowest) momentum
   in the array?

2) I have read through the UNIFIED paper as well as the optical
   modeling section of the User's Guide.  I like the concept of the
   "sigma_alpha" variable to specify surface roughness in the UNIFIED
   model, and I would like to use this model (as opposed to GLISUR) in
   my simulation.

   However, I am confused as to why I need to specify the specularlobe,
   specularspike, backscatter, reflectivity, and efficiency arrays.

   In my simulation, I have no wrappings or coverings surrounding
   individual blocks.  Instead, the blocks are directly contiguous.

   Am I correct in thinking that the above listed variables need to be
   specified only when thin coverings are used?  In my simulation, my
   finish is "ground", not "groundfrontpainted" or "groundbackpainted".
   It seems to me (maybe incorrectly) that, in the absence of any thin
   coverings surrounding materials, the physics is completely
   determined once "sigma_alpha" is chosen.  Thus, I do not see the
   need for these other variables.

Thanks so much,

Aaron
1 Feedback: Re: questions about optical modeling   (Peter Gumplinger - 14 Sep, 2006)
None problems building exRDM example  Keywords: problems building exRDM example
by Jorge Cabello <Jorge Cabello>,   06 Sep, 2006

Hi there,

I have problems compiling exRDM. The error is weird, here it is:

Using granular libraries ... Linking exRDM ... /usr/lib/libc_nonshared.a(elf-init.oS)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): In function `__i686.get_pc_thunk.bx':

: multiple definition of `__i686.get_pc_thunk.bx'
/home/jurgen/geant4.8.0.p01/tmp/Linux-g++/exRDM/exe/exRDM.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here
collect2: ld returned 1 exit status

I've read that it may has to do with the compiler (gcc-3.3.5) but I'm not sure.

Any idea?

Regards, Jorge

1 Feedback: Re: problems building exRDM example   (Gabriele Cosmo - 14 Sep, 2006)
(_ None: Re: problems building exRDM example   (Jorge - 14 Sep, 2006)
Feedback Linking NeutronHP   Keywords: NeutronHP
by Federico Sanchez <Federico Sanchez>,   25 Aug, 2006

Hi, I'm trying to compile and run the underground physics example. I've tried both with version 4.7.1p01 and 4.8.1.p01 but neither worked. The problem is in the linking stage. I've tried with global and granular libraries and with shared and static ones, but I always got the same error message:

.gnu.linkonce.t._ZN29G4NeutronHPEnergyDistribution4InitERSt14basic_ifstreamIcSt11char_traitsIcEE' referenced in section `.rodata' of /home/software/packages/geant4.8.1.p01/lib/Linux-g++/libG4had_neu_hp.a(G4NeutronHPInelasticCompFS.o): defined in discarded section `.gnu.linkonce.t._ZN29G4NeutronHPEnergyDistribution4InitERSt14basic_ifstreamIcSt11char_traitsIcEE' of /home/software/packages/geant4.8.1.p01/lib/Linux-g++/libG4had_neu_hp.a(G4NeutronHPInelasticCompFS.o)

And the same for all NeutronHP proccesses. Have anyone an idea what's going on? Or what I'm doing wrong?

Many thanks in advance. Cheers, F.

1 Feedback: Re: Linking NeutronHP   (Alexander Howard - 14 Sep, 2006)
(_ None: Re: Linking NeutronHP   (Federico Sanchez - 14 Sep, 2006)
(_ Feedback: Re: Linking NeutronHP   (Alexander Howard - 14 Sep, 2006)
(_ None: Re: Linking NeutronHP   (Federico Sanchez - 14 Sep, 2006)
(_ None: Re: Linking NeutronHP   (Alexander Howard - 14 Sep, 2006)
Angry histograming angular distribution  Keywords: angular distribution
by James <morris.570@osu.edu>,   18 Aug, 2006
I'm trying to get an angular distribution histogram of where hits occurred
along the face of a particular detector.  Does anyone know where a tutorial
or example that discusses this.  I'm sure I've just overlooked it.

Thank you.

James
1 None: Re: histograming angular distribution   (michel maire - 18 Aug, 2006)
Question compilation error in AnaEx01 example  Keywords: AnaEx01 advanced examples
by Morthekai <Morthekai>,   15 Aug, 2006

Hi,

I have followed the procedures steps given in README file of AnaEx01 example. When I compile I got the following error,

[pmor@pingo-01 AnaEx01]$ aida-config --include -I/home/pmor/giant/g8/analysis/AIDAJNI-3.2.1/include [pmor@pingo-01 AnaEx01]$ aida-config --lib -L/home/pmor/giant/g8/analysis/AIDAJNI-3.2.1/lib/Linux-g++ -lAIDAJNI -lFHJNI -L/usr/java/j2sdk1.4.2_10/jre/lib/i386/client -ljvm [pmor@pingo-01 AnaEx01]$ export G4ANALYSIS_AIDA_CONFIG_CFLAGS=`aida-config --cflags` [pmor@pingo-01 AnaEx01]$ export G4ANALYSIS_AIDA_CONFIG_LIBS=`aida-config --libs` [pmor@pingo-01 AnaEx01]$ export G4ANALYSIS_USE=1 [pmor@pingo-01 AnaEx01]$ gmake Making dependency for file AnaEx01.cc ... g++: Unknown: No such file or directory g++: option.: No such file or directory Making dependency for file src/AnaEx01SteppingVerbose.cc ... g++: Unknown: No such file or directory g++: option.: No such file or directory . . Compiling AnaEx01AnalysisManager.cc ... g++: Unknown: No such file or directory g++: option.: No such file or directory

gmake: *** [/home/pmor/giant/g8/g4work/tmp/Linux-g++/AnaEx01/AnaEx01AnalysisManager.o] Error 1

Your help is highly appreciated. Thanks,

Best regards, Morthekai

1 Feedback: Re: compilation error in AnaEx01 example   (Gabriele Cosmo - 16 Aug, 2006)
None Hadronic physics problems in examples under WinXP/Cygwin/VS2005  by David Shipley <David Shipley>,   28 Jul, 2006

Hello,

I have been having some problems trying to run the TestEm7 example code distributed with Geant 4.8.1 (and Geant 4.8.1.p01) installed under WinXP/Cygwin/Visual Studio 2005 (VC++ 8).

The code compiles without any obvious problems and a simulation using the distributed macro file proton.mac runs to completion (ie. with no hadronic physics enabled). However, when a hadronic physics list is enabled (i.e. "binary" or "elastic" in proton.mac), the simulation fails after a few thousand events with 'an unhandled win32 exception' causing the Visual Studio Just-In-Time Debugger to be called. (Note, however, that the 'binary-ion' hadronic physics option does not seem to fail after 10k events are run).

There are no problems at all when running TestEm7 with Geant4.8.1 installed under a linux system (Mandrake Linux 9.1).

The same problem also occurs with the Hadrontherapy advanced example. The 'EM' macro files (with no hadronic physics enabled) seem to run to completion under WinXP/Cygwin/Visual Studio 2005 but fail after ~1000 events for the macro files with hadronic physics enabled (i.e. precompoundDefaultEvaporation.mac precompoundGEMFermi.mac etc). Again, there is no problem under the linux system.

It therefore seems that enabling hadronic physics lists (in most cases) causes the example codes to fail under WinXP/Cygwin/Visual Studio 2005.

Has anybody else had a similar experience? What is likely to cause a win32 exception? Perhaps there are specific Visual C++ compiler options that may cure this (I am not a Visual C++ expert). I am quite keen to get the 'windows-compiled' versions of these codes working so that I can utilise our local distributed computing resource (which requires windows executables).

I should note that CLHEP 1.9.2.3 was complied with CXXFLAGS set to "/D_SECURE_SCL=0" in the 'configure' files (as this was suggested on the clhep mailing list to prevent any test failures). Apart from that, I have made no other configuration changes.

Any advice would be most appreciated!

David.

1 Question: Re: Hadronic physics problems in examples under WinXP/Cygwin/VS2005   (Gabriele Cosmo - 08 Aug, 2006)
(_ None: Re: Hadronic physics problems in examples under WinXP/Cygwin/VS2005   (David Shipley - 09 Aug, 2006)
(_ More: Re: Hadronic physics problems in examples under WinXP/Cygwin/VS2005   (Gabriele Cosmo - 10 Aug, 2006)
(_ None: Re: Hadronic physics problems in examples under WinXP/Cygwin/VS2005   (David Shipley - 11 Aug, 2006)
1 None: Re: Hadronic physics problems in examples under WinXP/Cygwin/VS2005   (David Shipley - 11 Aug, 2006)
3 Feedback: Re: Hadronic physics problems in examples under WinXP/Cygwin/VS2005   (Gabriele Cosmo - 11 Aug, 2006)
1 Note: Re: Hadronic physics problems in examples under WinXP/Cygwin/VS2005   (David Shipley - 30 Aug, 2006)
...
Question histogramming file for Radioprotection example  Keywords: Radioprotection example - analysis
by Morthekai <Morthekai>,   24 Jul, 2006

Hi,

I could compile and run the radioprotection advanced example with visualization using OpenGL. But I couldn't get any file with extension *.hbook or *.aida. I don't know where did I miss something. I have java sdk 1.4.2_10, AIDAJNI-3.2.1, JAIDA-3.2.1, jas3-0.7.4 and PI-1-3-12. I have set G4ANALYSIS_USE to 1 in the GNUmakefile.

Regarding the aida, I could get A01.aida and see the histograms using jas3.

Please help me regarding this problem.

Thank you,

Regards, Morthekai

1 Note: Re: histogramming file for Radioprotection example   (Susanna Guatelli - 25 Jul, 2006)
(_ None: Re: histogramming file for Radioprotection example   (Morthekai - 28 Jul, 2006)
(_ None: Re: histogramming file for Radioprotection example   (Vladimir IVANTCHENKO - 28 Jul, 2006)
(_ None: Re: histogramming file for Radioprotection example   (Morthekai - 28 Jul, 2006)
(_ None: Re: histogramming file for Radioprotection example   (Vladimir IVANTCHENKO - 28 Jul, 2006)
(_ None: Re: histogramming file for Radioprotection example   (Morthekai - 28 Jul, 2006)
(_ None: Re: histogramming file for Radioprotection example   (Vladimir IVANTCHENKO - 28 Jul, 2006)
(_ None: Re: histogramming file for Radioprotection example   (Morthekai - 28 Jul, 2006)
(_ Question: Re: histogramming file for Radioprotection example   (Morthekai - 14 Aug, 2006)
(_ None: Re: histogramming file for Radioprotection example   (Vladimir IVANTCHENKO - 14 Aug, 2006)
(_ Question: Re: histogramming file for Radioprotection example   (Morthekai - 14 Aug, 2006)
(_ None: Re: histogramming file for Radioprotection example   (Vladimir IVANTCHENKO - 14 Aug, 2006)
(_ Question: Re: histogramming file for Radioprotection example   (Morthekai - 14 Aug, 2006)
(_ None: Re: histogramming file for Radioprotection example   (Vladimir IVANTCHENKO - 14 Aug, 2006)
(_ Question: Re: histogramming file for Radioprotection example   (Morthekai - 14 Aug, 2006)
Question compilation error in radioprotection advanced example  Keywords: advanced example radioprotection
by Morthekai <Morthekai>,   18 Jul, 2006

Hi,

When I compile radioprotection from advanced examples, I got the following error. That happen when it is compiling the main program. I don't know what I have to do. In my .bashrc file I have set G4UI_USE_TSCH=1. Please help me.

Creating/replacing object files in /home/pmor/giant/g8/g4work/tmp/Linux-g++/remsim/libremsim.a ...

ar: creating /home/pmor/giant/g8/g4work/tmp/Linux-g++/remsim/libremsim.a
Compiling remsim.cc ... remsim.cc: In function `int main(int, char**)': remsim.cc:93: error: `G4UItcsh' has not been declared /home/pmor/giant/g8/CLHEP/include/CLHEP/Random/Randomize.h: At global scope: /home/pmor/giant/g8/CLHEP/include/CLHEP/Random/Randomize.h:67: warning: 'CLHEP::HepRandomGenActive' defined but not used
gmake: *** [/home/pmor/giant/g8/g4work/tmp/Linux-g++/remsim/exe/remsim.o] Error 1

Thank you,

Regards, Morthekai

1 None: Re: compilation error in radioprotection advanced example   (Susanna Guatelli - 18 Jul, 2006)
None problem with running xray_fluorescence advanced example  by Marianna <mhmarish@yahoo.com>,   14 Jul, 2006

Hi, I am trying to run the xray_fluorescence advanced example and after

Please Select Simulation Geometrical Set-Up: 1 - Test Beam 2 - Infinite Plane 3 - Planet and Sun 4 - Phase-Space Production

and choosing one of these I get the following error:

PixelThickness(mm): 3.5e+06 
PixelSizeXY(cm): 316228 
DeviceSizeX(cm): 316228 
DeviceSizeY(cm): 316228 
terminate called after throwing an instance of 'std::logic_error' 
  what():  basic_string::_S_construct NULL not valid 
Aborted 

I have tried to debug and I think the problem comes from the "XrayFluoSiLiDetectorType" file, from the char* path=getenv("XRAYDATA");

I have geant4.8.0 and I did not find XRAYDATA environment.

How is it possible to solve this problem?

Thank you. Marianna

1 Feedback: Re: problem with running xray_fluorescence advanced example   (Alfonso Mantero - 18 Jul, 2006)
Question general questions regarding G4LogicalBorderSurface  Keywords: optical G4LogicalBorderSurface volume G4LogicalSkinSurface
by Aaron <Aaron>,   11 Jul, 2006
I am new to GEANT4 and trying to learn about optical modeling.  I have
a couple of questions regarding the G4LogicalBorderSurface class.  I
apologize if the answers are obvious:

1) I am trying to simulate a scintillator box with 4 sides surrounded
   by one medium and the remaining two sides surrounded by a different
   one.  Is G4LogicalBorderSurface the right class to use (as opposed
   to G4LogicalSkinSurface or some other class)?  Using this class, is
   it possible to take into account the different media on each side
   of the box by specifying the two volumes on either side of each
   surface?  I have heard people say that GEANT4 can currently only
   handle the same optical properties on all sides of a volume.  Does
   this refer to G4LogicalSkinSurface and not G4LogicalBorderSurface?

2) Is there an order to the two volumes that the constructor takes?
   I do not understand why there should be, but some of the
   documentation that I read makes me think that there is.  If so,
   can someone please explain why an order is needed?  In other words,
   are the following lines equivalent or different:

      G4LogicalBorderSurface *surf=
        new G4LogicalBorderSurface("surf",volume1,volume2,opSurf);

      G4LogicalBorderSurface *surf=
        new G4LogicalBorderSurface("surf",volume2,volume1,opSurf);

Thank you,

Aaron
1 Feedback: Re: general questions regarding G4LogicalBorderSurface   (Peter Gumplinger - 02 Aug, 2006)
1 None: Re: general questions regarding G4LogicalBorderSurface   (Aaron - 03 Aug, 2006)
3 Question: Re: general questions regarding G4LogicalBorderSurface   (Onno Kortmann - 20 Dec, 2006)
1 Feedback: Re: general questions regarding G4LogicalBorderSurface   (John Apostolakis - 10 Jan, 2007)
...
None error in HepMC/HepMCEx01 and HepMC/HepMCEx02 for geant4.8.1  by dusan <dusan>,   03 Jul, 2006
I am using SLC4 with gcc version 3.4.5 20051201 (Red Hat 3.4.5-2) and 
geant 4.8.1 and HepMC_Version1.25.
My first remark:  when I used geant4.8.0.p01 the examples  eventgenerator/HepMC/HepMCEx01 and
ventgenerator/HepMC/HepMCEx02 were o.k.
Now I have:
Compiling H02PrimaryGeneratorAction.cc ...
In file included from /kosice/hep_software/HepMC_Version1.25/HepMC/GenEvent.h:113,
                 from include/HepMCG4Interface.hh:39,
                 from include/HepMCG4AsciiReader.hh:35,
                 from src/H02PrimaryGeneratorAction.cc:37:
/kosice/hep_software/HepMC_Version1.25/HepMC/GenVertex.h:57: error: expected `,' or `...' before '&' token
/kosice/hep_software/HepMC_Version1.25/HepMC/GenVertex.h:59: error: ISO C++ forbids declaration of `HepLorentzVector' with no type
/kosice/hep_software/HepMC_Version1.25/HepMC/GenVertex.h:78: error: `HepLorentzVector' has not been declared
-----------------------------------------------------------------------

Dusan
1 More: Re: error in HepMC/HepMCEx01 and HepMC/HepMCEx02 for geant4.8.1   (Gabriele Cosmo - 05 Jul, 2006)
Question compilation error in OpenInventor using gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)  by dusan <dusan>,   22 Jun, 2006
Hi,

I am using geant4.8.0.p01 on SLC4  (2.6.9-34.0.1.EL.cern) and gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
with libCLHEP-1.9.2.2.
When I make compilation in visualization/OpenInventor, I have following message:

Compiling SoCounterAction.cc ...
Compiling SoDetectorTreeKit.cc ...
src/SoDetectorTreeKit.cc:64: error: extra `;'
make: *** [/kosice/geant4/releases/specific/slc3_gcc323/geant4.8.0.p01/tmp/Linux-g++/G4OpenInventor/SoDetectorTreeKit.o] Error 1

with compat-gcc-32-c++-3.2.3-47.3.i386  compilation is o.k.


Cheers,  Dusan
1 None: Re: compilation error in OpenInventor using gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)   (Kazuyoshi Furutaka - 22 Jun, 2006)
Question cannot open file  by dusan <dusan>,   22 Jun, 2006
Hi,

I am using geant4.8.0.p01 on SLC4  (2.6.9-34.0.1.EL.cern) and gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
with libCLHEP-1.9.2.2.
My problem is following: 
in novice/N04 example:

....

  VRML2 (VRML2)

Registering model factories...
G4HEPEvtInterface:: cannot open file.

*** G4Exception: Aborting execution ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1208879424 (LWP 21821)]
0x008987a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) list
1       <<C++-namespaces>>: No such file or directory.
        in <<C++-namespaces>>
(gdb)                                        

If I try to use e.g. novice/exampleN02 I have following message:
macro file <vis.mac> could not open

Seemes to me that it is one problem which is connected to open file.

Can you help me to solve this one?

Cheers,       Dusan
1 More: problem in running N04   (Morthekai - 26 Jun, 2006)
(_ None: Re: problem in running N04   (sungz@ihep.ac.cn - 04 Jul, 2006)
Note Modify section 4.1.2.2 of App dev guide?  by Guillaume Potdevin <Guillaume.Potdevin@esrf.fr>,   12 Jun, 2006

Hello,

When trying to create G4SubstractionSolid kind of volumes, I had a problem of segmentation fault leading to crash...

Indeed, I figured out what happened when reading John Allison's answer to Blair's question see