Forum: Analysis Not Logged In (login)
Show subscribers

The analysis forum discusses various analysis packages (histogramming, n-tuples, etc.) and their interfaces.

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


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

Question GLIBC2.4 for OpenScientist or alternate solution for AIDA  by Daniel Sánchez Parcerisa <Daniel Sánchez Parcerisa>,   Nov 23, 12:30
Hello

I am trying to fully install Geant4 but having problems with the AIDA functionality. I am trying to install OpenScientist as AIDA implementation, but it requires libraries GLIBC2.4, and my current SuSe distribution does not have them, so I get compilation / linkage errors. Anyone has come up with the same problem? Anyone knows how to safely update GLIBC and making it available for OpenScientist, or know if the other implementations not require so new libraries?

1 None: Re: GLIBC2.4 for OpenScientist or alternate solution for AIDA   (Guy Barrand - Nov 24, 00:18) newest
Ok OnX::XtUI::LookDSM_Problem   by David Gladstone <David Gladstone>,   Nov 17, 06:57
I encountered this error when running a program compiled to use OpenScientist for visualization. The problem was resolved by changing the order in which environment variables are set. I set my system environment variables (Ubuntu 9.04) geant 4.9.2.p02 in the .tcshrc file as follows:

source ~/geant4.9.2.p02/env.csh source /home/david/open_scientist/osc_vis/16.8/setup.csh setenv PATH "/home/david/xerces-c-3.0.1-x86_64-linux-gcc-3.4/bin":$PATH setenv PATH "/opt/ActiveTcl-8.5/bin":$PATH setenv G4WORKDIR /home/david/g4work

The OnX problem occurred when the env.csh and setup.csh (first two lines) were at the end of the .tcshrc file. The problem went away when they are listed as shown above. So, if you get this error, try changing the order in which you load your environment variable or path settings.

David

1 None: Re: OnX::XtUI::LookDSM_Problem   (Guy Barrand - Nov 17, 08:09) newer
Question I can't open hadrontherapy.root files by using JAS3  by Jongseok <Jongseok>,   Nov 08, 23:02
Hi!

I was trying to make output files for many examples.

Eventually I succeeded to make output files for Brachytherapy, AnaEx01, and

hadrontherapy, because many users in this Forum helped me.

Unfortunately, I faced other problem that I can't open my output files.

I can open output files(.root and .aida) for brachytherapy and anaex01 through

JAS3 program, but I can't open only hadrontherapy.root file.

JAS3 program showed me that some errors are occurred during command processing.

I also update my JAS3 program to 0.8.4.

How can I solve this problem?

Please give me some advice.

Thanks.

Jongseok.

Question How can I make output file for Hadrontheraphy??  by Jongseok <Jongseok>,   Oct 25, 00:46
Hi everyone.

I'm struggling with making an output file for the hadrontherapy example.

I already read the README file, so I declared G4ANAYLISYS_USE as 1.

(export G4ANALYSIS_USE=1 or declared variable in hadrontherapy.cc)

Also, I copied AIDA header files in subdirectory of hadrontherapy example

(~/AIDA).

But I couldn't make *.hbk output file...

I have used Hadrontherapy example by using VisualizationMacro file.

In order to make output file, What should I do more?

Please give some advice..

Thanks.

Compapaa

1 Feedback: Re: How can I make output file for Hadrontheraphy??   (G.A.P.Cirrone - Oct 25, 14:54)
(_ Question: Re: How can I make output file for Hadrontheraphy??   (Jongseok - Oct 26, 04:37)
(_ None: Re: How can I make output file for Hadrontheraphy??   (michel maire - Oct 26, 06:39)
Question Analysis with Geant4,cygwin,MVS.Net,JAIDA-3.2.1,AIDAJNI-3.2.0  by Elin Aronsen <Elin Aronsen>,   Sep 21, 18:14
I have a problem in running Geant4.8.2.p01 on Windows XP with cygwin, MVS .NET 2003, JAVA, JAIDA and AIDAJNI. The plan is to take 1Dhistogram files created when running the extended example with added selected trajectories in TrackingAction.cc into JAS3 for further adding of several histograms (from many runs). But the problem arrived that the program created only the HistoManager.o file (may be when booking at the begin of the run), but I never located any hbook uncompressed file containing the necessary histogram. The program runs without error messages and without creating the wanted file. It seems that the program is filling the histogram all right in the TrackingAction.cc file as I get written out from there indicating that the histogram ID (exist(ID) has the boolean value true).But then nothing more happens. Further I did not manage to set the directory histoDir using command /testem/histo/ as given in the HistoMessenger.cc file. The guidance did not help me and there was no feedback when trying to give some directory path. I am not sure if it should be necessary to set the directory since no .mac file and no example is actually setting the directory in the TestEm3 or any other example. I hope that you can help me. May be that also some lines in the Histomanager.cc file could set the directory.I am using the extended
example TestEm3 mostly with only selected as trajectories those being reflected from the metal sheet.
Thanks.

Elin Aronsen Attachment:Output9.17se,TrackingAction.cc,TestEm3.cc,RunAction.cc,EventAction.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2009/09/21/17.57-85182-9.17TrackingAction.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2009/09/21/17.57-55727-9.17HistoManager.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2009/09/21/17.57-48473-9.17TestEm3.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2009/09/21/17.57-65871-9.17RunAction.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2009/09/21/17.57-11264-9.17EventAction.cc
Question AIDA&AIDAJNI Problems  by <Nathan.C.Nelson@Hitchcock.org>,   Sep 09, 10:27
Hi,

I am a recent user of GEANT4. I have the latest version of GEANT4 (4.9.p02)installed on our Ubuntu 9.04 platform along with Sun Java 1.6, AIDAJNI 3.2.6 and JAIDA 3.2.4. I can compile and run examples such as N01, A01 etc but when turning on analysis I get many linking errors for A01 similar to other posted users. I have noticed that I can get the AIDAJNI example AidaTest to work if I add my shared library /usr/lib/libstdc++.so.5 to link up. If I use the default shared library /usr/lib/libstdc++.so.6 on my system I get the same linking errors as above. If I add /usr/lib/libstdc++.so.5 in the GNUmakefile of example A01 it links with no errors but when I execute A01app I get a segmentation fault. I'm not sure if I can re-compile GEANT4 using libstdc++.so.5 if that would solve the problem?? (I don't know how to force Ubuntu 9.04 to use libstdc++.so.5 instead of libstdc++.so.6!

I appreciate any help in this matter out there in GEANT4 land...

Question histogram parameters  by Lorena Magallanes <Lorena Magallanes>,   Sep 02, 06:46
Hi,

I´m working with examples like TestEm* but It is necessary to me get a histogram in MeV/mm3 instead of MeV/mm, How can I change these unit?

Thanks in advance.

L. Magallanes

Question Problem running example A01 and N02  by Neoh <Neoh>,   Jul 17, 12:05
Hi,

I have geant4.9.2.p01 in my Debian GNU/Linux. I tried to install Open Scientist as AIDA implementation of my Geant4 toolkit. To test my AIDA installation, I followed instructions on its homepage to create a cpp file, compile and run it with output " :-) AIDA found." as expected, so I assumed the AIDA installation is successful at this point(hopefuly).

The problem comes when I tried to test-run example A01. I source both env.sh from geant4 installation directory and aida-setup.sh from osc_vis,unset the variables G4VIS_BUILD_OPENGLX_DRIVER, G4VIS_BUILD_OPENGLXM_DRIVER and G4LIB_USE_GRANULAR, then type "make".This is the output:

Making dependency for file A01app.cc ... Making dependency for file src/A01Trajectory.cc ... Making dependency for file src/A01PrimaryGeneratorMessenger.cc ... Making dependency for file src/A01PrimaryGeneratorAction.cc ... Making dependency for file src/A01PhysicsList.cc ... Making dependency for file src/A01MuonPhysics.cc ... Making dependency for file src/A01MagneticFieldMessenger.cc ... Making dependency for file src/A01MagneticField.cc ... Making dependency for file src/A01IonPhysics.cc ... Making dependency for file src/A01HodoscopeHit.cc ... Making dependency for file src/A01Hodoscope.cc ... Making dependency for file src/A01HadronPhysics.cc ... Making dependency for file src/A01HadCalorimeterHit.cc ... Making dependency for file src/A01HadCalorimeter.cc ... Making dependency for file src/A01GeneralPhysics.cc ... Making dependency for file src/A01EventActionMessenger.cc ... Making dependency for file src/A01EventAction.cc ... Making dependency for file src/A01EMPhysics.cc ... Making dependency for file src/A01EmCalorimeterHit.cc ... Making dependency for file src/A01EmCalorimeter.cc ... Making dependency for file src/A01DriftChamberHit.cc ... Making dependency for file src/A01DriftChamber.cc ... Making dependency for file src/A01DetectorConstruction.cc ... Making dependency for file src/A01DetectorConstMessenger.cc ... Making dependency for file src/A01CellParameterisation.cc ... Making dependency for file src/A01AnalysisManager.cc ... Compiling A01AnalysisManager.cc ... In file included from src/A01AnalysisManager.cc:60: include/A01AnalysisManager.hh:56: warning: declaration ‘class AIDA::IAnalysisFactory’ does not declare anything include/A01AnalysisManager.hh:57: warning: declaration ‘class AIDA::ITree’ does not declare anything include/A01AnalysisManager.hh:58: warning: declaration ‘class AIDA::IHistogramFactory’ does not declare anything include/A01AnalysisManager.hh:59: warning: declaration ‘class AIDA::ITupleFactory’ does not declare anything include/A01AnalysisManager.hh:60: warning: declaration ‘class AIDA::IPlotter’ does not declare anything Compiling A01CellParameterisation.cc ... Compiling A01DetectorConstMessenger.cc ... Compiling A01DetectorConstruction.cc ... Compiling A01DriftChamber.cc ... Compiling A01DriftChamberHit.cc ... Compiling A01EmCalorimeter.cc ... Compiling A01EmCalorimeterHit.cc ... Compiling A01EMPhysics.cc ... Compiling A01EventAction.cc ... In file included from src/A01EventAction.cc:33: include/A01AnalysisManager.hh:56: warning: declaration ‘class AIDA::IAnalysisFactory’ does not declare anything include/A01AnalysisManager.hh:57: warning: declaration ‘class AIDA::ITree’ does not declare anything include/A01AnalysisManager.hh:58: warning: declaration ‘class AIDA::IHistogramFactory’ does not declare anything include/A01AnalysisManager.hh:59: warning: declaration ‘class AIDA::ITupleFactory’ does not declare anything include/A01AnalysisManager.hh:60: warning: declaration ‘class AIDA::IPlotter’ does not declare anything Compiling A01EventActionMessenger.cc ... Compiling A01GeneralPhysics.cc ... Compiling A01HadCalorimeter.cc ... Compiling A01HadCalorimeterHit.cc ... Compiling A01HadronPhysics.cc without optimization... Compiling A01Hodoscope.cc ... Compiling A01HodoscopeHit.cc ... Compiling A01IonPhysics.cc ... Compiling A01MagneticField.cc ... Compiling A01MagneticFieldMessenger.cc ... Compiling A01MuonPhysics.cc ... Compiling A01PhysicsList.cc ... Compiling A01PrimaryGeneratorAction.cc ... Compiling A01PrimaryGeneratorMessenger.cc ... Compiling A01Trajectory.cc ... Creating shared library /root/geant4/tmp/Linux-g++/A01app/libA01app.so ... /usr/bin/ld: cannot find -lG4readout collect2: ld returned 1 exit status make: *** [/root/geant4/tmp/Linux-g++/A01app/libA01app.so] Error 1

When I tried to run example N02, it gives the same error: . . . Creating shared library /root/geant4/tmp/Linux-g++/exampleN02/libexampleN02.so ... /usr/bin/ld: cannot find -lG4readout collect2: ld returned 1 exit status make: *** [/root/geant4/tmp/Linux-g++/exampleN02/libexampleN02.so] Error 1

Does anyone have any idea what is the problem? I tried to compile example N01 but it didn't show any error.

Regards,

Neoh

None Replica and energy density deposition  by Olivier Dadoun <Olivier Dadoun>,   Jul 07, 03:02
Hello,

I am studying the energy density deposition (unit in MeV/mm3) inside a Target of Tungsten.
To do so I have segmented my target in N_Cell_z*N_Cell_x*N_Cell_y which are my elementary volumes (using Replica Volume).
I retrieved the cell hits using
 G4int NrX   = aStep->GetPreStepPoint()->GetTouchable()->GetReplicaNumber(1);
 G4int NrY   = aStep->GetPreStepPoint()->GetTouchable()->GetReplicaNumber(2);
 G4int NrZ   = aStep->GetPreStepPoint()->GetTouchable()->GetReplicaNumber(0);
 and the cumulated deposited energy is
depESum[NrZ][NrX][NrY] += aStep->GetTotalEnergyDeposit();

Finally I fill a 3D histo using ROOT.

I am interested in the Peak Energy Density Deposition, i.e the maximum value of depESum divided by the volume of the elementary cell volume.

My problem is that this number is strongly dependant of the number of Cells I chose. Do you have any idea of what I am doing wrong?

In advance thank you Olivier

1 None: Re: Replica and energy density deposition   (michel maire - Jul 09, 04:17)
(_ None: Re: Replica and energy density deposition   (Olivier Dadoun - Jul 09, 05:36)
(_ None: Re: Replica and energy density deposition   (michel maire - Jul 10, 08:17)
(_ None: Re: Replica and energy density deposition   (Olivier Dadoun - Jul 12, 15:14)
(_ None: Re: Replica and energy density deposition   (michel maire - Jul 15, 04:00)
(_ None: Re: Replica and energy density deposition   (Olivier Dadoun - Jul 21, 01:13)
Question Output to matlab  by Shawn Sbannist <Shawn Sbannist>,   Jun 16, 10:00
Does anyone have a suggestion for how to force geant to output a matlab compatible file such as a .csv, I would need it to be done for a very high number of simulations. I am using a calorimeter geometry and I want to have outputs that are some kind of an image that portrays the track and energy of each individual particle in each simulation.

1 None: Re: Output to matlab   (Guy Barrand - Jun 17, 01:20)
Question The Methods ListObjectNames and ListObjectTypes of AIDA?  by <bgastro@pmo.ac.cn>,   Jun 07, 19:49
Hi everyone, I installed AIDAJNI-3.2.2 and JAIDA-3.2.3 to analysis the outputs, it worked well for the Geant4 extended example A01. But it fell into the memory error once I use the method listObjectNames and listObjectTypes of ITree. Could anybody help me out?

ps: my gcc version is 4.1.2 and geant is 4.8.1.p02.

Many thanks in advance.

Sad using AIDA-3.2.1  by <tintin73>,   Jun 01, 00:51
Dear Geant4 gurus,

I've only just started to use GEANT4 (on Windows XP). I am trying to run the Brachtherapy application which works fine ...until I try to do some analysis using the aida tool. I've downloaded to tool to [ c:/AIDA ] and unzipped the tarfile [ aida-3.2.1.tar.gz ].

I am unsure how to link this to GEANT4 so that when I switch on [G4ANALYSIS_USE=1 ], I stop getting the error message [ /bin/sh:aida-config: command not found.. ]

I think I need a config script i.e an aida-setup script? Not sure where to get this.

Also, how do I actually use the AIDA tool to analysis an output file for example the .aida file that should be generated by the A01 application? Do I dump the file in my C:/AIDA directly and run from there?

Could someone point me in the right direction please?

Thanks a lot.

Question Serious discepency between Geant4.7.0.p01 and Geant4.9.1.p03  by Pradip Datta <Pradip Datta>,   May 29, 03:37
Dear All,

I have generated a output file contains the detector no and the corresponding energy. I have opened the file in RunAction and write data in 
EventAction. Things are perfectly working in Geant4.7.0.p01. I have tested it with 500000 events where I shoot a gamma ray of fixed energy randomly within a
 defined cone. 
 Interestingly when I am trying to run the program in Geant4.9.1.p03, it is working perfectly but gives a segmentation fault when the output file size is 
reached exactly 8k. I have a compulsion to use Geant4.7.0.p01 and hence I write every part of the code first in 4.7.0.p01 then try to run it in Geant4.9.1.p03. 
Till date it runs perfectly in every stage but fails recently at this stage. 

 Does anybody has any idea about the problem?

Regards,

Pradip

Question Writing output   by Pradip Datta <Pradip Datta>,   14 May, 2009
Hi All,

I have made a segmented Ge detector. For this purpose I have modified the novice prog N02. If I set the tracking verbosity to "1", I am getting output about the energy deposition, copy no of the segment and other outputs listed in ExN02SteppingVerbose.cc (I have add only one line to extract the information about the segment no). Now I would like to write the energy and segment no in a output file. To be specific, I would like to generate a zero suppressed unformatted binary data file for further analysis.

I have little understanding (I admit) about the architecture and the data flow between the hits and events in Geant4. Such limited knowledge really makes it difficult for me decide where should I include the fwrite statement to write the data.

Probably, I can always do it in SteppingVerbose.cc file within the tracking verbosity=1 loop. In that case, I have to comment all the G4out statement in side the tracking verbosity=1 loop to avoid writing in stdout instead I should include

fwrite(.....fStep->GetPreStepPoint()->GetTouchableHandle()->GetCopyNumber()....)

and

fwrite(....fStep->GetTotalEnergyDeposit()......)

But I don't thinks this is the correct way to do this job. I really need an expert advise about my problem. Thus, I appreciate any sorts of input.

With regards,

Pradip

1 None: Re: Writing output   (Paul Nicholas Colin Gloster - 14 May, 2009)
Question Number of Photons vs Energy  by Antonio Magalhaes <Antonio Magalhaes>,   29 Apr, 2009
I have a primitive setup to generate x-rays (target, filters, etc). Now, I want to detect those photons and create an analysis system (hbook, ascii, JAS...whatever) that show-me the number of photons in function of its energy, however i'm beginer with geant and don't know how to do it... there's some example or "light" for my problem? I apreciate your help! so thanks!

Question OpenScientist Problems?  by <bgastro@pmo.ac.cn>,   13 Apr, 2009
Hi everyone,

I downloaded the OpenScientist(osc_vis-v16r0-Linux-ia32-gcc_34.zip) and unpacked it. Then I installed it following the suggestions of the README file in the directory OpenScientist which is unpacked from the osc_vis-v16r0-Linux-ia32-gcc_34.zip:

1)./install

2)source ~/OpenScientist/v16r0/aida-setup.sh

Then I switched to the examples/extended/Analysis/a01 and did the following procedures:

1)source setup-analysis.sh

2)make clean

3)make

I got some warning as following:

>...
>include/A01AnalysisManager.hh:56: Warning: declaration 'class AIDA::IAnalysisFactory' did not declare anything
>include/A01AnalysisManager.hh:57: Warning: declaration 'class AIDA::ITree'did not declare anything
>...
>Linking A01app...
>...Done!

Then I switched to my work directory, tried to execute A01app: ./A01app I got the error messages like following:

>Lib::DLL::DLL : can't load OnXTestDLD library.
>Lib::DLL::DLL : error : libOnXTestDLD.so: cannot open shared object file: No >such file or directory
>Lib::DLL::DLL : can't load BatchLabXML library.
>Lib::DLL::DLL : error : libBatchLabXML.so: cannot open shared object file: No >such file or directory
>BatchLab::TreeFactory::loadTree : unable to add a DLL
>segment fault

could anyone help me through this?

ps: my OS is Fedora 10 and gcc version is 4.3.2

Question Can not book root file or hbook file,  by <viet.nga.thi.la@cern.ch>,   01 Apr, 2009
Hello,

I test TestEm1 and TestEm3 in examples/extended/electromagnetic, Geant4 can't book the root or hbook file in my computer.

But in other computer, Geant4 can do it.

Do the geant4 in my computer have a problem ?

Do you have experimences? Help-me!

Viet Nga

None OpenScientist installation problems  by <Santos>,   27 Feb, 2009
I am trying to install OpenScientist on a Ubuntu 7.10 machine with Geant4 and CLHEP already installed. I wanted the osc-vis package; to be on the safe side I decided to install from source.

I followed procedure described on the web site http://openscientist.lal.in2p3.fr/, in the "build from source" part.

1) Unzipped OpenScientist

2) Switched to OpenScientist/16.8/osc_vis/16.8/obuild directory

3) Ran . ./setup.sh (I use BASH)

4) Ran ./sh/build

I was able to get through most of the installation without much of a problem (Synaptic/apt-get in Ubuntu are great). The real problem came when the system tried to build the geant4 part. It tries to find CLHEP in /usr/local/CLHEP/2.0.3.2 and certainly fails (well, at some point I put a link to my CLHEP, version 2.0.4.0 there, it was satisfied but got stuck with some other problem on geant4).

As it is recommended on the site, I went to OpenScientist/16.8/foreign/v1r7p0 and edited CLHEP.obuild:

<variable name="CLHEP_home" platform="UNIX">PUT REAL PATH HERE</variable>

and also, just in case

<native_version>PUT MY VERSION HERE</native_version>

Still, I get the same: "WARNING : CLHEP not found under /usr/local/CLHEP/2.0.3.2" message. This is even more surprising because I changed the message, so, even if the system somehow looks into /usr/local/CLHEP/2.0.3.2, the message should look different. Then I also tried to find where else in the package there is a phrase "WARNING : CLHEP not found under ..." and could not. Now I am really stuck and puzzled.

Could somebody, please, tell me what is going on and how to fix this. Thank you, Slava

1 Ok: Re: OpenScientist installation problems - SOLVED   (Santos - 03 Mar, 2009)
Question Geant4 example A01 Linking Problem  by Lisandro Martinez <Lisandro Martinez>,   08 Dec, 2008
I am new to Geant4 and I am trying to construct the A01 example, I have compiled the example and used WIRED to see the particle trajectories and so forth. When I try to start with the An alysis section I get an error in the linking of A01app

I am working on a: MacOS 10.5.5 i686-apple-darwin9 gcc version 4.0.1 JAIDA 3.2.1 AIDAJNI 3.2.1

My Environment is:

export G4WORKDIR=/Applications/geant4work

export DYLD_LIBRARY_PATH=/Applications/CLHEP/osx105_ia32_gcc401/lib

export G4INSTALL=/Applications/geant4.9.1.p03

source /Applications/geant4.9.1.p03/env.sh

export JAVA_HOME=/Library/Java/Home

export JDK_HOME=/Library/Java/Home

export JAIDA_HOME=/Applications/AIDA/JAIDA-3.2.1

source $JAIDA_HOME/bin/aida-setup.sh

export AIDAJNI_HOME=/Applications/AIDA/AIDAJNI-3.2.1

export AIDAJNI_LIBS=/Applications/AIDA/AIDAJNI-3.2.1/lib/Darwin-g++

source $AIDAJNI_HOME/bin/Darwin-g++/aidajni-setup.sh

export G4ANALYSIS_USE=1

When I type make clean and make

the program starts Making dependency and compiling, but when it gets to the linking I get this

Linking A01app ...
ld warning: in /Applications/AIDA/AIDAJNI-3.2.1/lib/Darwin-g++/libAIDAJNI.a, file is not of required architecture
ld warning: in /Applications/AIDA/AIDAJNI-3.2.1/lib/Darwin-g++/libFHJNI.a, file is not of required architecture
Undefined symbols:
  "_AIDA_createAnalysisFactory", referenced from:
      A01AnalysisManager::A01AnalysisManager()in libA01app.a(A01AnalysisManager.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [/Applications/geant4work/bin/Darwin-g++/A01app] Error 1

Any Ideas of how to solve this! Thank you very much in advance.

Lisandro

Question Problems compling analysis A01  by Jamie Wright <Jamie Wright>,   21 Nov, 2008
Dear all,
I have downloaded JAIDA(3.2.1) and AIDAJNI(3.2.3) and setup the environment thus:
export JAIDA_HOME=<my path>/JAIDA-3.2.1
source $JAIDA_HOME/bin/aida-setup.sh

export AIDAJNI_HOME=<my path>/AIDAJNI-3.2.3
source $AIDAJNI_HOME/bin/Linux-g++/aidajni-setup.sh

I have also installed java sdk and set the environment variable for that.

When I come to compile analysis A01 however I get errors such as:
/bin/sh: aida-config: not found

And a lot of other errors stemming from this.

Anyone else ever had this problem?

thanks Jamie
Question Analysis using only ROOT  by Jamie Wright <Jamie Wright>,   13 Nov, 2008
Dear All
A simple question I think however I'm new to geant4, ROOT and Linux in general.
I want to create histograms to analyse with ROOT.
After searching the forums I discovered thread #187 which describes my situation exactly. I modified exN02 with the new SD files however when I come to compile I get errors such as "TFile.h:no such file or directory". Do I need to add ROOT to my path or configure the enviroment in some way?
I have added to the makefile CPPFLAGS += -I$(ROOTSYS)/include
EXTRALIBS = $(shell root-config --glibs)
 Any suggestions would be appreciated
Thanks Jamie
1 Feedback: Re: Analysis using only ROOT   (Christina Zacharatou - 16 Nov, 2008)
(_ None: Re: Analysis using only ROOT   (Jamie Wright - 20 Nov, 2008)
(_ Feedback: Re: Analysis using only ROOT   (Christina Zacharatou - 20 Nov, 2008)
(_ None: Re: Analysis using only ROOT   (Christina Zacharatou - 20 Nov, 2008)
(_ Idea: Re: Analysis using only ROOT   (Jamie Wright - 21 Nov, 2008)
(_ Idea: Re: Analysis using only ROOT   (Jason Brudvik - 23 Dec, 2008)
Question Hadrontherapy ROOT output  by Jonathan Mbewe <Jonathan Mbewe>,   12 Nov, 2008
Hallo all
I have used iAIDA in the Geant4 Hadrontherapy example to produce a .ROOT 
file with the histograms and ntuples.

My problem is that I would able to draw histograms to show cross-plane dose profiles at different depths along the beam axis (x-axis) in the 3D matrix.

I am quite new to ROOT.

Can anyone help?

Thanks.

Jonathan 
Question OpenScientist version for Ubuntu 8.04.1  by Angela Intermite <Angela Intermite>,   23 Oct, 2008
Dear all, I have Linux-i386-gcc 423 and Ubuntu 8.04.1. I searched in the kits of OpenScientist for installing it but there is no kit suitable for my gcc.Could I know if it exists a version of OpenScientist suitable for me? Or should I change my version of Linux?

Thank you very much

angela

1 None: Re: OpenScientist version for Ubuntu 8.04.1   (Guy Barrand - 10 Dec, 2008)
Question TestEm examples  by Morthekai <Morthekai>,   20 Aug, 2008
Hi,

After successful compilations of TestEm2, 7, 11 examples, I got error messages like,

Lib::DLL::DLL : can't load BatchLabZebra library.
Lib::DLL::DLL : error : /{HOME}/osc_batch/v16r0/bin/libBatchLabZebra.so: undefined symbol : _ZNK8BatchLab9BaseTuple8rowIndexEv
BatchLab::TreeFactory::loadTree : unable to add a DLL BatchLab::TreeFactory::create_tree : can't create "testem2.hbook"

during execution. This kind of error appeared for *.aida file as well. But if I follow Ivana's suggestion by adding

CPPFLAGS += -I$(ROOTSYS)/include EXTRALIBS = $(shell root-config --glibs)

in the makefile, the execution suddenly stopped by showing that kind of error.

I have ROOT installed and OpenScientist batch, as suggested in the forum, is also have in my PC (OS: fc7).

Could you please help me in this regard?

Thanks and regards, Morthekai

1 None: Re: TestEm examples   (Guy Barrand - 12 Dec, 2008)
Question exRDM exaple and histogramming.  by Vladimir Kulikovskiy <Vladimir Kulikovskiy>,   07 Aug, 2008
Dear experts,

I am trying now to get output file in .root or .aida with histograms and data, which is described in README for this example.

And I really stuck with choosing analysing tool - iAIDA doesn't compile, PI is not easy thing to compile too (I was not succeded). Last versions of AIDAJNI doesn't compile with Maven 2.08 and 2.09... and so on.

Some positive experience was with: JAIDA3.2.4+AIDAJNI3.2.3, also with Open Scientist (batch), that was compiled by my own or already compiled. But in all situations I get next errors:

--- fileType is unknown variable. I changed it to histType and compiling was fine, but when linking I've got errors like this:

$ make clean

Cleaning up ...

$ . ~/geantfiles/osc_batch-v16r5/osc_batch/v16r5/aida-setup.sh

$ export G4ANALYSIS_AIDA_CONFIG_CFLAGS=`aida-config --cflags`

$ export G4ANALYSIS_AIDA_CONFIG_LIBS=`aida-config --libs`

$ export G4ANALYSIS_USE=1

$ export G4ANALYSIS_USE_AIDA=1

$ make

****************************

Compiling exRDM.cc ...

Linking exRDM ...

/home/qvoffka/geant4/tmp/Linux-g++/exRDM/exe/exRDM.: In function

`G4VisExecutive::RegisterModelFactories()':

exRDM.cc:(.text+0x99): undefined reference to `G4TrajectoryGenericDrawerFactory::G4TrajectoryGenericDrawerFactory()'

exRDM.cc:(.text+0xa5): undefined reference to `G4VisManager::RegisterModelFactory(G4VModelFactory<G4VTrajectoryModel>*)'

exRDM.cc:(.text+0xbb): undefined reference to `G4TrajectoryDrawByChargeFactory::G4TrajectoryDrawByChargeFactory()'

What analysing tool is the most usable now? How to install and compile everything to get .aida or .root file in this example (after I could enjoy working with them with ROOT or JAS3 which are very usable)?

Help from anybody, who have positive experience in running this example with analysing tools is very appreciated.

1 None: Re: exRDM exaple and histogramming.   (John Allison - 07 Aug, 2008)
1 Feedback: Re: exRDM exaple and histogramming.   (Vladimir Kulikovskiy - 08 Aug, 2008)
2 Feedback: Re: exRDM exaple and histogramming.   (Vladimir Kulikovskiy - 08 Aug, 2008)
1 None: Re: exRDM exaple and histogramming.   (John Allison - 08 Aug, 2008)
2 None: Re: exRDM exaple and histogramming.   (P. Sizun - 08 Aug, 2008)
2 None: exRDM / AIDA part reviewed / osc_batch 16.8   (Guy Barrand - 12 Dec, 2008)
None Warning appears when OpenScientist installed  by Xinxin Tang <Xinxin Tang>,   04 Aug, 2008
Hi,
  After i installed OpenScientsit(version is :osc_vis-v16r5-Linux-i386-gcc_323.zip),warning appers when i compile An01,i don't know how to fix it. any suggestion will be appreciated! the following is warning message.

/usr/bin/ld: warning: libstdc++.so.5, needed by /home/txx/program/OpenScientist/v16r5/lib/libOnXLabAIDA.so, may conflict with libstdc++.so.6

1 None: Re: Warning appears when OpenScientist installed   (Guy Barrand - 05 Aug, 2008)
Question Un able to create "big" aida analysis files.   by Or Chen <Or Chen>,   26 Jul, 2008
Hey,

My analysis job consist of 4 graphs and n-tuples.

when i'm trying to analyze 2.5 million events everything works fine, when I'm moving on to 3 million it creates and empty .aida file.

Is it a known problem? If so, what's the solution? because my final destination is to analyze 10^8 events.

Thnks' Or.

1 None: Re: Un able to create   (Guy Barrand - 05 Aug, 2008)
None how to add energy resolution code in geant4  by ylzhang <ylzhang>,   25 Apr, 2008

I have a question. Mono energy alpha particles entrance silicon detector. I can gain a spectrum. and fit the spectrum, gained a FWHM. but i didnot put the energy resolution in the material. If I put the energy resolution that could be gained from experiment into code.

runaction->eventInfo.siliconLayersEnergyDepositWithError[ptr] = 
          runaction->eventInfo.siliconLayersEnergyDeposit[ptr] + 
          RandGaussT::shoot( engine, 0.0, sqrt( siliconSigma[ptr]*siliconSigma[ptr] + siliconNoise*siliconNoise )

the FWHM is bigger than experiment. and the resolution of the simulation spectrum is different from the experiment. so i donnot the code is right, i donnot know how to set the energy resolution that could gained a spectrum that is similar to the spectrum of experiment.

1 None: Re: how to add energy resolution code in geant4   (John Allison - 28 Apr, 2008)
(_ None: Re: how to add energy resolution code in geant4   (ylzhang - 01 May, 2008)
None The problem with histogram and PI  Keywords: histogram, PI
by <yfdeng@student.dlut.edu.cn>,   08 Apr, 2008

Hello,
   I have a problem about extend example named fanoCavity2 which used histogram to analyse data. Before I compile it,
I have installed the AIDA implementation "AIDA-JNI" and "JAIDA" as 7th instruction mentioned in its readme file. 
However, I can't get the histogram still. What's the reason? How to cope with it?
   And I try to install the PI implementation, but I don't know how to set the environment(on the web site, there said
only need to set the environment). Could you give me a detail instruction about it? My verion of PI is PI_1_3_12 and it
is released in d:/PI. My system is windows+cygwin.
   Thank you very much. Please forgive my poor English.

1 None: Re: The problem with histogram and PI   (michel maire - 08 Apr, 2008)
(_ None: Re: The problem with histogram and PI   (yfdeng@student.dlut.edu.cn - 09 Apr, 2008)
(_ None: Re: The problem with histogram and PI   (michel maire - 09 Apr, 2008)
(_ None: Re: The problem with histogram and PI   (yfdeng@student.dlut.edu.cn - 09 Apr, 2008)
(_ None: Re: The problem with histogram and PI   (michel maire - 09 Apr, 2008)
(_ None: Re: The problem with histogram and PI   (yfdeng@student.dlut.edu.cn - 09 Apr, 2008)
None How to mention resolution of detector?  by Anil <Anil>,   04 Feb, 2008

Hello,

Iam interested to simulate the response of NaI for gamma rays. Is it possible to obtain a realistic gaussian-like energy peak curve by giving energy dependant FWHM (due to noise, statistics, etc.)? In what part of the codes can we mention for this purpose?

Thanks in advance!

1 None: Re: How to mention resolution of detector?   (Maria Grazia Pia - 05 Feb, 2008)
None Untitled  Keywords: resolution
by Anil <Anil>,   04 Feb, 2008

Hello,

Iam interested to simulate the response of NaI for gamma rays. Is it possible to obtain a realistic gaussian-like energy peak curve by giving energy dependant FWHM (due to noise, statistics, etc.)?In what part of the codes can we mention for this purpose?

Thanks in advance!

None please very emergency:how can i create a spectrum???  Keywords: create a spectrum
by elif <elif>,   22 Jan, 2008

ciao dear friends; i did a detector setup. I have two Ge detectors and i can do interaction with them.. But i have a probleam.. After interaction how can i create a spectrum? please help me:((

ciao, chylec..

1 None: Re: please very emergency:how can i create a spectrum???   (John Allison - 26 Jan, 2008)
None rAIDA in Hadrontherapy example  by Jonathan Mbewe <Jonathan Mbewe>,   14 Jan, 2008

I have installed the latest version of rAIDA. Upon ´making´ the hadrontherapy example I get the following error;

Linking Hadrontherapy ... /usr/local/g4work//tmp/Linux-g++/Hadrontherapy/libHadrontherapy.so: undefined reference to `AIDA_createAnalysisFactory'

collect2: ld returned 1 exit status
make: *** [/usr/local/g4work//bin/Linux-g++/Hadrontherapy] Error 1

Can anyone help?

Jonathan

Question Medical Linac analysis problem  Keywords: MedlinacDiane.xml analysis MedLinac
by Carlo Nicolini <nicolini.carlo@gmail.com>,   12 Jan, 2008

Hi,

I'm using MedLinac advanced example. I've set G4ANALYSIS_USE and I use JAIDA 3.2.1 and AIDAJNI 3.2.1.

gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)

When I compile and use A01 example, everything is ok and I produce A01.aida file

Using MedLinac example, I obtain only one file MedLinacDiane.xml of 555 byte. (I noticed that a file of similar dimension is produced by A01 app with /run/beamOn 1)

Analyzing it with Jas3, that open it, I see that's a file containing only the titles of the histograms but no data.

I suppose that something goes wrong with the filling of the histograms, isn'it?

I appreciate any ideas.

Thank you

Carlo Nicolini

Question Medical Linac analysis problem  Keywords: MedlinacDiane.xml analysis MedLinac
by Carlo Nicolini <nicolini.carlo@gmail.com>,   12 Jan, 2008

Hi,

I'm using MedLinac advanced example. I've set G4ANALYSIS_USE and I use JAIDA 3.2.1 and AIDAJNI 3.2.1.

gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)

When I compile and use A01 example, everything is ok and I produce A01.aida file

Using MedLinac example, I obtain only one file MedLinacDiane.xml of 555 byte. (I noticed that a file of similar dimension is produced by A01 app with /run/beamOn 1)

Analyzing it with Jas3, that open it, I see that's a file containing only the titles of the histograms but no data.

I suppose that something goes wrong with the filling of the histograms, isn'it?

I appreciate any ideas.

Thank you

Carlo Nicolini

None The simplest analysis with Root in Geant4  by Aivaras <aivaras.zukauskas@gmail.com>,   04 Dec, 2007
Hello,
I apologize for a silly question since you guys have a lot of job to do, 
but can you help me with the simplest analysis in Geant4 using Root?
For example, to create a histogram or something similar. 
Does anyone know some web addresses where it could be explained with
examples?
I tried to look into /extended examples, but I can't compile most of them,
because AIDA or PI is used - I don't have them.
Thankyou.
1 None: Re: The simplest analysis with Root in Geant4   (Jacquemier Jean - 04 Dec, 2007)
(_ None: Re: The simplest analysis with Root in Geant4   (Aivaras - 06 Dec, 2007)
(_ None: Re: The simplest analysis with Root in Geant4   (Ivana Hrivnacova - 06 Dec, 2007)
None Segmentation fault in aidajni in 64-bit enviroment  Keywords: aidajni segmentation faults 64-bit
by Per <f99-pfo@f.kth.se>,   01 Nov, 2007
Dear All!

Modifing exampel A01 I started getting segmentation faults. 
Fast forward, looking back at the vanilla A01 example and 
running it thought gdb I'm getting segmentation fault but 
the program keeps running!

Can anyone try this as well?
64-bit enviroment, compile and run A01 with G4ANALYSIS_USE set
try vis.mac
Does it run? Does Geant4 quit correctly?
Now run it thought gdm. Any errors?

/Per Fogelstrom
None file results  by Ibrahim <Ibrahim>,   22 Oct, 2007

Hi,

During the run of my program i can obtain the energy deposit in the detector and the position of this energy. I’d like to output these results in a file. How can i do it?

With best regards

None JAS3  by Ibrahim <Ibrahim>,   18 Oct, 2007

Hi,
I run my program , a file called .aida  is created, when i open it with jas3, i can see the spectrum of gammas. I want to  integrate the surface 
under the gaussian curve. how can i do it with jas3 ?
 I'd like also to know the  number of  gammas that have interacted with photoelecticeffect , compton scattering und so on
how can i do it .
thank you very much
regards

1 None: Re: JAS3   (michel maire - 18 Oct, 2007)
3 None: RE: JAS3   (tony_johnson@slac.stanford.edu - 18 Oct, 2007)
Question AIDA_creatAnalysisFactory  Keywords: AIDA_createAnalysisFactory air_shower
by Oscar Larsson <Oscar Larsson>,   04 Oct, 2007
Hi

I doing my diploma work at the moment so I'm very new to Geant4 but I've manage to get it working, almost.
When I compile the advanced example air shower I get the following error message:

Compiling Ultra.cc ...
Using granular libraries ...
Linking Ultra ...
/home/oscar/geant4/tmp/Linux-g++/Ultra/libUltra.so: undefined reference to `AIDA_createAnalysisFactory'
collect2: ld returned 1 exit status
make: *** [/home/oscar/geant4/bin/Linux-g++/Ultra] Error 1


What is wrong??? What, and how do I have to do, to fix this problem??
This is the same problem mentioned in topic No. 21 but the reply “I'd solved it already.” needless to say, didn't help me much...

So, please please please help me.

/Oscar
oscarlar(at)kth(dot)se
Question ROOT and Geant4  Keywords: ROOT Geant4
by Luke <lucas.snyder@gmail.com>,   07 Sep, 2007
Hello,

I have Geant4 and ROOT working on my windows machine but I cannot
seem to get them to work together. I get the following error when I try
to make a simple histogram.

......
fatal error C1083: Cannot open include file: 'TH1.h': No such file or 
directory
......

I assume it is a problem with my makefile and I have tried several of
the variations I have seen on this forum and others but nothing seems
to work. Can anyone help?

My current makefile looks like this
......
ifdef ROOTSYS
ifdef G4UI_USE_ROOT

CPPFLAGS += $(shell $(ROOTSYS)/bin/root-config --cflags)

ROOTLIBS = $(shell $(ROOTSYS)/bin/root-config --glibs) -lMinuit -lHtml
ROOTLIBS := $(filter-out -lNew,$(ROOTLIBS))
ROOTLIBS := $(filter-out -lThread,$(ROOTLIBS))
ROOTLIBS := $(filter-out -lpthread,$(ROOTLIBS))
LDFLAGS += $(shell root-config --libs)
LDLIBS += $(ROOTLIBS)
endif
endif
......

Thanks
Luke
None problem about read ITuple from a aida file  Keywords: AIDA, file manipulate, ITuple
by long <long>,   15 Aug, 2007

Dear experts, I wrote some codes to read out ITuple data from a aida file by 
referencing thread #163. It could find the designated tuple object from the 
file, but it could not read out the data in the tuple. I don't know why.
   The following is part of the codes. Some notes beside the instruction command.

AIDA::ITuple *oldTuple;
   .
   .
   .     
AIDA::IManagedObject*  managedObject2= oldTree->find("./Tuple2"); 
  if(!managedObject2)  // being skipped
    {
      G4cout<<"this pointer is NULL:"<<G4endl; 
      exit(4);
    }
  else   // will be executed
    {
      G4cout<<"managedObject2 pointer is pointed to:"<<managedObject2->name()<<G4endl;
      oldTuple = (AIDA::ITuple*)managedObject2->cast("AIDA::ITuple"); 
    }

  G4cout << "there are "<<oldTuple->rows() <<" in the radionuclides table"<<G4endl;
  // the return value of rows() is zero, but acutally,there are 3596 rows in that Tuple
  oldTuple->start();
  while ( oldTuple->next() ) // being skipped. Seems that oldTuple is a empty tuple
    {
      double time = oldTuple->getDouble(1); // created time of radionuclides
      double weight = oldTuple->getDouble(2); //weight
      vecHisto[1]->fill(time,weight);
      // fill the IHistogram1D with a value and the corresponding weight
    }

    

1 None: some more information on AIDA   (long - 16 Aug, 2007)
Question 2D Histogram of particle's endpoint position  Keywords: 2D histogram, xy plane, particle endpoint
by Matthew Middione <middionematt@csufresno.edu>,   17 Jul, 2007
I am looking to plot a 2D Histogram of the endpoint position of a particle.  I am using TestEm1 (GEant/examples/extended/TestEm1) 
to do my simulation and a portion of the output is seen below:

*********************************************************************************************************
* G4Track Information:   Particle = F18[0.0],   Track ID = 1,   Parent ID = 0
*********************************************************************************************************

Step#      X         Y         Z
    0      0 fm      0 fm      0 fm
    1      0 fm      0 fm      0 fm

*********************************************************************************************************
* G4Track Information:   Particle = e+,   Track ID = 4,   Parent ID = 1
*********************************************************************************************************

Step#      X         Y         Z
    0      0 fm      0 fm      0 fm
    1  -5.89 um   2.58 um   29.8 um
    2  -10.2 um   3.71 um   37.9 um
    3  -43.3 um   40.4 um    108 um
    4   -106 um   75.4 um    218 um
    5   -110 um   84.5 um    226 um
    6   -120 um    102 um    244 um
    7   -120 um    102 um    244 um
    8   -125 um    109 um    253 um
    9   -142 um    124 um    289 um
   10   -162 um    148 um    323 um
   11   -174 um    161 um    345 um
   12   -192 um    196 um    375 um
   13   -204 um    212 um    405 um
   14   -276 um    331 um    518 um
   15   -261 um    397 um    645 um
   16   -246 um    397 um    630 um
   17   -220 um    413 um    611 um
   18   -176 um    411 um    615 um
   19   -171 um    362 um    634 um
   20   -172 um    358 um    630 um
   21   -155 um    338 um    605 um
   22   -156 um    338 um    601 um
   23   -151 um    341 um    590 um
   24   -147 um    342 um    584 um
   25   -147 um    342 um    583 um
   26   -144 um    329 um    574 um
   27   -144 um    327 um    573 um
   28   -144 um    327 um    573 um

What I want to do is plot the x and y position of the e+ positrons just before they annihilate with an electron.  This endpoint 
position is the very last line seen above in the output.  Is there a way that I cn histrogram this data and run the event 
50,000 times and get a plot in Geant?

Thanks,
Matthew Middione
Question creating histograms of variable bin widths using JAIDA  by Victor_Makarov <Victor_Makarov>,   04 Jul, 2007

Hi! I'd like to create histograms of variable bin widths using JAIDA. I've looked into JAida documentation and found the proper command for that: "createHistogram1D(String path, String title, double[] binEdges) " where binEdges is an array. Using Java it is supposed to set binEdges like that: double[] binEdges = {0,0.1,0.21,0.35,0.48,0.52,0.65,0.75,0.83,0.94,1.0}. But C++ wouldn't understand that. But if I use double binEdges[] (recognizable by C++), AIDA wouldn't understand it. So, what is that command supposed to be? Thanks.

1 None: Re: creating histograms of variable bin widths using JAIDA   (Mark Donszelmann - 04 Jul, 2007)
(_ None: Re: creating histograms of variable bin widths using JAIDA   (Victor - 05 Jul, 2007)
Question memory error when creating many Histogram1D's  by Victor_Makarov <Victor_Makarov>,   04 Jul, 2007

Hi! I wanted to create 4 Histogram1D's for my analysis (before that I worked with 2 - it was ok) I have tested my example on 2 platforms: Windows+Cygwin+Jaida (AIDAJNI-3.2.3 and JAIDA-3.2.4) and Sc.Linux 4.4 + Jaida. Both times my program run crashes complaining about memory (Linux message - *** glibc detected *** malloc(): memory corruption (fast): 0x0913a518 ***)! I don't know. Maybe I have my RunAction not written in a proper way but I inherited it from one of the examples and just wanted to use some more histograms. Here are the parts of it responsible for histograms:

RunAction::RunAction()
:af(0), tree(0)
{
  histo[0] = 0;
  histo[1] = 0;
  histo[2] = 0;
  histo[3] = 0;

#ifdef G4ANALYSIS_USE 
 // Creating the analysis factory
 af = AIDA_createAnalysisFactory();

 if (af) {
   // Creating the tree factory
   AIDA::ITreeFactory* tf = af->createTreeFactory();

   // Creating a tree mapped to an hbook file.
   G4bool readOnly  = false;
   G4bool createNew = true;
   G4String options =  "--noErrors uncompress";
   tree = tf->create("testem4.XML" ,"XML" ,readOnly,createNew, options);
   delete tf;

   if (tree) {
     // Creating a histogram factory
     AIDA::IHistogramFactory* hf = af->createHistogramFactory(*tree);

     // Creating the histogram
     histo[0]=hf->createHistogram1D
                         ("1","Neutrons reaching detector with energies 0-1 keV",140,0.1,14.1);
     histo[1]=hf->createHistogram1D
                         ("2","Neutrons reaching detector with energies 1-100 keV",140,0.1,14.1);
     histo[2]=hf->createHistogram1D
                         ("3","Neutrons reaching detector with energies 100-1000 keV",140,0.1,14.1);
     histo[3]=hf->createHistogram1D
                         ("4","Neutrons reaching detector with energies more than 1 MeV",140,0.1,14.1);

     delete hf;
     G4cout << "\n----> Histogram tree is opened" << G4endl;
   }
 }
#endif  
}
When I reduce to 3 histograms the executable manages to run without memory errors.
Don't pay attention to parameters of Histogram1D's.

Thanks.

1 None: Re: memory error when creating many Histogram1D's   (Andreas Pfeiffer - 04 Jul, 2007)
1 None: Re: memory error when creating many Histogram1D's   (Victor - 04 Jul, 2007)
(_ None: Re: memory error when creating many Histogram1D's   (Andreas Pfeiffer - 04 Jul, 2007)
2 None: Re: memory error when creating many Histogram1D's   (Kazuyoshi Furutaka - 04 Jul, 2007)
1 None: Re: memory error when creating many Histogram1D's   (Andreas Pfeiffer - 04 Jul, 2007)
(_ None: Re: memory error when creating many Histogram1D's   (Kazuyoshi Furutaka - 04 Jul, 2007)
3 Ok: Re: memory error when creating many Histogram1D's   (Victor - 06 Jul, 2007)
Question Where can I get Java for Jaida?  by Victor_Makarov <Victor_Makarov>,   28 Jun, 2007

Hi guys. Untill now there was a very good tutorial dealing with JAIDA installation posted here: http://geant4.slac.stanford.edu/g4cd/August2005/Documentation/WorkshopExercises/Exercise5.html But seems to be they update... On that page there was a link for Java download (J.d.k. 1.5 if not mistaken). I can't find it by myself. Can You help? I use Scientific Linux 4.4. Thanks. And where was http://www-sldnt.slac.stanford.edu/G4CD moved to?

1 None: RE: Where can I get Java for Jaida?   (tony_johnson@slac.stanford.edu - 28 Jun, 2007)
(_ None: RE: Where can I get Java for Jaida?   (Joseph Perl - 28 Jun, 2007)
(_ None: RE: Where can I get Java for Jaida?   (tony_johnson@slac.stanford.edu - 28 Jun, 2007)
(_ None: RE: Where can I get Java for Jaida?   (Joseph Perl - 28 Jun, 2007)
(_ None: RE: Where can I get Java for Jaida?   (Victor - 28 Jun, 2007)
None Modifying histograms in TestEm3 example  Keywords: histograms
by Konstantinos Michael <Konstantinos Michael >,   15 Jun, 2007

Hi all,

I have successfully create the XML file type and read it with jas3(Thanks to Marks' advise!). I have also created the 4 types of histograms that testem3 can provide.

How can i create more types of histograms such as clouds for example?

Can i have examples A01 code as guide?

What class should i modify in testem3?

Thanks

 

1 None: Re: Modifying histograms in TestEm3 example   (Vladimir IVANTCHENKO - 15 Jun, 2007)
(_ None: Re: Modifying histograms in TestEm3 example   (Konstantinos Michael - 18 Jun, 2007)
1 None: Re: Modifying histograms in TestEm3 example   (Maria Grazia Pia - 18 Jun, 2007)
3 None: Re: Modifying histograms in TestEm3 example   (michel maire - 18 Jun, 2007)
5 None: Re: Modifying histograms in TestEm3 example   (Vladimir IVANTCHENKO - 19 Jun, 2007)
None Making some histograms for ROOT  by Adam <ax_blais@laurentian.ca>,   12 Jun, 2007

I am using the example found here: ftp://root.cern.ch/root/IcaG4.tar/gz

I transferred the Analysis.cc class to one of my own programs. I have set my environment variable, namely G4ANALYSIS_USE_ROOT = 1 but when running I get no histograms at all. It's as if the ROOT code isn't even there. I tried using a cout to figure out the problem, and it appears that my code is ignoring whatever is inside the "if defined".

You can see that my G4cout comes right after the if defined.

void ExN02Analysis::OnceAWhileDoIt(const G4bool DoItNow) {

  time_t Now = time(0); // get the current time (measured in seconds)
  if ( (!DoItNow) && (LastDoItTime > (Now - 10)) ) return; // every 10 seconds
  LastDoItTime = Now;

#if defined (G4ANALYSIS_USE_ROOT)
  G4cout << "ROOT IS BEING DONE" << G4endl;

  TVirtualPad *CurrentPad = gPad;

  const char OnceAWhileCanvas[] = "ExN02AnalysisCanvas";

  TCanvas *c = (TCanvas *)gROOT->GetListOfCanvases()->FindObject(OnceAWhileCanvas);

  if ( DoItNow && (!c) && ((G4RunManager::GetRunManager())->GetVerboseLevel() > 1) )
    {
      // first, try to make sure we do not run in batch mode
      if (!gApplication)
        new TApplication("Application", ((int *)0), ((char **)0));
      // then, create the TCanvas
      c = new TCanvas(OnceAWhileCanvas, OnceAWhileCanvas);
      if (c) {
        c->Divide(2,2);
        c->cd(1); if (hStepLength) hStepLength->Draw();
        c->cd(2); if (hStepTotELoss) hStepTotELoss->Draw();
        c->cd(3); if (hOPWaveLength) hOPWaveLength->Draw();
        c->cd(4); if (hTotELossNorm) hTotELossNorm->Draw();
        c->cd(0);
      }
    }

  if (c) {
    //c->cd(0);
    c->Draw();
    c->Update();
  }
  G4cout << "ROOT IS BEING DONE" << G4endl;
TFile f("g4hist.root", "new");
  hStepLength->Write();
  if (CurrentPad) CurrentPad->cd();

  if (gSystem) gSystem->ProcessEvents();

#endif /* defined (G4ANALYSIS_USE_ROOT) */ }

I get no output like this. However, if I put the cout before that line, like this:

void ExN02Analysis::OnceAWhileDoIt(const G4bool DoItNow)
{
  G4cout << "ROOT IS BEING DONE" << G4endl;

  time_t Now = time(0); // get the current time (measured in seconds)
  if ( (!DoItNow) && (LastDoItTime > (Now - 10)) ) return; // every 10 seconds
  LastDoItTime = Now;

#if defined (G4ANALYSIS_USE_ROOT)

  TVirtualPad *CurrentPad = gPad;

I get the output with this. I don't understand why this isn't working. Like I said, my environment variable is set so I don't know what's wrong.

None extended_hadronic_Hadr01 / OpenScientist-16.0 / empty histos in .hbook file   by Guy Barrand <Guy Barrand>,   24 May, 2007
   Hello

  We have seen, with Jean-Etienne Sauvestre of CEA, that on :

    extended/hadronic/Hadr01

 of the 8.2, the "hbook" persistency done by using
 the Zebra driver of OpenScientist-16.0 
 produces a p_pb_20gev.book files with empty histos !

  This comes from the fact that in this 
 example (see Histo::save() code), someone do :

  tree->commit();
  tree->close();
  for(G4int i=0; i<nHisto; i++) {
    if(histo[i]) histo[i]->reset();
  }

 That is to say, a reset() is done over the 
 histos after the commit.

  But, in the osc-16.0 Zebra driver, the
 "HROUT" is done in fact at the deletion
 of the tree (and not in the commit() or close()),
 and then AFTER the histo->reset() in this
 example, and then the empty histos in the file.

  I am going to correct that in OSC-16.1, but 
 if someone intends to clone Hadr01 by using
 OSC-16.0 + HBOOK, he must be aware of this problem.
 (The best is to comment out the histo[i]->reset()
 in the Histo::save() method and arrange to 
 use the Histo::reset() at beginOfRun()).

  From what I have seen, Hadr01 is the only example
 that does that (reset() the histos after the commit()).

  Else, anyway the Hadr01/Histo.cc code has to be corrected
 because the main IAnalysisFactory (the "af" object)
 is handled by an std::auto_ptr in the Histo::book()
 and then deleted at end of this method ; and as
 in OSC, the main analysis factory is the global manager
 of everything, then the AIDA objects booked in 
 this method will be deleted here too, and then
 someone will have a crash in later fill() because
 the objects are no more here ! (I think that 
 the same will happen by using JAIDA/AIDAJNI).
  If cloning this example, then arrange to 
 create (delete) the "af" in the Histo class
 constructor (destructor).

  Else, with the uppers corrected, the example
 runs nicely and I get a p_pb_20gev.hbook file
 with no more empty histos that I can plot 
 with CERN/PAW and opaw.

  Guy Barrand
1 None: Re: extended_hadronic_Hadr01 / OpenScientist-16.0 / empty histos in .hbook file   (Vladimir IVANTCHENKO - 24 May, 2007)
Question about installation of OpenScientist  Keywords: about installation of OpenScientist
by adk <adnank@uludag.edu.tr>,   18 May, 2007
Hello all of the geant4 users,

if i use some incorrect expressions by mistake, (in point of
programming language), so sorry right now...
I and my colleague use Linux OS (Scientific Linux 5 and Ubuntu 
respectively). I installed Geant4.8.3 version and my collegue installed Geant4.7.1 version on our computers. We have attempt to install
the new version of OpenScientist (osc_source_v16r0.zip)  to  do our 
data analysis yet, and we try to set up osc_vis kit inside 
the OpenScientest folder, 
following the " Build from Source " on OpenScientist web page, 
but it appears to an error message during compilation ( .sh/build ) 
like the following:
We also meet the same things in case of the other kits 
except for osc_batch kit.
 
[name @ localhost obuild]$ ./sh/build
build obuild/v1r0 ...
build foreign/v1r0 ...
build zlib/v1r114p3 ...
build expat/v1r11p6 ...
build Slash/v1r0p0 ...
build Lib/v8r0 ...
build HCL/v7r0 ...
build Midnight/v4r0p0 ...
build Minuit/v1r140p4 ...
build Rio/v7r1 ...
build HDF5/v1r165p2 ...
../src/H5Tconv.c: In function 'H5T_conv_uchar_short':
../src/H5Tconv.c:3927: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:3927: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:3927: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:3927: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:3927: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:3927: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:3927: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:3927: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c: In function 'H5T_conv_uchar_int':
../src/H5Tconv.c:4056: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4056: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4056: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4056: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4056: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4056: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4056: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4056: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c: In function 'H5T_conv_uchar_long':
../src/H5Tconv.c:4185: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4185: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4185: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4185: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4185: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4185: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4185: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4185: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c: In function 'H5T_conv_uchar_llong':
../src/H5Tconv.c:4317: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4317: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4317: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4317: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4317: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4317: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4317: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4317: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c: In function 'H5T_conv_ushort_int':
../src/H5Tconv.c:4647: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4647: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4647: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4647: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4647: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4647: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4647: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4647: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c: In function 'H5T_conv_ushort_long':
../src/H5Tconv.c:4779: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4779: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4779: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4779: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4779: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4779: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4779: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4779: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c: In function 'H5T_conv_ushort_llong':
../src/H5Tconv.c:4911: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4911: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4911: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4911: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4911: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4911: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4911: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:4911: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c: In function 'H5T_conv_uint_llong':
../src/H5Tconv.c:5496: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:5496: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:5496: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:5496: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:5496: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:5496: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:5496: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:5496: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c: In function 'H5T_conv_ulong_llong':
../src/H5Tconv.c:6079: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:6079: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:6079: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:6079: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:6079: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:6079: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:6079: warning: comparison is always false due to limited range of data type
../src/H5Tconv.c:6079: warning: comparison is always false due to limited range of data type
../src/H5V.c: In function 'H5V_hyper_disjointp':
../src/H5V.c:413: warning: comparison is always true due to limited range of data type
../src/H5V.c:414: warning: comparison is always true due to limited range of data type
build BatchLab/v1r0 ...
build UseAIDA/v1r0p2 ...
build osc_source/v16r0 ...
build jpeg/v1r62p1 ...
build dvi2bitmap/v1r0132p1 ...
build freetype2/v1r219p0 ...
build CoinGL/v1r244p0 ...
../src/nodes/SoExtSelection.cpp:351: error: extra qualification 'SoExtSelectionP::SelectionState::' on member 'SelectionState'
../src/nodes/SoExtSelection.cpp:359: error: extra qualification 'SoExtSelectionP::SelectionState::' on member 'SelectionState'

After these error messages, the process stops itself.

Both of us meet the same errors during compilation.

Could you please help us what is the problem or what can we do ?

yours sincerely.

              adnan.
1 None: Re: about installation of OpenScientist / g++-4.1   (Guy Barrand - 24 May, 2007)
None Aida and exA01 on x86_64  by Theo <Theo>,   03 May, 2007

Dear all

i have suse 10.2 64bit and just installed geant4.after installing jaida
 and aidajni tried to run example A01 (after compiling it successfully)
 and got this message which i have no idea what it means. 

An unexpected error has been detected by HotSpot Virtual Machine:

#
#  SIGSEGV (0xb) at pc=0x00002b758b0191b6, pid=6235, tid=47783893238560
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_08-b03 mixed mode)
# Problematic frame:
# C  [ld-linux-x86-64.so.2+0x91b6]
#
# An error report file with more information is saved as hs_err_pid6235.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted

Any ideas?Thanks in advance. theo

1 None: Re: Aida and exA01 on x86_64   (Mark Donszelmann - 03 May, 2007)
2 None: Re: Aida and exA01 on x86_64   (Theo - 03 May, 2007)
1 None: Re: Aida and exA01 on x86_64   (theo - 04 May, 2007)
(_ None: Re: Aida and exA01 on x86_64   (Mark Donszelmann - 04 May, 2007)
1 None: Re: Aida and exA01 on x86_64   (theo - 07 May, 2007)
...
4 None: Re: Aida and exA01 on x86_64   (theo - 07 May, 2007)
... 1 Message(s)
None run01.mac file needed for TestEm4  by Victor_Makarov <Victor_Makarov>,   28 Apr, 2007

I find no such file in my example directory. Perhaps, it's because someone forgot to add it in 4.8.2 version of Giant. I would be thankful for the file.

1 None: Re: run01.mac file needed for TestEm4   (michel maire - 29 Apr, 2007)
(_ Feedback: Re: run01.mac file needed for TestEm4   (Victor - 29 Apr, 2007)
(_ None: Re: run01.mac file needed for TestEm4   (michel maire - 02 May, 2007)
(_ None: Re: run01.mac file needed for TestEm4   (Victor - 05 May, 2007)
None linking error of example A01  Keywords: linking error,AIDA
by long <long>,   25 Apr, 2007
Dear Geatn4 experts, 
    When I tried to compile exampleA01, I met linking error as follows.
My geant4 is 8.2., aidajni-3.2.6 ,jaida-3.3.0-2. JRE1.5.0.

The error information:

Using granular libraries ...
Linking A01app ...

/home/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(ProxyFactory.o): In function `std::__simple_alloc<std::_Rb_tree_node<std::pair<long long const, void const*> >, std::__default_alloc_template<true, 0> >::allocate(unsigned int)':
ProxyFactory.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKxPKvEESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x25): undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
...........................
...........................
...........................
JIFitData.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKiPN4AIDA9IRangeSetEEESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS7_j+0x24): undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/aidajni-3.2.6/lib/i386-Linux-g++/libfreehep-aidajni-3.2.6.a(JIFitData.o): In function `std::__simple_alloc<std::_Rb_tree_node<std::pair<int const, AIDA::IRangeSet*> >, std::__default_alloc_template<true, 0> >::allocate(unsigned int)':
JIFitData.cpp:(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKiPN4AIDA9IRangeSetEEESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x28): undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
collect2: ld returned 1 exit status
make: *** [/home/work/gwork/bin/Linux-g++/A01app] Error 1

Some enviroment variable have been set:
AIDAJNI_HOME=/home/aidajni-3.2.6
AIDAJNI_LIBS=-L/home/aidajni-3.2.6/lib/i386-Linux-g++ -lfreehep-aidajni-3.2.6 -L/opt/jdk1.6.0_01/jre/lib/i386/client -ljvm
AIDAJNI_NAME=freehep-aidajni-3.2.6
AIDAJNI_VERSION=3.2.6
AIDAJNI_INCLUDES=-I/home/aidajni-3.2.6/include
AIDAJNI_AOL=i386-Linux-g++
JAIDA_HOME=/home/jaida-3.3.0-2

     Could you tell me how to solve this problem? Thank you very much!


-long

 
1 Question: linking error of example A01   (Katherin Shtejer Diaz - 27 Sep, 2007)
(_ None: Re: linking error of example A01   (Mark Donszelmann - 27 Sep, 2007)
(_ None: Re: linking error of example A01   (Katherin Shtejer Diaz - 27 Sep, 2007)
(_ None: Re: linking error of example A01   (Mark Donszelmann - 27 Sep, 2007)
(_ Feedback: Re: linking error of example A01   (Katherin Shtejer Diaz - 27 Sep, 2007)
(_ None: Re:Now A01 links but does not run   (Katherin Shtejer Diaz - 15 Oct, 2007)
(_ None: Re: Now A01 links but does not run   (Mark Donszelmann - 15 Oct, 2007)
(_ None: Re: Now A01 links but does not run   (Katherin Shtejer - 15 Oct, 2007)
(_ None: Re: Now A01 links but does not run   (Da - 16 Oct, 2007)
(_ None: Re: Now A01 links but does not run   (Katherin Shtejer Diaz - 16 Oct, 2007)
(_ None: Both A01 and Hadr01, link but run is aborted   (Katherin Shtejer Diaz - 25 Oct, 2007)
(_ Feedback: Re: Both A01 and Hadr01, link but run is aborted   (Katherin Shtejer Diaz - 09 Nov, 2007)
None Proble with OpenScientist v16r0   Keywords: OpenScientist
by Nicolas Chouin <nicolas.chouin@univ-nantes.fr>,   25 Apr, 2007

Hello,

I have changed my computer lately and have had to recompile Geant4.8.2 p01. I chose to install the new version of OpenScientist (v16.0) instead of v15.0 I used to use. Compilation is OK. But after I ran my first simulations I could not open the aida files with Jas3 and with programms I used to translate AIDA format into Excel format. Has anything changed in the format of AIDA files produced with OpenScientist (v16.0)?

Thank you for your help.

Nicolas Chouin. INSERM U601 Nantes, France.

1 None: Re: Proble with OpenScientist v16r0   (Guy Barrand - 26 Apr, 2007)
(_ Ok: Re: Proble with OpenScientist v16r0   (Nicolas Chouin - 26 Apr, 2007)
Question problems with getting histograms using JAIDA-3.2.4+AIDAJNI-3.2.3  Keywords: AIDA histograms
by Victor_Makarov <Victor_Makarov>,   25 Apr, 2007

I've examined the forum and found out that many people have encountered a problem of histogram files absence. But I've found no clear solution. Make histclean won't help. My situation is that I get a histogram using analysis A01 example. It's ok - I've got an output. But working with lots of Testem's I have nothing, though I've got message that the information has been written in a corresponding file. Please help!

1 None: Re: problems with getting histograms using JAIDA-3.2.4+AIDAJNI-3.2.3   (Konstantinos Michael - 11 May, 2007)
1 None: Re: problems with getting histograms using JAIDA-3.2.4+AIDAJNI-3.2.3   (Mark Donszelmann - 12 May, 2007)
2 None: Re: problems with getting histograms using JAIDA-3.2.4+AIDAJNI-3.2.3   (Mark Donszelmann - 14 May, 2007)
1 Ok: Re: problems with getting histograms using JAIDA-3.2.4+AIDAJNI-3.2.3   (Konstantinos Michael - 15 May, 2007)
... 5 Message(s)
Question How to connect OpenScientist to Geant4.8.2 (windows)?  by Victor_Makarov <Victor_Makarov>,   17 Apr, 2007

I installed OpenScientist for windows and Geant 4.8.2 and now I am attempting to run TestEm4 to get histogramms in output. And there's a problem - I can't connect AIDA of OpenScientist and Geant. I installed Geant first. So when I compile TestEm4 it tells me: aida-config: command not found Can I somehow do a connection without reinstalling Geant4. Or, if I reinstall Geant, will it work? I am using Windows and installed Openscientist for Windows too. Thanks.

1 None: Re: How to connect OpenScientist to Geant4.8.2 (windows)?   (Victor - 17 Apr, 2007)
4 None: osc_batch-CYGWIN-g++ binary kit.   (Guy Barrand - 26 Apr, 2007)
Question Geant4 with ROOT  by <sdreda@hotmail.com>,   29 Mar, 2007

 Dear sir,

I am a new user of Geant4 and Root( which are installed ) and i have some questions to anderstand somes examples of how to use histograms in order to built my program simulation. All the extendend/electromagnetic's examples have AIDA interfaces and i know that i must install PI ,openscientist or jas to use histograms; but if i want to use ROOT to generating histogramms; i don't no what must i do?

1- What is the relation between AIDA interface and ROOT? 2- Must i modifie all the example? 3- If i want to use ROOT, must i delete all links to AIDA interface in the axample? 4- If i want to manage my histograms in my program simulation using ROOT's interface, how and where in my Geant 4 simulation code should i store my data points?Should i store them in a file? with which format?

I'm grateful for your attention and i hope you can help. Best regards.

Question Geant4-AIDA crashes after upgrade to 8.2.p01  Keywords: AIDA, analysis, AIDAJNI
by Markus Horn <Markus Horn>,   19 Mar, 2007

Hello, After I upgraded to the latest G4-Version, somehow my simulations do crash quite often now and it seems to be connected to AIDA. I have a complex detector geometry and a lot of information about the simulation is stored in the *.aida file created by my HistoManager. I do not fully understand the output file, created by the crash, but they all seem very similar, except than some seem to crash at: libAIDAJNI.so: "Tree->commit", others "Tuple->addRow" or "Tuple->fill" I linked some of the log files at the end. I tried to minimize the file size by simulating less events per run, but this didnt help. Do I have some kind of memory problem ??? How can I give AIDA/AIDAJNI/JAIDA more heap space in a Geant4 simulation ??? It's also not platform dependent, since the same problem occurs on a SuSe Linux 9.3 a 10.0 and also on Kubuntu 6.10. Does it correlates to Java SDK 6 I also installed ???

Many thanks for any help.

Greetings, Markus

http://www-ik.fzk.de/~horn/G4data/hs_err_pid1025.log or http://www-ik.fzk.de/~horn/G4data/hs_err_pid12651.log

1 None: Re: Geant4-AIDA crashes after upgrade to 8.2.p01   (Mark Donszelmann - 19 Mar, 2007)
(_ None: Re: Geant4-AIDA crashes after upgrade to 8.2.p01   (Markus Horn - 19 Mar, 2007)
(_ None: Re: Geant4-AIDA crashes after upgrade to 8.2.p01   (Mark Donszelmann - 19 Mar, 2007)
(_ None: Re: Geant4-AIDA crashes after upgrade to 8.2.p01   (Markus Horn - 19 Mar, 2007)
(_ None: Re: Geant4-AIDA crashes after upgrade to 8.2.p01   (Mark Donszelmann - 19 Mar, 2007)
(_ None: Re: Geant4-AIDA crashes after upgrade to 8.2.p01   (Whitney Armstrong - 08 Nov, 2007)
Question Can I generate two .aida files?  by <jgzm6@umr.edu>,   14 Mar, 2007
Dear G4 programmers:
I try to introduce the GPS(Genaral Particle Source) into Brachytherapy
sample. I want to do the analysis for both the GPS and Brachy main 
code output. Two .aida files are expected in the output. 

aida part in BrachyAnalysisManager.cc is:

------------------------------------
void BrachyAnalysisManager::book() 
{ 
   // Instantiate the factories
  // The factories manage the analysis objects

  aFact = AIDA_createAnalysisFactory();
  AIDA::ITreeFactory *treeFact = aFact -> createTreeFactory(); 
  
  // Definition of the output file
  // G4String fileName = "brachytherapy.hbk";
  // theTree = treeFact -> create(fileName,"hbook",false, true);

  G4String fileName = OutputName;
  theTree = treeFact -> create(fileName,"xml",false, true,"compress=yes");

 // Instantiate the histogram and ntuple factories
  histFact = aFact -> createHistogramFactory( *theTree );
  tupFact  = aFact -> createTupleFactory    ( *theTree );
..................
 
----------------------------

aida part in exGPSAnalysisManager.cc is: 
----------------------------
void exGPSAnalysisManager::BeginOfRun() 
{ 

  // Hooking an AIDA compliant analysis system.
  analysisFactory = AIDA_createAnalysisFactory();
  if(analysisFactory){
    ITreeFactory* treeFactory = analysisFactory->createTreeFactory();
    tree = treeFactory->create(fileName,fileType,false,true,"compress=yes");
    hFactory = analysisFactory->createHistogramFactory(*tree);
    tFactory = analysisFactory->createTupleFactory(*tree);
    delete treeFactory; // Will not delete the ITree.
  }
..........

--------------------------------
Because both BrachyAnalysisManager.hh and exGPSAnalysisManager.hh are
included in the main code, two different .aida files with different name 
should be generated. While I run and gdb it, the exGPS.aida is generated
successfully. The Brachy.aida didn't come out. After gdb the code I 
found the pointer aFact in function ::book pointed to 0x0 and then
the code crashed. My question is  if the AIDA can generate two .aida 
files and what is wrong with my code.

thank you!
Gao     
1 None: Re: Can I generate two .aida files?   (Guy Barrand - 20 Mar, 2007)
None Open A01.aida  Keywords: analysis, aida
by <formatwindows@hotmail.com>,   13 Mar, 2007
I have the following analysis tools installed on my ScientificLinux 4.2,
ROOT, PAW & OpenScientist.

How can I open or run "A01.aida", which is produced by running the A01,
example from the analysis folder.

Does anyone have the precise syntax for executing the .aida file, from 
terminal ?

-Amori
1 None: RE: Open A01.aida   (tony_johnson@slac.stanford.edu - 13 Mar, 2007)
2 None: Re: Open A01.aida   (michel maire - 13 Mar, 2007)
4 None: Re: Open A01.aida   (Guy Barrand - 20 Mar, 2007)
1 None: Re: Open A01.aida   (Guy Barrand - 20 Mar, 2007)
Question Use Analysis in my example  Keywords: Analysis
by Konstantinos Michael <Konstantinos Michael >,   11 Mar, 2007
Hi every body,


I have run the examples in geant4 distribution including the A01 example 
using Jaida and Aidajni (and JAS3) and worked fine. Now i am trying to 
produce my own example -a quite simple example i must admit- and i don't 
know how to implement Jaida. I have tried  to create my alalysismanager 
class and modify my main() programme but it was pointless.

Please help me.
Thanks a lot.

Kostas
1 None: RE: Use Analysis in my example   (tony_johnson@slac.stanford.edu - 12 Mar, 2007)
(_ Note: RE: Use Analysis in my example   (Konstantinos Michael - 12 Mar, 2007)
(_ None: RE: Use Analysis in my example   (michel maire - 13 Mar, 2007)
Question Problem with Physics Interface (PI)?  Keywords: PI AIDA-compatible
by Shahrokh <Shahrokh>,   08 Mar, 2007
Hello friends;

I am trying to use Physics Interface (PiUltraLite-1.3.12) to analysis in
my application. At first, I decide to learn PI as much as possible, and
then I implement my application using with PI. 
To learn PI, I implement a running code that write out a file with xml 
format. This file includes N-tuple and some histograms. 
N-tuple is filled with random numbers and then the histograms are 
drawn using with N-tuple. It is compiled and run finely and created 
a file with the name of Gaussian.aida. This file is opened by jas3. 
For this purpose, I use packages as follows:

JAIDA-3.2.4
Jas3-0.8.2
AIDAJNI-3.2.3
Jdk-1_5_0

The file (gausAidaWrite.cc), that I compile and run, follows:

#include <iostream.h>
#include <cmath>

#include "AIDA/AIDA.h"

using namespace AIDA;

//prototype randgauss()
double randgauss(double, double, double, double);

//define randgauss()
double randgauss( double min, double max, double sigma, double center)
{
  double random= (min+ (max-min)*(double)rand()/RAND_MAX);

  double tmp=(random-center)/sigma;
  double gauss=std::exp(-tmp*tmp/2);
  return gauss;
}


int main()
{
	IAnalysisFactory *analysisFactory = AIDA_createAnalysisFactory();

	ITreeFactory *treeFactory = analysisFactory->createTreeFactory();

	ITree *tree = treeFactory->create("gaussian.aida", "xml", false, true);

	tree->mkdir("/tuples");
	tree->cd("/tuples");
	cout<<"path at now:"<<tree->pwd()<<endl;

//tuples
	ITupleFactory* tupleFactory = analysisFactory->createTupleFactory(*tree);

	ITuple* tuple = tupleFactory->create("tuplePhoton", "the characteristics of photons ", "double r1,  r2,  r3");


	for(int i=0; i<24; i++)
	{
		double r1=0.;
		double r2=0.;
		double r3=0.;
		double min=0., max=1.0, sigma=1.0, center=0.;
		r1=randgauss(min, max, sigma, center);
		r2=randgauss(min, max, sigma, center)+10;
		r3=randgauss(min, max, sigma, center)+100;
		tuple->fill(0,r1);
		tuple->fill(1,r2);
		tuple->fill(2,r3);
		tuple->addRow();
	}

	//read column 2 from tuple
	tuple->start();
	while(tuple->next())
	{
	   cout<<tuple->getDouble(2)<<endl;
      	}

	//histograms
	tree->mkdir("/histograms");
	tree->cd("/histograms");

	int Col1=tuple->findColumn("r1");
	int Col2=tuple->findColumn("r2");
	int Col3=tuple->findColumn("r3");

        IHistogramFactory *histoFactory = analysisFactory->createHistogramFactory(*tree);

        IHistogram1D* histo1DCol1 = histoFactory->createHistogram1D("test 1d","Some random distribution", 10000, tuple->columnMin(Col1),tuple->columnMax(Col1));
        IHistogram1D* histo1DCol2 = histoFactory->createHistogram1D("test 2d","Some random distribution", 10000, tuple->columnMin(Col2),tuple->columnMax(Col2));
        IHistogram1D* histo1DCol3 = histoFactory->createHistogram1D("test 3d","Some random distribution", 10000, tuple->columnMin(Col3),tuple->columnMax(Col3));

        tuple->start();
	while(tuple->next())
	{
	   histo1DCol1->fill(tuple->getDouble(Col1));
           histo1DCol2->fill(tuple->getDouble(Col2));
           histo1DCol3->fill(tuple->getDouble(Col3));
	}

        tree->commit();
	tree->close();

	delete analysisFactory;


	return 0;
}

As mentioned above, this code is run finely using with AIDAJNI and JAIDA. 
Nevertheless, when I run this code after doing the following commands, 
I get “segmentation fault” message. I compile this code finely and do not 
indicate that anything is wrong. 
My operating system is Scientific Linux 3.0.7 (Linux 2.4.21-40.EL i686 i686 i386 GNU/Linux).

[shahrokh@ws1 shahrokh]$ echo $HOME
/home/shahrokh
[shahrokh@ws1 shahrokh]$ mkdir $HOME/PiUltraLite-1.3.12
[shahrokh@ws1 shahrokh]$ cd ./PiUltraLite-1.3.12/
[shahrokh@ws1 PiUltraLite-1.3.12]$ tar zxf pi-1.3.12-UltraLite+HBook-slc3_ia32_gcc323.tgz
[shahrokh@ws1 PiUltraLite-1.3.12]$ cd /home/shahrokh/Desktop/EmailForPI/
[shahrokh@ws1 EmailForPI]$ g++ -c gausAidaWrite.cc -I${HOME}/PiUltraLite-1.3.12/include -Wno-deprecated
[shahrokh@ws1 EmailForPI]$ g++ -o gausAidaWrite gausAidaWrite.o -L${HOME}/PiUltraLite-1.3.12/lib   -llcg_AIDA_AnalysisFactory   -llcg_PluginManager   -llcg_SealBase   -llcg_AIDA_Plugin
[shahrokh@ws1 EmailForPI]$ export LD_LIBRARY_PATH=${HOME}/PiUltraLite-1.3.12/lib
[shahrokh@ws1 EmailForPI]$ export SEAL_PLUGINS=${HOME}/PiUltraLite-1.3.12/lib/modules
[shahrokh@ws1 EmailForPI]$ export PI_DIR=/home/shahrokh/PiUltraLite-1.3.12
[shahrokh@ws1 EmailForPI]$ export PYTHONPATH=/home/shahrokh/PiUltraLite-1.3.12/python/
[shahrokh@ws1 EmailForPI]$ ./gausAidaWrite
path at now:/tuples/
100.736
100.981
100.962
100.821
100.635
100.773
101
100.724
100.992
100.976
100.829
100.872
100.958
100.744
100.961
100.656
100.871
100.803
100.998
100.998
100.666
100.864
100.877
100.999
[shahrokh@ws1 EmailForPI]$ ./gausAidaWrite
Segmentation fault
[shahrokh@ws1 EmailForPI]$



As you see, at first time my executable code is run finely. 
Afterward I get “segmentation fault” message at all.  
In addition, when I debug my code using with gdb, I get the following result:

[shahrokh@ws1 EmailForPI]$ gdb gausAidaWrite
GNU gdb Red Hat Linux (6.3.0.0-1.90rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /home/shahrokh/Desktop/EmailForPI/gausAidaWrite
[Thread debugging using libthread_db enabled]
[New Thread -1218554560 (LWP 22106)]
path at now:/tuples/


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218554560 (LWP 22106)]
0x00df0f69 in pi::AIDA_Tuple_native::CompiledExpressionManager::findIncludePaths ()
   from /home/shahrokh/PiUltraLite-1.3.12/lib/liblcg_AIDA_Tuple_native.so
Current language:  auto; currently c++
(gdb) quit
The program is running.  Exit anyway? (y or n) y
[shahrokh@ws1 EmailForPI]$

Is PI compatible with JAS and OpenScientist? If ok, why do I get this message?
I believe that I can compile my code with each of the AIDA-compliant packages 
without need to change my code; but I do not sure. Is this ok?
What is the problem? There is not any other indication of error so I do not know how to proceed.

Please help me.
Thanks a lot.
Shahrokh.
None java.lang.NoClassDefFoundError  by Gabriel Sawakuchi <Gabriel Sawakuchi>,   19 Feb, 2007
Hi All,

I am having a crash with the following message:

### Run 0 start.

Exception in thread "main" java.lang.NoClassDefFoundError: hep/aida/IAnalysisFactory
IAnalysisFactory: Could not find class: hep/aida/IAnalysisFactory
FATAL ERROR in native method: JIAnalysisFactory: Could not find class hep.aida.IAnalysisFactory

I am using geant4.8.2 with aidajni-3.2.5 and jaida-3.3.0-2.
I have set and exported the aidajni and jaida variables as:

export JDK_HOME=/usr/java/j2sdk1.4.2_13
export JAIDA_HOME=$G4HERE/jaida-3.3.0-2
source $JAIDA_HOME/bin/aida-setup.sh
export AIDAJNI_HOME=$G4HERE/aidajni-3.2.5
source $AIDAJNI_HOME/bin/Linux-g++/aidajni-setup.sh

Does anyone know how to fix it?

Thanks,

Gabriel
1 None: Re: java.lang.NoClassDefFoundError   (Mark Donszelmann - 19 Feb, 2007)
(_ None: Re: java.lang.NoClassDefFoundError   (Gabriel Sawakuchi - 20 Feb, 2007)
(_ None: Re: java.lang.NoClassDefFoundError   (Gabriel Sawakuchi - 20 Feb, 2007)
(_ None: Re: java.lang.NoClassDefFoundError   (Mark Donszelmann - 23 Feb, 2007)
Question is the Matrix in the Hadrontheray compatible with G4PVDIvision?  Keywords: Matrix
by <jgzm6@umr.edu>,   14 Feb, 2007
Dear G4s:
I try to implant the Matrix from hadrontheray to Brachytherapy. Without
adding G4PVDivision it works, With G4PVDivision it doesn't. Is this normal 
or some thing wrong with my code.

thank you!
Gao    
Question .hbook .root incompatible with AIDA  Keywords: JAIDA version 3.2.4 .hbook files
by sauvestre <sauvestre>,   14 Feb, 2007

It seems that the version 3.2.1 of JAIDA does not support writing hbook files (from message n 91). Is it the same with version 3.2.4. If so, is it sure that PI and OpenScientist AIDA implementations can write out hbook files? thanks in advance

1 None: Re: .hbook .root incompatible with AIDA   (Maria Grazia Pia - 14 Feb, 2007)
3 None: Re: .hbook .root incompatible with AIDA   (Mark Donszelmann - 14 Feb, 2007)
1 Feedback: hbook .root writing files incompatible with JAIDA   (sauvestre - 15 Feb, 2007)
3 None: Re: .hbook .root incompatible with AIDA   (michel maire - 15 Feb, 2007)
1 None: Re: .hbook .root incompatible with AIDA   (Mark Donszelmann - 15 Feb, 2007)
... 3 Message(s)
None AIDA: maximum number of bins  by Gabriel Sawakuchi <Gabriel Sawakuchi>,   05 Feb, 2007
I am using AIDA for data analysis and my application crashes when 
the number of bins in my 1D histogram is larger than 1049. Is 
there a limitation for the maximum number of bins in AIDA?

Gabriel
1 None: RE: AIDA: maximum number of bins   (tony_johnson@slac.stanford.edu - 06 Feb, 2007)
(_ Feedback: RE: AIDA: maximum number of bins   (Gabriel Sawakuchi - 06 Feb, 2007)
Question G4 and JAS3 problem  Keywords: JAS3 G4 AIDA
by Cederik De León <Cederik De León>,   05 Feb, 2007

Hi all:

A have already running almost all the examples (geant4.8.2); when i run
 the  ./AnaEx01 it goes fine. 
Shows the Window with the analysis, then i close the program, and see
that the AnaEx01.aida was genetared by the example. 
When i try to load it with jas3 (jas3-0.8.2) an alert window 
say: "Error opening file" then details :

-------------
java.io.IOException: Error reading /home/cederik/geant4/bin/Linux-egcs/AnaEx01.aida
    at hep.aida.ref.xml.AidaXMLStore.read(AidaXMLStore.java:79)
    at hep.aida.ref.tree.Tree.init(Tree.java:1007)
    at hep.aida.ref.tree.TreeFactory.createTree(TreeFactory.java:181)
    at org.freehep.jas.extension.aida.AIDAPlugin$JAS3TreeFactory.createTree(AIDAPlugin.java:228)
    at hep.aida.ref.tree.TreeFactory.create(TreeFactory.java:113)
    at org.freehep.jas.extension.aida.AIDAPlugin.openFile(AIDAPlugin.java:105)
    at org.freehep.jas.extension.aida.AIDAPlugin.openFile(AIDAPlugin.java:100)
    at org.freehep.jas.plugin.basic.FileOpener.openFile(FileOpener.java:124)
    at org.freehep.jas.plugin.basic.FileOpener.access$100(FileOpener.java:38)
    at org.freehep.jas.plugin.basic.FileOpener$Commands.onOpenFile(FileOpener.java:229)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.freehep.util.commanddispatcher.CommandProcessor.invoke(CommandProcessor.java:124)
    at org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:161)
    at org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.doCommand(CommandProcessor.java:289)
    at org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:135)
    at org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.invoke(CommandProcessor.java:325)
    at org.freehep.util.commanddispatcher.CommandSourceAdapter.actionPerformed(CommandSourceAdapter.java:84)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1170)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1211)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6038)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
    at java.awt.Component.processEvent(Component.java:5803)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4410)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2429)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at org.freehep.jas.util.waitcursor.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:47)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
----------

Caused by:

____________

org.xml.sax.SAXParseException: Attribute "height" is required and must be specified for element type "bin1d".
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
    at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(XMLDTDValidator.java:1193)
    at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1940)
    at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:785)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1337)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    at hep.aida.ref.xml.AidaParser.parse(AidaParser.java:303)
    at hep.aida.ref.xml.AidaParser.parse(AidaParser.java:245)
    at hep.aida.ref.xml.AidaXMLStore.read(AidaXMLStore.java:75)
    at hep.aida.ref.tree.Tree.init(Tree.java:1007)
    at hep.aida.ref.tree.TreeFactory.createTree(TreeFactory.java:181)
    at org.freehep.jas.extension.aida.AIDAPlugin$JAS3TreeFactory.createTree(AIDAPlugin.java:228)
    at hep.aida.ref.tree.TreeFactory.create(TreeFactory.java:113)
    at org.freehep.jas.extension.aida.AIDAPlugin.openFile(AIDAPlugin.java:105)
    at org.freehep.jas.extension.aida.AIDAPlugin.openFile(AIDAPlugin.java:100)
    at org.freehep.jas.plugin.basic.FileOpener.openFile(FileOpener.java:124)
    at org.freehep.jas.plugin.basic.FileOpener.access$100(FileOpener.java:38)
    at org.freehep.jas.plugin.basic.FileOpener$Commands.onOpenFile(FileOpener.java:229)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.freehep.util.commanddispatcher.CommandProcessor.invoke(CommandProcessor.java:124)
    at org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:161)
    at org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.doCommand(CommandProcessor.java:289)
    at org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:135)
    at org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.invoke(CommandProcessor.java:325)
    at org.freehep.util.commanddispatcher.CommandSourceAdapter.actionPerformed(CommandSourceAdapter.java:84)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1170)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1211)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6038)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
    at java.awt.Component.processEvent(Component.java:5803)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4410)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2429)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at org.freehep.jas.util.waitcursor.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:47)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
---------------

Any suggestion ?

Best regards

Cederik L. De León A.

1 None: RE: G4 and JAS3 problem   (tony_johnson@slac.stanford.edu - 06 Feb, 2007)
(_ Feedback: RE: G4 and JAS3 problem   (Cederik De León - 06 Feb, 2007)
Question Analysis with Hadronic "Hadr01" extended example.  Keywords: Analysis, Histograms.
by Katherin Shtejer <kshtejer@if.usp.br>,   08 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 Question: Re: Analysis with Hadronic   (Lorena Magallanes - Aug 27, 02:36)
(_ None: Re: Analysis with Hadronic   (Paul Nicholas Colin Gloster - Aug 27, 03:58)
(_ Note: Re: Analysis with Hadronic   (Lorena Magallanes - Aug 27, 05:13)
(_ None: Re: Analysis with Hadronic   (Paul Nicholas Colin Gloster - Aug 27, 05:24)
Question what is the maxium copyNo value?  by <jgzm6@umr.edu>,   18 Dec, 2006
Dear G4s:
what is maxium copyNo in the Parameterisation? I want to add 10^15
particles with special geometry but it works only to 10^7 right now. 
this is not enough. how do I increase this number?
thanks
Gao 
1 None: Re: what is the maxium copyNo value?   (Vladimir IVANTCHENKO - 19 Dec, 2006)
(_ None: Re: what is the maxium copyNo value?   (jgzm6@umr.edu - 20 Dec, 2006)
Question Urgent help needed!!!  Keywords: brachytherapy memeory error
by <jgzm6@umr.edu>,   13 Dec, 2006
Dear G4s:
I encoutered the same problem as 136 in runnng the my modified brachytherapy 
examples. I am using the same jaida/jas3 as question 136 users. The events 
from 1000 to 500000 can be finished gracefully and I can see 
the brachytheray.aida file, but when I run 800000 
the code stoped with following memory error information.

..................................
..............................
### Run 0 start.
The iontuple is non-zero
number of events = 800000
output 115(1,1,5)
Exception in thread "main" java.lang.OutOfMemoryError
Out of memory while allocation: k
Exception in thread "main" java.lang.OutOfMemoryError
Exception in thread "main" java.lang.OutOfMemoryError
Out of memory while allocation: energy
Exception in thread "main" java.lang.OutOfMemoryError
Exception in thread "main" java.lang.OutOfMemoryError
Out of memory while allocation: k
Exception in thread "main" java.lang.OutOfMemoryError
............................
.......................

I just add the BrachyMatrix as following (I think the 
problem may come form here after output 115(1,1,5):

..........................
void BrachyMatrix::TotalEnergyDeposit()
{
  // Store the information of the matrix in a ntuple and in 
  // a 1D Histogram

  G4int k;
  G4int j;
  G4int i;
  
  if (matrix)
    {  
	for(G4int l = 0; l < numberVoxelZ; l++) 
	  {
	    k = l;
	    
	    for(G4int m = 0; m < numberVoxelY; m++) 
	      { 
		j = m * numberVoxelZ + k; 
		
		for(G4int n = 0; n <  numberVoxelX; n++)
		  {
		    i =  n* numberVoxelZ * numberVoxelY + j;
		    if(matrix[i] != 0)
		      {	
					
#ifdef G4ANALYSIS_USE 	
	BrachyAnalysisManager* analysis = BrachyAnalysisManager::getInstance();
        analysis -> FillEnergyDeposit(n, m, k, matrix[i]);
	
 // G4cout<<"output after FillEnergy"<<G4ThreeVector(n,k,matrix[i])
 //                                    <<G4endl;

			//	 analysis -> BraggPeak(n, matrix[i]);
#endif
		      }
		  }       
	      }
	  }
    }
}
................................................

thank you so much!
1 None: RE: Urgent help needed!!!   (tony_johnson@slac.stanford.edu - 13 Dec, 2006)
(_ None: RE: Urgent help needed!!!   (jgzm6@umr.edu - 13 Dec, 2006)
(_ None: RE: Urgent help needed!!!   (jgzm6@umr.edu - 14 Dec, 2006)
None Problem with TestEm5 histogramming   by ivanzim <ivanzim@mail.ru>,   12 Dec, 2006
I have Geant4 Release 4.8.0.p01 on WindowsXP, Microsoft Visual C++ 
2005 Express Edition, Cygwin  
> I downloaded OpenScientist from 
> http://OpenScientist.lal.in2p3.fr.
> I installed it in C:/OpenScientist and setuped it with CMD.exe as
> DOS> call <C:/OpenScientist/aida-setup.bat
>  When I make Testem5 I see the next:
**********************************************************************
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
Attempting to detect a Microsoft Visual Studio installation
Targeting Windows XP 32 DEBUG
ivan zim@ded ~
$ export G4WORKDIR=c:/g4work
ivan zim@ded ~
$ source c:/Geant4/geant4.8.0.p01/env.sh
On this machine the G4SYSTEM=WIN32-VC
On this machine the G4INSTALL=c:/Geant4/geant4.8.0.p01
On this machine the G4LIB=c:/Geant4/geant4.8.0.p01/lib
On this machine the G4LEVELGAMMADAT2.0]
On this machine the G4RADIOACTIVEDAT3.0]
On this machine the G4LEDATA=c:/Geant4/geant4.8.0.p01/data/G4EMLOW3.0
On this machine the NeutronHPCrossSections=c:/Geant4/geant4.8.0.p01/data/G4NDL3.
7
On this machine the G4ELASTICDATA=c:/Geant4/geant4.8.0.p01/data/G4ELASTIC1.1
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 G4LIB_BUILD_STATIC=1
On this machine the G4LIB_USE_GRANULAR=1
On this machine the G4UI_USE_TCSH=1
In your environment you have the G4WORKDIR=c:/g4work

ivan zim@ded ~
$ cd $G4WORKDIR/TestEm5

ivan zim@ded /cygdrive/c/g4work/TestEm5
$ cmd
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\g4work\TestEm5>call <c:\OpenScientist\aida-setup.bat

c:\g4work\TestEm5>exit

ivan zim@ded /cygdrive/c/g4work/TestEm5
$ make
Making dependency for file TestEm5.cc ...
g++: Lab: No such file or directory
g++: setup: No such file or directory
g++: not: No such file or directory
g++: executed.: No such file or directory
.
.
.
Making dependency for file src/HistoManager.cc ...
g++: Lab: No such file or directory
g++: setup: No such file or directory
g++: not: No such file or directory
g++: executed.: No such file or directory

src/HistoManager.cc:34:23: AIDA/AIDA.h: No such file or directory
Compiling DetectorConstruction.cc ...
Lab
c1xx : fatal error C1083: Cannot open source file: 'Lab': No such file or direct
ory
setup
c1xx : fatal error C1083: Cannot open source file: 'setup': No such file or dire
ctory
not
c1xx : fatal error C1083: Cannot open source file: 'not': No such file or direct
ory
executed.
c1xx : fatal error C1083: Cannot open source file: 'executed.': No such file or
directory
DetectorConstruction.cc
Generating Code...
make: *** [c:/g4work/tmp/WIN32-VC/TestEm5/DetectorConstruction.o] Error 2

ivan zim@ded /cygdrive/c/g4work/TestEm5
$  
***********************************************************************
What do I make wrong?
None Problem with TestEm5 histogramming   by ivanzim <ivanzim@mail.ru>,   12 Dec, 2006
I have Geant4 Release 4.8.0.p01 on WindowsXP.  
> I downloaded OpenScientist from 
> http://OpenScientist.lal.in2p3.fr.
> I installed it in C:/OpenScientist and setuped it with CMD.exe as
> DOS> call <C:/OpenScientist/aida-setup.bat
>  When I make Testem5 I see the next:
**********************************************************************
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
Attempting to detect a Microsoft Visual Studio installation
Targeting Windows XP 32 DEBUG
ivan zim@ded ~
$ export G4WORKDIR=c:/g4work
ivan zim@ded ~
$ source c:/Geant4/geant4.8.0.p01/env.sh
On this machine the G4SYSTEM=WIN32-VC
On this machine the G4INSTALL=c:/Geant4/geant4.8.0.p01
On this machine the G4LIB=c:/Geant4/geant4.8.0.p01/lib
On this machine the G4LEVELGAMMADAT2.0]
On this machine the G4RADIOACTIVEDAT3.0]
On this machine the G4LEDATA=c:/Geant4/geant4.8.0.p01/data/G4EMLOW3.0
On this machine the NeutronHPCrossSections=c:/Geant4/geant4.8.0.p01/data/G4NDL3.
7
On this machine the G4ELASTICDATA=c:/Geant4/geant4.8.0.p01/data/G4ELASTIC1.1
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 G4LIB_BUILD_STATIC=1
On this machine the G4LIB_USE_GRANULAR=1
On this machine the G4UI_USE_TCSH=1
In your environment you have the G4WORKDIR=c:/g4work

ivan zim@ded ~
$ cd $G4WORKDIR/TestEm5

ivan zim@ded /cygdrive/c/g4work/TestEm5
$ cmd
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\g4work\TestEm5>call <c:\OpenScientist\aida-setup.bat

c:\g4work\TestEm5>exit

ivan zim@ded /cygdrive/c/g4work/TestEm5
$ make
Making dependency for file TestEm5.cc ...
g++: Lab: No such file or directory
g++: setup: No such file or directory
g++: not: No such file or directory
g++: executed.: No such file or directory
.
.
.
Making dependency for file src/HistoManager.cc ...
g++: Lab: No such file or directory
g++: setup: No such file or directory
g++: not: No such file or directory
g++: executed.: No such file or directory

src/HistoManager.cc:34:23: AIDA/AIDA.h: No such file or directory
Compiling DetectorConstruction.cc ...
Lab
c1xx : fatal error C1083: Cannot open source file: 'Lab': No such file or direct
ory
setup
c1xx : fatal error C1083: Cannot open source file: 'setup': No such file or dire
ctory
not
c1xx : fatal error C1083: Cannot open source file: 'not': No such file or direct
ory
executed.
c1xx : fatal error C1083: Cannot open source file: 'executed.': No such file or
directory
DetectorConstruction.cc
Generating Code...
make: *** [c:/g4work/tmp/WIN32-VC/TestEm5/DetectorConstruction.o] Error 2

ivan zim@ded /cygdrive/c/g4work/TestEm5
$  
***********************************************************************
What do I make wrong?
Question TestEm11 analysis (glibc detected error)  Keywords: (glibc detected error
by <marco.dominietto@cern.ch>,   04 Dec, 2006

Hi, another problem.
I tried to use the TestEm11 example.
I have installed:
 - geant4.8.1.p02
 - JAIDA-3.2.4 
 - AIDAJNI-3.2.3. 

I compiled it succesfully (with ANALYSIS) but when I run the macro (TestEm11 run01.mac) I received the following message:

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

The example runs correctly with no analysis. What should I do?

Thank you

Marco D

Question .root .hbook files not created  Keywords: .root .hbook files non created
by <marco.dominietto@cern.ch>,   01 Dec, 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: .root .hbook files not created (further information)   (marco.dominietto@cern.ch - 04 Dec, 2006)
3 Question: Re: .root .hbook files not created   (sauvestre - 13 Feb, 2007)
1 More: Re: .root .hbook files not created   (sauvestre - 13 Feb, 2007)
None Can't compile Example A01 with AIDA under Cygwin on Windows  Keywords: Analysis Example A01
by John M <John M>,   08 Nov, 2006

I recently installed Geant4.8.1.p01 JAIDA-3.2.4 and AIDAJNI-3.2.3. I managed to get the example A01 to compile and run so long as I did not try to use the G4USEANALYSIS=1. Everytime I compile with this option I get a message

include/A01EventAction.hh:37:23: AIDA/AIDA.h: No such field or directory

This looks to be a simple problem. Any help is appreciated.

As an asside I can get Geant to export HEPREP files and if I could analyze these I would not need to use AIDA. But I would need to select (Make cuts) on the hits and energy deposited in various portions of the detector. Can this be done easily. I do not want to write vast amounts of code but rather use prepackaged routines preferably with examples to go by. I can get WIRED can read the HEPREP but I can't get it to histogram cuts of data.

Either solution would work for me

Thanks

1 None: Re: Can't compile Example A01 with AIDA under Cygwin on Windows   (Mark Donszelmann - 08 Nov, 2006)
3 None: Re: Can't compile Example A01 with AIDA under Cygwin on Windows   (Mark Donszelmann - 10 Nov, 2006)
Question JAIDA and AIDAJNI running error  Keywords: running Analysis erroe
by <jgzm6@umr.edu>,   27 Oct, 2006
Dear G4s:
it took us four days to figure out which implimentation of JAIDA and 
AIDAJNI should be installed. we following the instruction from QA 53.
But when I run A01 example. the error comes out. what is this aproblem?

----------------------------------------------------------
[jgao@dove1 A01]$ A01app

*************************************************************
 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
*************************************************************

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)
  VRML1 (VRML1)
  VRML2 (VRML2)

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

You are using the A01PhysicsList
Full set of particles (barions bosons and mesons) will be created and
Standard EM Physics and Low & High Energy parameterized models will be applied.
A01PhysicsList is optimized for robustness
and not for any particular usage.
For the hadronic physics, educated guesses of physics list are prepared for various use cases.
When you will start REAL calculations for your own interest,
please consider the usage of hadronic_lists instead of A01PhysicsLists.
More information can also be found from the Geant4 HyperNews.
http://geant4-hn.slac.stanford.edu:5090/Geant4-HyperNews/index


The materials defined are :

.................. omited   ...............
      wirePlane2Physical[0] wirePlane2Logical 0 ArgonGas /chamber2
    EMcalorimeterPhysical[0] EMcalorimeterLogical 1 CsI
      cellPhysical[-1] cellLogical 0 CsI /EMcalorimeter
    HadCalorimeterPhysical[0] HadCalorimeterLogical 1 Lead
      HadCalColumnPhysical[-1] HadCalColumnLogical 1 Lead
        HadCalCellPhysical[-1] HadCalCellLogical 1 Lead
          HadCalLayerPhysical[-1] HadCalLayerLogical 1 Lead
            HadCalScintiPhysical[0] HadCalScintiLogical 0 Scintillator /HadCalorimeter
Exception in thread "main" java.lang.NoClassDefFoundError: hep/aida/IAnalysisFactory
IAnalysisFactory: Could not find class: hep/aida/IAnalysisFactory
FATAL ERROR in native method: JIAnalysisFactory: Could not find class hep.aida.IAnalysisFactory
[jgao@dove1 A01]$
-----------------------------------------------------------
Does this mean our installation of JAIDA and AIDAJNI have problem?
I noticed somebody past the same information, but now responce.
thank you! 
1 None: RE: JAIDA and AIDAJNI running error   (tony_johnson@slac.stanford.edu - 27 Oct, 2006)
(_ None: RE: JAIDA and AIDAJNI running error   (jgzm6@umr.edu - 30 Oct, 2006)
(_ None: RE: JAIDA and AIDAJNI running error   (tony_johnson@slac.stanford.edu - 31 Oct, 2006)
(_ None: RE: JAIDA and AIDAJNI running error   (jgzm6@umr.edu - 31 Oct, 2006)
(_ None: RE: JAIDA and AIDAJNI running error   (tony_johnson@slac.stanford.edu - 01 Nov, 2006)
Question where is the aida-config file?  Keywords: aida-config
by <jgzm6@umr.edu>,   25 Oct, 2006
Dear G4s:
when I try to do the analysis in the Brachytheropy sample, I was asked for 
the aida-config. file. where is it? Our Linux is controled by the IS people 
of our department. they dolowned the aida for us. but they have only doc, src,
lib, tools director and I checked all of them. I didn't find and .sh or 
aida-config. file. I read the QA 53 but that case is different from ours.
please help!
1 None: Re: where is the aida-config file?   (jeremym@slac.stanford.edu - 26 Oct, 2006)
(_ None: Re: where is the aida-config file?   (jgzm6@umr.edu - 27 Oct, 2006)
None Distributed Computing using Geant4  by leo_ams2 <leo_ams2>,   13 Oct, 2006

Hi all,

I am trying to run Geant4 simulations into the CONDOR batch system. Is there anyone out there tried to do distributed computing using Geant4 because I want them to be run in batch.

Thanks in advance.

Sincerely, Leo

1 None: Re: Distributed Computing using Geant4   (Maria Grazia Pia - 13 Oct, 2006)
None Geant4 in parallel jobs  by leo_ams2 <leo_ams2>,   13 Oct, 2006

Hi all,

I am trying to run Geant4 simulations into the CONDOR batch system. Is there anyone out there tried to do distributed computing using Geant4 because I want them to be run in batch.

Thanks in advance.

Sincerely, Leo

Question Trying to use any analysis tool  Keywords: analysis A01 AnEx01
by michal <asher_michal@yahoo.com>,   26 Sep, 2006

Hi,

I'm trying to set an analysis system for geant 4.8.01. I've failed with both AIDAJNI3.2.3+JAIDA 3.2.3 and Openscientist v15r0 (lab).

for Openscientist v15r0, example AnaEx01 the error message in compilation is:

Linking AnaEx01 ... /home/simul1/geant4/source/Analysis/OpenScientist/v15r0/lib/libLabAnalysisFactory.so: could not read symbols: File in wrong format

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

so I tried to use version v14r0 instead, but it's installation failed .

for AIDAJNI3.2.3+JAIDA 3.2.3, example A01 I received :

Creating shared library /home/simul1/geant4/source/geant4/tmp/Linux-g++/A01app/libA01app.so ... Compiling A01app.cc ... Using granular libraries ... Linking A01app ... /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /home/simul1/geant4/source/Analysis/AIDAJNI-3.2.3/lib/Linux-g++2/libAIDAJNI.so when searching for -lAIDAJNI /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /home/simul1/geant4/source/Analysis/AIDAJNI-3.2.3/lib/Linux-g++2/libAIDAJNI.a when searching for -lAIDAJNI /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lAIDAJNI

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

my OS is suse 10

many thanks in advance for your help

michal

1 None: Re: Trying to use any analysis tool   (michel maire - 26 Sep, 2006)
3 None: Re: Trying to use any analysis tool   (Guy Barrand - 09 Oct, 2006)
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 Anaphe and TestEm1  by micheal <micheal>,   12 Sep, 2006

Hello,
       When I tries to compile TestEm1 I got his mssgs

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

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

None Anaphe and TestEm1  by micheal <micheal>,   12 Sep, 2006

Hello,
       When I tries to compile TestEm1 I got his mssgs

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

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

Question AIDAJNI JAIDA error when running application  Keywords: AIDAJNI AIDA JAIDA could not find AnalysisFactory
by Frédéric Guillaume <Frédéric Guillaume>,   12 Sep, 2006

Hi,

I tried to move from the 4.7 version of geant4 to the 4.8_01 but i got some issues... I would like to use aida analysis exactly like the example A01... I used AIDAJNI 3.2.4 and JAIDA 3.2.3

When compiling the example, i get no errors... But when i run the application, I obtain the following:

######################################################################

*************************************************************
 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
*************************************************************

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)

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

You are using the A01PhysicsList Full set of particles (barions bosons and mesons) will be created and Standard EM Physics and Low & High Energy parameterized models will be applied. A01PhysicsList is optimized for robustness and not for any particular usage. For the hadronic physics, educated guesses of physics list are prepared for various use cases. When you will start REAL calculations for your own interest, please consider the usage of hadronic_lists instead of A01PhysicsLists. More information can also be found from the Geant4 HyperNews. http://geant4-hn.slac.stanford.edu:5090/Geant4-HyperNews/index

The materials defined are :

***** Table : Nb of materials = 5 *****

 Material: ArgonGas     density:  1.782 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 109.708 m
   --->  Element: ArgonGas ( )   Z = 18.0   N =  40.0   A =  39.95 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: Oxigen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  30.00 %  ElmAbundance  27.29 %

 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:      CsI     density:  4.510 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.861 cm
   --->  Element: Iodine (I)   Z = 53.0   N = 126.9   A = 126.90 g/mole  ElmMassFraction:  50.00 %  ElmAbundance  51.15 %
   --->  Element: Cesium (Cs)   Z = 55.0   N = 132.9   A = 132.90 g/mole  ElmMassFraction:  50.00 %  ElmAbundance  48.85 %

 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 %

The geometrical tree defined are :

worldPhysical[0] worldLogical 3 Air
  magneticPhysical[0] magneticLogical 0 Air
  firstArmPhysical[0] firstArmLogical 20 Air
    hodoscope1Physical[0] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[1] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[2] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[3] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[4] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[5] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[6] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[7] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[8] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[9] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[10] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[11] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[12] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[13] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[14] hodoscope1Logical 0 Scintillator /hodoscope1
    chamber1Physical[0] chamber1Logical 1 ArgonGas
      wirePlane1Physical[0] wirePlane1Logical 0 ArgonGas /chamber1
    chamber1Physical[1] chamber1Logical 1 ArgonGas
      wirePlane1Physical[0] wirePlane1Logical 0 ArgonGas /chamber1
    chamber1Physical[2] chamber1Logical 1 ArgonGas
      wirePlane1Physical[0] wirePlane1Logical 0 ArgonGas /chamber1
    chamber1Physical[3] chamber1Logical 1 ArgonGas
      wirePlane1Physical[0] wirePlane1Logical 0 ArgonGas /chamber1
    chamber1Physical[4] chamber1Logical 1 ArgonGas
      wirePlane1Physical[0] wirePlane1Logical 0 ArgonGas /chamber1
  secondArmPhys[0] secondArmLogical 32 Air
    hodoscope2Physical[0] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[1] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[2] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[3] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[4] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[5] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[6] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[7] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[8] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[9] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[10] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[11] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[12] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[13] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[14] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[15] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[16] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[17] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[18] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[19] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[20] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[21] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[22] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[23] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[24] hodoscope2Logical 0 Scintillator /hodoscope2
    chamber2Physical[0] chamber2Logical 1 ArgonGas
      wirePlane2Physical[0] wirePlane2Logical 0 ArgonGas /chamber2
    chamber2Physical[1] chamber2Logical 1 ArgonGas
      wirePlane2Physical[0] wirePlane2Logical 0 ArgonGas /chamber2
    chamber2Physical[2] chamber2Logical 1 ArgonGas
      wirePlane2Physical[0] wirePlane2Logical 0 ArgonGas /chamber2
    chamber2Physical[3] chamber2Logical 1 ArgonGas
      wirePlane2Physical[0] wirePlane2Logical 0 ArgonGas /chamber2
    chamber2Physical[4] chamber2Logical 1 ArgonGas
      wirePlane2Physical[0] wirePlane2Logical 0 ArgonGas /chamber2
    EMcalorimeterPhysical[0] EMcalorimeterLogical 1 CsI
      cellPhysical[-1] cellLogical 0 CsI /EMcalorimeter
    HadCalorimeterPhysical[0] HadCalorimeterLogical 1 Lead
      HadCalColumnPhysical[-1] HadCalColumnLogical 1 Lead
        HadCalCellPhysical[-1] HadCalCellLogical 1 Lead
          HadCalLayerPhysical[-1] HadCalLayerLogical 1 Lead
            HadCalScintiPhysical[0] HadCalScintiLogical 0 Scintillator /HadCalorimeter
Exception in thread "main" java.lang.InternalError
        at java.util.zip.Inflater.init(Native Method)
        at java.util.zip.Inflater.<init>(Inflater.java:75)
        at java.util.zip.ZipFile.getInflater(ZipFile.java:375)
        at java.util.zip.ZipFile.getInputStream(ZipFile.java:320)
        at java.util.zip.ZipFile.getInputStream(ZipFile.java:286)
        at java.util.jar.JarFile.hasClassPathAttribute(JarFile.java:467)
        at java.util.jar.JavaUtilJarAccessImpl.jarFileHasClassPathAttribute(JavaUtilJarAccessImpl.java:15)
        at sun.misc.URLClassPath$JarLoader.getClassPath(URLClassPath.java:809)
        at sun.misc.URLClassPath.getLoader(URLClassPath.java:293)
        at sun.misc.URLClassPath.getResource(URLClassPath.java:160)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
IAnalysisFactory: Could not find class: hep/aida/IAnalysisFactory
FATAL ERROR in native method: JIAnalysisFactory: Could not find class hep.aida.IAnalysisFactory

#########################################################################

I have the feeling that jaida and aidajni are not well installed ... I also forgot to say that i am using a 64 bit system. I tried to install every application for a 64 architecture. However, i could not find the way to do it for jaida (i only untar the file) and clhep (i m lost with autotools and all that stuff!!!).

Regards, Fred

None undeclared variables in Analysis code  Keywords: Analysis, undeclared variables, example A01
by David <David>,   11 Sep, 2006

Hi,

I've recently set up Geant4 and installed JAIDA etc and it all works fine. I'm now trying to display some histograms. My EventAction code is nearly identical to that in the Analysis A01 example, however, when trying to compile the code it says my plotter, tuple and histogram objects are undeclared. These objects are undeclared in the A01EventAction.cc example, yet this code compiles and works properly. These objects are also private data members, so I don't see how they can be directly accessed in the A01 example. Does anyone know what I am missing or doing wrong? Thanks, David

Question problem with XML file  Keywords: problem reading xml file
by maddalena antonello <maddalena.antonello@lngs.infn.it>,   08 Sep, 2006

Hi,

I have a problem in reading an xml file. I produce this file with my G4 application. As interface G4 and aida I use Open Scientist, but before now I used to use anaphe. After this change I could compile my code without changing anything and without problems (is the G4 code invariant over analysis interface changing?).

My problem is that jas3 can't read this file.

Do you please have a suggestion?

thank you in advance

Maddalena

PS: if it is useful this is the Jas3 Exception:

    java.io.IOException: Error reading /raidicarus/G4T300/ICAT300FIN_PAPER/ANAtest.aida
    at hep.aida.ref.xml.AidaXMLStore.read(AidaXMLStore.java:79)
    at hep.aida.ref.tree.Tree.init(Tree.java:1007)
    at hep.aida.ref.tree.TreeFactory.createTree(TreeFactory.java:181)
    at org.freehep.jas.extension.aida.AIDAPlugin$JAS3TreeFactory.createTree(AIDAPlugin.java:228)
    at hep.aida.ref.tree.TreeFactory.create(TreeFactory.java:113)
    at org.freehep.jas.extension.aida.AIDAPlugin.openFile(AIDAPlugin.java:105)
    at org.freehep.jas.extension.aida.AIDAPlugin.openFile(AIDAPlugin.java:100)
    at org.freehep.jas.plugin.datasource.FileHandlerDataSource$FHWizardPage.onFinish(FileHandlerDataSource.java:57)
    at org.freehep.swing.wizard.WizardDialog.onFinish(WizardDialog.java:229)
    at org.freehep.swing.wizard.WizardDialog.actionPerformed(WizardDialog.java:122)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at org.freehep.jas.util.waitcursor.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:47)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog$1.run(Dialog.java:540)
    at java.awt.Dialog.show(Dialog.java:561)
    at java.awt.Component.show(Component.java:1133)
    at java.awt.Component.setVisible(Component.java:1088)
    at org.freehep.jas.plugin.datasource.DataSourcePlugin$Commands.onDataSource(DataSourcePlugin.java:45)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.freehep.util.commanddispatcher.CommandProcessor.invoke(CommandProcessor.java:124)
    at org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:161)
    at org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.doCommand(CommandProcessor.java:289)
    at org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:135)
    at org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.invoke(CommandProcessor.java:325)
    at org.freehep.util.commanddispatcher.CommandSourceAdapter.actionPerformed(CommandSourceAdapter.java:84)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
    at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at org.freehep.jas.util.waitcursor.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:47)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Caused by:

org.xml.sax.SAXParseException: Attribute "default" is not declared for element "column".
    at org.apache.crimson.parser.Parser2.error(Parser2.java:3317)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1558)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1926)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1654)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1926)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1654)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1926)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1654)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:634)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
    at hep.aida.ref.xml.AidaParser.parse(AidaParser.java:303)
    at hep.aida.ref.xml.AidaParser.parse(AidaParser.java:245)
    at hep.aida.ref.xml.AidaXMLStore.read(AidaXMLStore.java:75)
    at hep.aida.ref.tree.Tree.init(Tree.java:1007)
    at hep.aida.ref.tree.TreeFactory.createTree(TreeFactory.java:181)
    at org.freehep.jas.extension.aida.AIDAPlugin$JAS3TreeFactory.createTree(AIDAPlugin.java:228)
    at hep.aida.ref.tree.TreeFactory.create(TreeFactory.java:113)
    at org.freehep.jas.extension.aida.AIDAPlugin.openFile(AIDAPlugin.java:105)
    at org.freehep.jas.extension.aida.AIDAPlugin.openFile(AIDAPlugin.java:100)
    at org.freehep.jas.plugin.datasource.FileHandlerDataSource$FHWizardPage.onFinish(FileHandlerDataSource.java:57)
    at org.freehep.swing.wizard.WizardDialog.onFinish(WizardDialog.java:229)
    at org.freehep.swing.wizard.WizardDialog.actionPerformed(WizardDialog.java:122)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at org.freehep.jas.util.waitcursor.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:47)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog$1.run(Dialog.java:540)
    at java.awt.Dialog.show(Dialog.java:561)
    at java.awt.Component.show(Component.java:1133)
    at java.awt.Component.setVisible(Component.java:1088)
    at org.freehep.jas.plugin.datasource.DataSourcePlugin$Commands.onDataSource(DataSourcePlugin.java:45)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.freehep.util.commanddispatcher.CommandProcessor.invoke(CommandProcessor.java:124)
    at org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:161)
    at org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.doCommand(CommandProcessor.java:289)
    at org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:135)
    at org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.invoke(CommandProcessor.java:325)
    at org.freehep.util.commanddispatcher.CommandSourceAdapter.actionPerformed(CommandSourceAdapter.java:84)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
    at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at org.freehep.jas.util.waitcursor.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:47)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

1 None: RE: problem with XML file   (tony_johnson@slac.stanford.edu - 08 Sep, 2006)
2 None: Re: problem with XML file   (Guy Barrand - 11 Sep, 2006)
4 None: Re: problem with XML file   (Guy Barrand - 10 Oct, 2006)
Question Untitled  Keywords: AIDA, TestEm5, Mac OS X 10.4.7
by Matti Vallinkoski <matti.vallinkoski@micropolis.fi>,   29 Aug, 2006
I am a novice using Mac OS X 10.4.7 and gcc 4.0.1 and GEANT4 8.1p01. 
I have tested most novice examples successfully with only trivial problems.

However, after installing JAIDA and AIDAJNI binaries from the SLAC GEANT CD-4.7.1-5.0, 
I cannot compile TestEm5. The compilation ends with the message:

Compiling TestEm5.cc ...
warning: this program uses gets(), which is unsafe.
Using granular libraries ...
Linking TestEm5 ...
/usr/bin/ld: Undefined symbols:
_AIDA_createAnalysisFactory
collect2: ld returned 1 exit status
make: *** [/Applications/GEANT_WORK/bin/Darwin-g++/TestEm5] Error 1

(The same error message as in message 185 in this forum)

I have recompiled and tested  A01 during the same session with JAIDA and AIDAJNI and 
tested the histograms in JAS, so I think my environment variables are correct. 
But one at least seems to be missing or the JAIDA/AIDAJNI installation is not correct for
TestEm5.

Any suggestions?

Matti Vallinkoski
1 Idea: Re: testem5 and aida   (Holger Gottschlag - 28 Sep, 2006)
None angular distribution at production and at detector  by James <morris.570@osu.edu>,   08 Aug, 2006
I would like histograms of both the angular distribution of tracks at
production and over my extreme forward detector.  I can produce root
plots now, but I'm not quite sure how to get these distributions. 
(Or any angular distributions in general).
  I was
looking through the class references.  Is there any examples of this that I may
have missed?


Question files for histogramming  Keywords: histogramming files of TestEm4
by Morthekai <Morthekai>,   24 Jul, 2006

Hi,

I am using Geant4.8.p01. I could successfully run and see the histogram for the example A01. I followed exactly the Readme file of that example. But when I try for TestEm4 and 7 from the examples, I couldn't see any *.hbook or *.xml or *.aida file anywhere. I have selected G4ANALYSIS_USE to True. I could visualize with OpenGL. I don't know how to use PAW. Please help me in this problem. What should I do?

My OS is RH 3.4.3-9 EL4 and the compiler gcc 3.4.3. I am using Java SDK 1.4.2_10, AIDAJNI-3.2.1, JAIDA-3.2.1, jas3-0.7.4 and PI-1.3.12.

I struggled for 3 days, I could not solve. Please give me the directions.

Thank you so much,

Regards, Morthekai

1 Question: Re: files for histogramming   (Morthekai - 02 Aug, 2006)
(_ None: Re: files for histogramming   (Vladimir IVANTCHENKO - 02 Aug, 2006)
(_ Question: Re: files for histogramming   (Morthekai - 02 Aug, 2006)
(_ Question: Re: files for histogramming   (Holger Gottschlag - 21 Sep, 2006)
None Full Run Histogramming?  by Theo DuBose <Theo DuBose>,   11 Jul, 2006

Is there a way to generate distinct histograms (using ROOT elements put in G4 code) for every step a particle or set of particles take? Or can I separate the World into discrete slices in which I can histogram the energy of all the particles? (Note that I do not want to get edep but instead want to get the energy of the particle itself.)

Thanks,

Theo

1 None: Re: Full Run Histogramming?   (Vladimir IVANTCHENKO - 11 Jul, 2006)
Question A01.aida ??  Keywords: don't know where A01.aida file
by Morthekai <Morthekai>,   26 Jun, 2006

Hi,

I could run the A01 executable without any error. I have, for analysis, AIDAJNI-3.2.1 and have set the envoronment properly. I have JAS3 also. After running successfully, I couldn't see the A01.aida file. Is there any problem? If anybody think I haven't given enough information, that is because I don't know what else to give. Please if you had any such problem please share.

Thank you,

Regards, Morthekai

Question Geant4 to Root without AIDA  Keywords: Root, G4UIRoot, Geant4
by Theo DuBose <Theo DuBose>,   14 Jun, 2006

Is it possible to directly fill a root histogram from geant4 using G4UIRoot or some other method without having to install the AIDA interfaces, etc.?

1 None: Re: Geant4 to Root without AIDA   (Ivana Hrivnacova - 14 Jun, 2006)
1 None: Re: Geant4 to Root without AIDA   (Theo DuBose - 14 Jun, 2006)
(_ None: Re: Geant4 to Root without AIDA   (Ivana Hrivnacova - 14 Jun, 2006)
(_ None: Re: Geant4 to Root without AIDA   (Theo DuBose - 14 Jun, 2006)
(_ None: Re: Geant4 to Root without AIDA   (Theodore DuBose - 10 Jul, 2006)
3 None: Re: Geant4 to Root without AIDA   (David White - 25 Jul, 2006)
1 None: Re: Geant4 to Root without AIDA   (Ivana Hrivnacova - 27 Jul, 2006)
None Need help to solve AIDA error when A01 runs  Keywords: AIDA INSTALLTION problem
by jolly <li_zhao2004@hotmail.com>,   07 Jun, 2006
Hi, All
  I am trying to get AIDA installed . The GEANT4 installation is fine . I have no prblem to run the novice examples. I followed the instruction below 
http://geant4.slac.stanford.edu/g4cd/March2004/Documentation/WorkshopExercises/Exercise5.html

export JDK_HOME=/home/jolly/download/j2sdk1.4.2_01
export JAIDA_HOME=/home/jolly/download/JAIDA-3.2.1
source $JAIDA_HOME/bin/aida-setup.sh
export AIDAJNI_HOME=/home/jolly/download/AIDAJNI-3.2.1
source $AIDAJNI_HOME/bin/Linux-g++/aidajni-setup.sh
export G4ANALYSIS_USE=1
export G4VIS_USE_OPENGLX=
export G4VIS_USE_OPENGLXM=
cd /home/jolly/Geant4/geant4.5.0
cd examples/advanced/analysis
cd A01
make clean
make

The result is 
Making dependency for file A01app.cc...
Making dependency for file src/DummyAnalysisFactory.cc ...
Making dependency for file src/A01VisManager.cc ...
Making dependency for file src/A01Trajectory.cc ...
Making dependency for file src/A01TrackingAction.cc ...
Making dependency for file src/A01PrimaryGeneratorMessenger.cc ...
Making dependency for file src/A01PrimaryGeneratorAction.cc ...
Making dependency for file src/A01PhysicsList.cc ...
Making dependency for file src/A01MuonPhysics.cc ...
Making dependency for file src/A01MagneticFieldMessenger.cc ...
Making dependency for file src/A01MagneticField.cc ...
Making dependency for file src/A01IonPhysics.cc ...
Making dependency for file src/A01HodoscopeHit.cc ...
Making dependency for file src/A01Hodoscope.cc ...
Making dependency for file src/A01HadronPhysics.cc ...
Making dependency for file src/A01HadCalorimeterHit.cc ...
Making dependency for file src/A01HadCalorimeter.cc ...
Making dependency for file src/A01GeneralPhysics.cc ...
Making dependency for file src/A01EventActionMessenger.cc ...
Making dependency for file src/A01EventAction.cc ...
Making dependency for file src/A01EMPhysics.cc ...
Making dependency for file src/A01EmCalorimeterHit.cc ...
Making dependency for file src/A01EmCalorimeter.cc ...
Making dependency for file src/A01DriftChamberHit.cc ...
Making dependency for file src/A01DriftChamber.cc ...
Making dependency for file src/A01DetectorConstruction.cc ...
Making dependency for file src/A01DetectorConstMessenger.cc ...
Making dependency for file src/A01CellParameterisation.cc ...
Making dependency for file src/A01AnalysisManager.cc ...
Compiling A01AnalysisManager.cc ...
Compiling A01CellParameterisation.cc ...
Compiling A01DetectorConstMessenger.cc ...
Compiling A01DetectorConstruction.cc ...
Compiling A01DriftChamber.cc ...
Compiling A01DriftChamberHit.cc ...
Compiling A01EmCalorimeter.cc ...
Compiling A01EmCalorimeterHit.cc ...
Compiling A01EMPhysics.cc ...
Compiling A01EventAction.cc ...
Compiling A01EventActionMessenger.cc ...
Compiling A01GeneralPhysics.cc ...
Compiling A01HadCalorimeter.cc ...
Compiling A01HadCalorimeterHit.cc ...
Compiling A01HadronPhysics.cc ...
Compiling A01Hodoscope.cc ...
Compiling A01HodoscopeHit.cc ...
Compiling A01IonPhysics.cc ...
Compiling A01MagneticField.cc ...
Compiling A01MagneticFieldMessenger.cc ...
Compiling A01MuonPhysics.cc ...
Compiling A01PhysicsList.cc ...
Compiling A01PrimaryGeneratorAction.cc ...
Compiling A01PrimaryGeneratorMessenger.cc ...
Compiling A01TrackingAction.cc ...
Compiling A01Trajectory.cc ...
Compiling A01VisManager.cc ...
Compiling DummyAnalysisFactory.cc ...
Creating/replacing object files in /home/jolly/Geant4/geant4.5.0/tmp/Linux-g++/A01app/libA01app.a
Compiling A01app.cc ...
Using global libraries.
Linking A01app ...
/home/jolly/Geant4/geant4.5.0/tmp/Linux-g++/A01app/libA01app.a(A01AnalysisManager.o)(.text+0x2b): In function `A01AnalysisManager::A01AnalysisManager[not-in-charge]()':
: undefined reference to `AIDA_createAnalysisFactory'
/home/jolly/Geant4/geant4.5.0/tmp/Linux-g++/A01app/libA01app.a(A01AnalysisManager.o)(.text+0x235): In function `A01AnalysisManager::A01AnalysisManager[in-charge]()':
: undefined reference to `AIDA_createAnalysisFactory'
collect2: ld returned 1 exit status
make: *** [/home/jolly/Geant4/geant4.5.0/bin/Linux-g++/A01app] Error 1

Is there anybody can tell me how to fix the problem of undefined reference to 'AIDA_createAnalysisFactory'?
I do appreciate it!
1 More: Need help to solve AIDA error when A01 runs   (Morthekai - 26 Jun, 2006)
3 Idea: Re: Need help to solve AIDA error when A01 runs   (Morthekai - 26 Jun, 2006)
Question How to get the statistical error of the simulation?  Keywords: statistical error
by Shahrokh <Shahrokh>,   26 May, 2006
Hi,

I have simulated the head of linear accelerator and the cube of the water 
that was used to calculate dose distribution (energy deposited per unit mass of matter). 
I can get Monte Carlo calculated dose distribution in water, but I do not 
know how to calculate the statistical error of the simulation. 
How can I evaluate the statistical error of the simulation?

Please help me,
Thanks a lot,
Shahrokh. 
Question Problems with Open Scientific in SLC4 for hbook files  by Sandro Fonseca (UERJ/Brazil) <sandro.fonseca@cern.ch>,   11 May, 2006

Dear Guy Barrand,

My name is Sandro Fonseca and I am PhD braziliam student and I worked with Maria Grazia Pia in Radmon simulation (http://www.ge.infn.it/geant4/hep/radmon/). I installed Geant4.8.0_patch1 and OpenScientist version 15r0 with SLC4. I had some problems when I tried build Hbook files with my outputs but It did not work. Can you look error message below:

##################################################

Lib::DLL::DLL : can't load LabZebra library.
Lib::DLL::DLL : error  : libLabZebra.so: cannot open shared object file: No such file or directory
Lab::TreeFactory::loadTree : unable to add a DLL
Lab::TreeFactory::create : can't create "analysis_test.hbook".
 This is probably because the Lab Zebra driver had not been reconstructed on this installation.
 We try to proceed by creating the AIDA compressed xml file "analysis_test.aida"...
Lab::MemoryTuple::MemoryTuple : column int already exists
RadmonApplicationEventNumbering::OnBeginOfEvent: Begin of event 0.
Lab::MemoryTuple::fill(int) : column -1 not found.
Lab::MemoryTuple::fill(int) : column -1 not found.
Lab::MemoryTuple::fill(double) : column -1 not found.
Lab::MemoryTuple::fill(int) : column -1 not found.
Lab::MemoryTuple::fill(int) : column -1 not found.
##################################################

I do not understand this error message: "Lab::MemoryTuple::fill(int) : column -1 not found" ,because I tried use other output files with root files or Xml files and I showed same message. Therefore, I found you suggestion in Geant4 Forum and I was rebuilding LabZebra but It did not work. Can you look other error message below:

###########################################

[root@m36-dfnae v15r0]# cd Lab/v11r1/cmt/

[root@m36-dfnae cmt]# make Zebra

------> (Makefile.header) Rebuilding constituents.make

------> (constituents.make) Rebuilding setup.make Linux-i686.make

CMTCONFIG=Linux-i686

../Linux-i686/Lab_setup.make untouched

setup.make ok

------> (constituents.make) Rebuilding library links

------> (constituents.make) Building LabZebra.make

Library LabZebra

------> (constituents.make) Starting LabZebra

cd ../Linux-i686/; QUIET=; /usr/local/OpenScientist/v15r0/CMT/v1r18p20050501/mgr/cmt_make_shlib_common.sh extract "Linux-i686," LabZebra -L/cern/pro/lib -lmathlib -lpacklib -L/usr/local/lib -lshift -lnsl -lcrypt -ldl -lg2c -L/usr/local/OpenScientist/v15r0/Lab/v11r1/Linux-i686 -lLabCore -L/usr/local/OpenScientist/v15r0/Minuit/v1r140p3/Linux-i686 -losc_Minuit -L/usr/local/OpenScientist/v15r0/Midnight/v3r1p2/Linux-i686 -lMidnight -L/usr/local/OpenScientist/v15r0/HCL/v6r2/Linux-i686 -lHCL -L/usr/local/OpenScientist/v15r0/Lib/v7r3/Linux-i686 -lLibUtils -ldl -lm

g++ -shared -o libLabZebra.so "LabZebratemp_shlib/CHBOOK.o" "LabZebratemp_shlib/close.o" "LabZebratemp_shlib/hntvar2.o" "LabZebratemp_shlib/setpawc.o" "LabZebratemp_shlib/ZebraHistogram.o" "LabZebratemp_shlib/ZebraManager.o" "LabZebratemp_shlib/Zebra.o" "LabZebratemp_shlib/ZebraTree.o" "LabZebratemp_shlib/ZebraTuple.o" -L/cern/pro/lib -lmathlib -lpacklib -L/usr/local/lib -lshift -lnsl -lcrypt -ldl -lg2c -L/usr/local/OpenScientist/v15r0/Lab/v11r1/Linux-i686 -lLabCore -L/usr/local/OpenScientist/v15r0/Minuit/v1r140p3/Linux-i686 -losc_Minuit -L/usr/local/OpenScientist/v15r0/Midnight/v3r1p2/Linux-i686 -lMidnight -L/usr/local/OpenScientist/v15r0/HCL/v6r2/Linux-i686 -lHCL -L/usr/local/OpenScientist/v15r0/Lib/v7r3/Linux-i686 -lLibUtils -ldl -lm

/usr/bin/ld: cannot find -lshift

collect2: ld returned 1 exit status

make[3]: *** [../Linux-i686/libLabZebra.so] Error 1

make[2]: *** [LabZebra] Error 2

make[1]: *** [common_target] Error 2

make: *** [Zebra] Error 2

#################################

Please you, Would you help me with this problems?

Cheers, Sandro Fonseca

Question PI1.3.12 in SLC4  by Sandro Fonseca (UERJ/Brazil) <sandro.fonseca@cern.ch>,   05 May, 2006

Dear all,

I have trouble with PI 1.3.12 in SLC4. I am description error messager below:

 File "/opt/sw/lcg/app/releases/PI/PI_1_3_12/slc3_ia32_gcc323/bin/aida-config", line 370, in ?
    conf = AIDA_Configurator(plat)
  File "/opt/sw/lcg/app/releases/PI/PI_1_3_12/slc3_ia32_gcc323/bin/aida-config", line 175, in __init__
    self.setup()
  File "/opt/sw/lcg/app/releases/PI/PI_1_3_12/slc3_ia32_gcc323/bin/aida-config", line 213, in setup
    raise str("FATAL: Could not determine dir for external s/w !")
FATAL: Could not determine dir for external s/w !
Traceback (most recent call last):
  File "/opt/sw/lcg/app/releases/PI/PI_1_3_12/slc3_ia32_gcc323/bin/aida-config", line 370, in ?
    conf = AIDA_Configurator(plat)
  File "/opt/sw/lcg/app/releases/PI/PI_1_3_12/slc3_ia32_gcc323/bin/aida-config", line 175, in __init__
    self.setup()
  File "/opt/sw/lcg/app/releases/PI/PI_1_3_12/slc3_ia32_gcc323/bin/aida-config", line 213, in setup
    raise str("FATAL: Could not determine dir for external s/w !")
FATAL: Could not determine dir for external s/w !

 Please, do anybody have any suggestion for this problems?

Cheers,

Sandro Fonseca

None PI1.3.12 in SLC4  by Sandro Fonseca (UERJ/Brazil) <sandro.fonseca@cern.ch>,   05 May, 2006

Dear all,

I have trouble with PI 1.3.12 in SLC4. I am description error messager below:

 File "/opt/sw/lcg/app/releases/PI/PI_1_3_12/slc3_ia32_gcc323/bin/aida-config", line 370, in ?
    conf = AIDA_Configurator(plat)
  File "/opt/sw/lcg/app/releases/PI/PI_1_3_12/slc3_ia32_gcc323/bin/aida-config", line 175, in __init__
    self.setup()
  File "/opt/sw/lcg/app/releases/PI/PI_1_3_12/slc3_ia32_gcc323/bin/aida-config", line 213, in setup
    raise str("FATAL: Could not determine dir for external s/w !")
FATAL: Could not determine dir for external s/w !
Traceback (most recent call last):
  File "/opt/sw/lcg/app/releases/PI/PI_1_3_12/slc3_ia32_gcc323/bin/aida-config", line 370, in ?
    conf = AIDA_Configurator(plat)
  File "/opt/sw/lcg/app/releases/PI/PI_1_3_12/slc3_ia32_gcc323/bin/aida-config", line 175, in __init__
    self.setup()
  File "/opt/sw/lcg/app/releases/PI/PI_1_3_12/slc3_ia32_gcc323/bin/aida-config", line 213, in setup
    raise str("FATAL: Could not determine dir for external s/w !")
FATAL: Could not determine dir for external s/w !

 Please, do anybody have any suggestion for this problems?

Cheers,

Sandro Fonseca

Question Simple Root and G4  Keywords: Root readible histogram
by Vit <Vit>,   11 Apr, 2006

Please, can you tell me the simplest way, how to generate and record a Root-readible-histogram in the G4? Thanks, Vit

1 None: Re: Simple Root and G4   (michel maire - 11 Apr, 2006)
(_ Question: Re: Simple Root and G4   (Vit Vorobel - 18 Apr, 2006)
Question Does AIDA affect a Geant4 simulation?  Keywords: AIDA
by David Shipley <David Shipley>,   27 Mar, 2006
Hello,

Can anyone tell me if the use of AIDA (via the G4ANALYSIS_USE option)
affects the results/output of a Geant4 simulation?

The reason I ask this question is that when I run the A01 extended
example with a given number of events, the output is 
different when AIDA is used (G4ANALYSIS_USE = 1) and when not used 
(G4ANALYSIS_USE = 0) even though the same initial random number seed
is used in both cases. This is similarly true with the
Hadrontherapy example (after changing it so that the data is dumped out
when AIDA is not used). I have yet to check if the difference in the
outputs are statisically significant.

I had the impression that the use of AIDA should not have any
effect on the simulation at all (unless it generates it's own
random numbers, of course) and would expect the output/transport to be
identical if the same seeds are used. Is this a reasonable assumption?

I am using Geant4.8.0.p01 with AIDAJNI-3.2.3 & JAIDA-3.2.4 installed
under Mandrake Linux 9.1.

Thanks in advance.

David.
None histogram file  Keywords: histogram output
by Raffaello Trentadue <Raffaello Trentadue>,   27 Mar, 2006

Dear All,

could anybody explain to me how to get the output histogram file for the example Testem1?

It compile and is well executed, but I don't undestand when and how and where the output file is created. I set the histograms and at the and of execution there is the folloowing message: "Histogram Tree is saved in FileName.root" but this file doesn't exist!

Thanks a lot in advance!

Raffaello

None histogram file  Keywords: histogram output
by Raffaello Trentadue <Raffaello Trentadue>,   27 Mar, 2006

Dear All,

could anybody explain to me how to get the output histogram file for the example Testem1?

It compile and is well executed, but I don't undestand when and how and where the output file is created. I set the histograms and at the and of execution there is the folloowing message: "Histogram Tree is saved in FileName.root" but this file doesn't exist!

Thanks a lot in advance!

Raffaello

1 None: Re: histogram file   (michel maire - 27 Mar, 2006)
(_ Question: Re: histogram file   (Holger Gottschlag - 17 Oct, 2006)
1 None: Re: histogram file   (Vladimir IVANTCHENKO - 17 Oct, 2006)
1 None: Re: histogram file   (Holger Gottschlag - 17 Oct, 2006)
...
2 Question: Re: histogram file   (Lorena Magallanes - Aug 27, 03:02)
None histograms and using classes  Keywords: histograms and using classes
by Raffaello Trentadue <Raffaello Trentadue>,   22 Mar, 2006

Dear all, I am a GEANT4 beginner. I made a simple software as exercise to simulate the neutron beam interaction on bakelite!

So, up to now I got in output the informations about the physical quantities which I need. However I don't understand how to make histogram and where!

Could some body explain me what is necessary to do this?

I need informations about the tracks and the hits.

Moreover, could you explain when and for what to use classes:

EventAction RunAction TrackingAction StackingAction SteppingAction StackingVerbose SteppingVerbose

Thanks a lot in advance!

Raffaello

 

1 None: Re: histograms and using classes   (Vladimir Ivantchenko - 22 Mar, 2006)
(_ None: Re: histograms and using classes   (michel maire - 22 Mar, 2006)
Question Problem with XML file and long time for running?  Keywords: xml AIDA run-time
by Shahrokh <Shahrokh>,   15 Mar, 2006
Hi,
It turns out to take a long time for running of my program. 
In other words; during run-time, the physical memory of computer occupies gradually and 
the speed of run is much slowly. 
The glance of my program:
I want to generate primary particles that their positions, momentum directions 
and energies are read from a file. The file format is N-Tuple (XML file).
The characteristics include: particle position ( xOfPosition, yOfPosition,zOfPosition ),
momentum direction ( xOfDirection, yOfDirection, zOfDirection )and particle energy ( energy ). 
Each row of N-Tuple is related to one event or one particle. 
For each event generated (for example, each event of /run/beamOn 100000), 
one particle is produced with the characteristics reading from row of N-Tuple and next event from next row….
For this purpose, I think that this is necessary to position the read cursor immediately 
before the first row (with starting each event) with ITuple::start()function
and then position the cursor at a given row with ITuple::setRow(anEvent->get_eventID()) function for next event. 
But this way is very slowly and time-consuming, since for each event 
and setting that event(SetParticlePostion(), SetParticleMomentumDirection(), SetParticleEnergy()), 
this is necessary to position cursor at first row of N-tuple and scan across the file. 
The size of file is 3.3 MB. The run-time of 20 events is almost 20 minutes. 
I think that this problem is arose from structure of XML files, that is complex structure (perhaps, parse tree)
and the task of data analysis at XML file is time-consuming. 
I don’t know what my problem is. If N-Tuple file is re-formatted to .root or .hbook formt,
is the run-time agreeable or time-saving? 
In other words, do I have to change file format (xml) to other format for reducing of run-time?
 
The PrimaryGenerator.cc file, that I compile, follow:
-------------------------------------------------------------------
#include "AIDA/AIDA.h"
#include "AIDA/IManagedObject.h"

using namespace AIDA;

#include "PrimaryGeneratorAction.hh"

#include "G4Event.hh"
#include "G4ParticleGun.hh"
#include "G4ParticleTable.hh"
#include "G4ParticleDefinition.hh"
#include "globals.hh"

#include "G4UnitsTable.hh"


PrimaryGeneratorAction::PrimaryGeneratorAction()
{  
  xOfPostion = 0.0;
  yOfPostion = 0.0;
  zOfPostion = 0.0;
  xOfdirection = 0.0;
  yOfdirection = 0.0;
  zOfdirection = 0.0;
  energy = 0.0;
}

PrimaryGeneratorAction::~PrimaryGeneratorAction()
{
   delete particleGun;
   delete analysisFactory;
   delete tree;
   delete managedObject;
}

void PrimaryGeneratorAction::GeneratePrimaries(G4Event* anEvent)
{
   
   //initialize reading from .aida file that is one database of photon specifications.
   analysisFactory = AIDA_createAnalysisFactory();

   ITreeFactory *treeFactory = analysisFactory->createTreeFactory();

   tree = treeFactory->create("DataBaseOfPhoton.aida","xml",true, false);
   delete treeFactory;

   managedObject = tree->find("/tuples/tuplePhoton");
   
   AIDA::ITuple* tuple = dynamic_cast<AIDA::ITuple*> (managedObject);
         
   //int numberOfrows = tuple->rows();
   
   tuple->start();
   tuple->setRow(anEvent->GetEventID());
   //get position of photon from DataBaseOfPhoton.aida file
   xOfPostion=tuple->getDouble(0);
   yOfPostion=tuple->getDouble(1);
   zOfPostion=tuple->getDouble(2);
   //get  movement direction of photon from DataBaseOfPhoton.aida file
   xOfdirection=tuple->getDouble(4);
   yOfdirection=tuple->getDouble(5);
   zOfdirection=tuple->getDouble(6);
   //get energy of photon from DataBaseOfPhoton.aida file
   energy=tuple->getDouble(7);
   tuple->reset();  
        
  //primary generator
  G4int n_particle = 1;
  particleGun = new G4ParticleGun(n_particle);

  //setting type of particle
  G4ParticleTable* particleTable = G4ParticleTable::GetParticleTable();
  G4String particleName;
  particleGun->SetParticleDefinition(particleTable->FindParticle(particleName="gamma"));
  
  //setting energy of photon
  particleGun->SetParticleEnergy(energy*MeV);
  G4cout << "energy of primary photon: " <<G4BestUnit( energy , "Energy" )<< G4endl;
  
  //setting postion of photon
  particleGun->SetParticlePosition(G4ThreeVector(xOfPostion*mm, yOfPostion*mm, zOfPostion*mm));
  G4cout<<"the position characteristics of primary photon: ("<<G4BestUnit( xOfPostion,"Length")<<", "<<G4BestUnit( yOfPostion,"Length")<<", "<<G4BestUnit( zOfPostion,"Length")<<" )"<<G4endl;
  
  //setting movement direction of photon
  G4ThreeVector v(xOfdirection, yOfdirection, zOfdirection);
  particleGun->SetParticleMomentumDirection(v);
    
  particleGun->GeneratePrimaryVertex(anEvent);
  
  tree->close();

  //delete analysisFactory;   <------------this line must to be block.
}
Please help me.
thanks a lot.
Shahrokh
1 None: Re: Problem with XML file and long time for running?   (Guy Barrand - 16 Mar, 2006)
Question Problem with AIDA and read or restore data from file (xml format)?  Keywords: AIDA read restore file
by Shahrokh <Shahrokh>,   04 Mar, 2006
Hi,
I have a running code that write out an N-tuple file with xml format. 
N-tuple is  filled with random numbers. It is compiled and runned finely and creates an N-tuple file with the name of gaussian.aida. 
I open this file with jas3 and see N-tuple with 3 columns. 
The file, that I compile and run, follow:

…
#include "AIDA/AIDA.h"
using namespace AIDA;

//prototype randgauss()
double randgauss(double, double, double, double);

//define randgauss()
double randgauss( double min, double max, double sigma, double center)
{
  double random= (min+ (max-min)*(double)rand()/RAND_MAX);
  
  double tmp=(random-center)/sigma;
  double gauss=std::exp(-tmp*tmp/2);
  return gauss;
}


int main()
{
  IAnalysisFactory *analysisFactory = AIDA_createAnalysisFactory();
		
  ITreeFactory *treeFactory = analysisFactory->createTreeFactory();
		
  ITree *tree = treeFactory->create();
		
  tree = treeFactory->create("gaussian.aida", "xml", false, true);
	
  ITupleFactory* tupleFactory = analysisFactory->createTupleFactory (*tree);
	
  ITuple* tuple = tupleFactory->create("tuplePhoton", "the   characteristics of photons ", "double r1,  r2,  r3");
	
  for(int i=0; i<24; i++)
    {
	float r1=0.;
	float r2=0.;
	float r3=0.;
	double min=0., max=1.0, sigma=1.0, center=0.;
	r1=randgauss(min, max, sigma, center);
	r2=randgauss(min, max, sigma, center)+10;
	r3=randgauss(min, max, sigma, center)+100;
	tuple->fill(0,r1);
	tuple->fill(1,r2);
	tuple->fill(2,r3);
	tuple->addRow();
  }
	
  tree->commit();
  tree->close();
  return 0;
}
At now, I want to read or restore the file (gaussian.aida). For this purpose, I compile and run this file that follows:

#include "AIDA/AIDA.h"
using namespace AIDA;

int main()
{
  IAnalysisFactory *analysisFactory = AIDA_createAnalysisFactory();
  
  ITreeFactory *treeFactory = analysisFactory->createTreeFactory();

  ITree *tree = treeFactory->create();
  tree = treeFactory->create("gaussian.aida","xml");
	
  IManagedObject* managedObject= tree->find("/tuplePhoton");
  if(!managedObject) cout<<"this pointer is NULL:"<<endl;
  if(managedObject)  cout<<"managedObject pointer is pointed to:"<<managedObject->name()<<endl;

  if(!managedObject->cast("AIDA::ITuple"))          cout<<"error:"<<endl;
  AIDA::ITuple *tuple=managedObject->cast("AIDA::ITuple"); //error is occurred at this line.
	
	tree->commit();
	tree->close();
	
	return 0;
}

With compiling the above file, I get this error message:
…
g++ -c gausAidaRead.cc `aida-config --include` -Wno-deprecated
gausAidaRead.cc: In function `int main()':
gausAidaRead.cc:32: invalid conversion from `void*' to `AIDA::ITuple*'
…
How can I read data from gaussian.aida and then these data are saved (or wrote or restored) on other files, for example with N-tuple format or histograms?
Please, please help me.
Thanks
Shahrokh.


1 None: Re: Problem with AIDA and read or restore data from file (xml format)?   (Guy Barrand - 06 Mar, 2006)
1 Ok: Re: Problem with AIDA and read or restore data from file (xml format)?   (Shahrokh - 06 Mar, 2006)
3 None: Re: Problem with AIDA and read or restore data from file (xml format)?   (Shahrokh - 06 Mar, 2006)
Note problem with jas3 and .root file?  Keywords: jas3 root
by Shahrokh <Shahrokh>,   01 Mar, 2006
Hi,
Why can't jas3 read files with .root format?
Thanks.
1 None: RE: problem with jas3 and .root file?   (tony_johnson@slac.stanford.edu - 01 Mar, 2006)
Question Relation between (Lab and ROOT) and (AIDA and ROOT)???  Keywords: ROOT Lab AIDA
by Shahrokh <Shahrokh>,   01 Mar, 2006
Hi,
1-What is the relation between Lab (in OpenScientist) and ROOT?
2-What is the relation between AIDA and ROOT?
thanks a lot.

1 None: Re: Relation between (Lab and ROOT) and (AIDA and ROOT)???   (Guy Barrand - 17 Mar, 2006)
Question How can I use N-tuple for particle source?  Keywords: N-tuple particle source
by Shahrokh <Shahrokh>,   05 Feb, 2006
I have two questions:

1) I can store the characteristics of particles that pass through a tube volume (sensitive detector).
   These primary particles are produced by a point source. 
   The characteristics include: type of particle, energy, position and direction of momentum. 
   The characteristics are stored on a .aida file with “xml” format (phase space file). 
   At now, I want to use this file as particle source (replace point source). 
   The information of phase space file is N-tuple. 
   How can I do?

2) I want to get number of primary particles (from point source) and also 
   secondary particles that are produced by the interaction of primary particles 
   with environment and pass through sensitive detector 
   (for example: # primary photons and # secondary photons with each energy and anywhere on sensitive detector, separately).
    How can I do?

Thanks for any help. 
Regards,
Shahrokh


Question ITupleFactory can’t store G4ThreeVector objects?!  Keywords: ITupleFactory store G4ThreeVector
by Shahrokh <Shahrokh>,   30 Jan, 2006
I want to store the location and the direction of motion of each particle traversing a plane (scoring plate). 
For this purpose, I get the location of particle with using this method: G4ThreeVector G4Track::GetPosition(); 
and the direction of motion with using this method: G4ThreeVector G4Track::GetMomentumDirection(). 
These methods are used at a class that is derived from G4VSensitiveVolume. 
Afterwards, for storing this information, I used AIDA::ITupleFactory. 
I did the following:

definition
…
IAnalysisFactory* factory;
ITree* tree;
ITuple* tuple;
…

initialization
…
ITupleFactory* tupleFactory=factory->createTupleFactory(*tree);
tuple = tupleFactory->create("tuple", "the characteristics of particle ", "GeThreeVector position"," G4ThreeVector direction");
…
Then, the code is compiled successfully with nothing error or warning. 
But the program crash or abort just after the run.
At the other words, I want to store G4ThreeVector objects to N-Tuples.
Could you tellmehow to slove it?
Please help me.
1 None: Re: ITupleFactory cant store G4ThreeVector objects?!   (Vladimir IVANTCHENKO - 31 Jan, 2006)
(_ Question: Re: ITupleFactory cant store G4ThreeVector objects?!   (Shahrokh - 01 Feb, 2006)
(_ None: Re: ITupleFactory cant store G4ThreeVector objects?!   (Vladimir IVANTCHENKO - 01 Feb, 2006)
(_ Question: Re: ITupleFactory cant store G4ThreeVector objects?!   (Shahrokh - 01 Feb, 2006)
(_ More: Re: ITupleFactory cant store G4ThreeVector objects?!   (Shahrokh - 01 Feb, 2006)
(_ Ok: Re: ITupleFactory cant store G4ThreeVector objects?!   (Shahrokh - 05 Feb, 2006)
Question Double_t against G4double  Keywords: ROOT casting
by Sara Vecchio <sara.vecchio@pi.infn.it>,   08 Jan, 2006

I am trying to use ROOT Trees to store data from my G4 montecarlo. But when I define the tree elements, I must use the Double_t/Int_t/... formats from ROOT. However my results are from G4, and then I only have G4double/G4int/.. values! What I get is a good ROOT file, with wrong numbers inside. I am preatty sure that there is something very stupid that I am missing to solve the conversion: could someone give me a hint?

1 None: Re: Double_t against G4double   (Klaus Grimm - 08 Jan, 2006)
(_ More: Re: Double_t against G4double   (Sara Vecchio - 09 Jan, 2006)
(_ Warning: Re: Double_t against G4double   (Sara Vecchio - 09 Jan, 2006)
None Untitled  Keywords: Analysis with .hbk output files.
by Giles Kisife <Giles Kisife>,   03 Jan, 2006

Hi
   I am runing the advanced example in hadrontherapy and using 
OpenScientist for analysis. I get the .hbk (hadrontherapy.hbk) out files
but I can't open them. I have tried Jas3 and openScintist LAb (Onx) but 
hasn't suceeded. I do not even know if the histograms are created or not.

I will be glad if any one has sugestions. And may be how I could change the default out put file format from .hbk to say .aida.

But in the OpenScientist web page: http://openscientist.lal.in2p3.fr/ it says for .hbook file formats. "We definitely advise to avoid the .hbook format which is related to software no more supported by the lab that created it (CERN)." Not sure if this is the cause of my problem, but if it is then it would be nice to change the default otuput file format from .hbk.

I will be glad to have any sugestions as soon as possible. Thanks in advance, Giles Kk XXXXXXXXXXXXX

1 None: Analysis with .hbk output files   (Giles Kisife - 03 Jan, 2006)
(_ None: Re: Analysis with .hbk output files   (Gabriel Sawakuchi - 03 Jan, 2006)
(_ Question: Hadrontherapy Analysis with OpenScientist   (GKK - 04 Jan, 2006)
(_ None: Re: Hadrontherapy Analysis with OpenScientist   (Gabriel Sawakuchi - 04 Jan, 2006)
(_ Question: Tracking secondary neutrons from proton nuclear interactions   (Giles Kk - 09 Jan, 2006)
(_ None: Re: Tracking secondary neutrons from proton nuclear interactions   (Guy Barrand - 11 Jan, 2006)
(_ None: Re: Tracking secondary neutrons from proton nuclear interactions   (Giles Kisife - 24 Jan, 2006)
Question Error in using JAIDA/AIDAJNI with GEANT example  Keywords: JAIDA, AIDAJNI, CLHEP
by <brandon.d.reddell@boeing.com>,   30 Nov, 2005

I have installed JAIDA 3.2.3 and AIDAJNI 3.2.2 and have sourced the appropriate csh scripts with the following commands per the instructions with the GEANT4 A01 example.

source $JAIDA_HOME/bin/aida-setup.csh

source $AIDAJNI_HOME/bin/Linux-g++/aidajni-setup.csh

When I compile and run a different example (exGPS) with the following environment variable set: setenv G4ANALYSIS_USE 1, I get the following error message:

$G4EXE/exGPS: error while loading shared libraries: libCLHEP-1.9.2.1.so: cannot open shared object file: No such file or directory

When I turn off the analysis portion and recompile the example (along with other examples), everything works fine.

Can somebody tell me why this is happening and what I need to do to run the analysis stuff correctly?

Sincerely,

Brandon

1 None: Re: Error in using JAIDA/AIDAJNI with GEANT example   (Rui Fan - 03 Jan, 2006)
Question Help on AIDA histograms  by Gabriel Sawakuchi <Gabriel Sawakuchi>,   15 Nov, 2005
Hello,

I have 14 AIDA::IHistogram1D with the same bin size and length. 
I would like to add them to form 1 IHistogram1D but I would like to keep
the information of all histograms by means of colors. 
Pretty much I would like to have something like this example:

http://jas.freehep.org/index_old.htm

How can I do that ?

Thanks in advance.

Gabriel
1 None: RE: Help on AIDA histograms   (tony_johnson@slac.stanford.edu - 15 Nov, 2005)
(_ Question: RE: Help on AIDA histograms   (Gabriel Sawakuchi - 17 Nov, 2005)
(_ More: RE: Help on AIDA histograms   (Gabriel Sawakuchi - 18 Nov, 2005)
(_ Feedback: RE: Help on AIDA histograms   (Gabriel Sawakuchi - 23 Nov, 2005)
None HELP!!! NEED HELP WITH ROOT  by jazmin <jaztango@aol.com>,   09 Nov, 2005

Dear All:

Having finally written a code that works, I'm having a very difficul time getting started on getting the information out in a root file. Can someone give me a SIMPLE explanation or example of to go about doing this? I have tried the examples and none of them are very clear.

Thanks Jazmin

None Running example A01  by R. Gunasingha <R. Gunasingha>,   10 Oct, 2005

Hi,
  I have compiled and tried to run example A01 in extended/analysis directory. 
When I tried to run I get the following message and program stop and
 core dumped.

Can I get any help on this to fix the problem. I am runnig geant4.7.1 on a Enterprise Linux V3.

Thank you,

Gunasingha ======================================================================

*************************************************************
 Geant4 version Name: geant4-07-01    (30-June-2005)
                      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 chosen to use 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)
You are using the A01PhysicsList
Full set of particles (barions bosons and mesons) will be created and
Standard EM Physics and Low & High Energy parameterized models will be applied.
A01PhysicsList is optimized for robustness
and not for any particular usage.
For the hadronic physics, educated guesses of physics list are prepared for various use cases.
When you will start REAL calculations for your own interest,
please consider the usage of hadronic_lists instead of A01PhysicsLists.
More information can also be found from the Geant4 HyperNews.
http://ghe materials defined are : 

***** Table : Nb of materials = 5 *****

 Material: ArgonGas     density:  1.782 kg/m3   temperature: 273.15 K  pressure:   1.00 atm  RadLength: 109.708 m  
   --->  Element: ArgonGas ( )   Z = 18.0   N =  40.0   A =  39.95 g/mole  fractionMass: 100.00 %  Abundance 100.00 %

 Material:      Air     density:  1.290 kg/m3   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  fractionMass:  70.00 %  Abundance  72.71 %
   --->  Element: Oxigen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  fractionMass:  30.00 %  Abundance  27.29 %

 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  fractionMass:  91.45 %  Abundance  47.37 %
   --->  Element: Hydrogen (H)   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:   8.55 %  Abundance  52.63 %

 Material:      CsI     density:  4.510 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.861 cm 
   --->  Element: Iodine (I)   Z = 53.0   N = 126.9   A = 126.90 g/mole  fractionMass:  50.00 %  Abundance  51.15 %
   --->  Element: Cesium (Cs)   Z = 55.0   N = 132.9   A = 132.90 g/mole  fractionMass:  50.00 %  Abundance  48.85 %

 Material:     Lead     density: 11.350 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   5.612 mm 
   --->  Element: Lead ( )   Z = 8he geometrical tree defined are : 

    hodoscope2Physical[7] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[8] hodoscope2Logical 0 Scintillator /hodoscope2
2.0   N = 207.2   A = 207.19 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
The geometrical tree defined are : 

worldPhysical[0] worldLogical 3 Air
  magneticPhysical[0] magneticLogical 0 Air
  firstArmPhysical[0] firstArmLogical 20 Air
    hodoscope1Physical[0] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[1] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[2] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[3] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[4] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[5] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[6] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[7] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[8] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[9] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[10] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[11] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[12] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[13] hodoscope1Logical 0 Scintillator /hodoscope1
    hodoscope1Physical[14] hodoscope1Logical 0 Scintillator /hodoscope1
    chamber1Physical[0] chamber1Logical 1 ArgonGas
      wirePlane1Physical[0] wirePlane1Logical 0 ArgonGas /chamber1
    chamber1Physical[1] chamber1Logical 1 ArgonGas
      wirePlane1Physical[0] wirePlane1Logical 0 ArgonGas /chamber1
    chamber1Physical[2] chamber1Logical 1 ArgonGas
      wirePlane1Physical[0] wirePlane1Logical 0 ArgonGas /chamber1
    chamber1Physical[3] chamber1Logical 1 ArgonGas
      wirePlane1Physical[0] wirePlane1Logical 0 ArgonGas /chamber1
    chamber1Physical[4] chamber1Logical 1 ArgonGas
      wirePlane1Physical[0] wirePlane1Logical 0 ArgonGas /chamber1
  secondArmPhys[0] secondArmLogical 32 Air
   hodoscope2Physical[0] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[1] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[2] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[3] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[4] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[5] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[6] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[7] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[8] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[9] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[10] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[11] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[12] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[13] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[14] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[15] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[16] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[17] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[18] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[19] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[20] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[21] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[22] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[23] hodoscope2Logical 0 Scintillator /hodoscope2
    hodoscope2Physical[24] hodoscope2Logical 0 Scintillator /hodoscope2
    chamber2Physical[0] chamber2Logical 1 ArgonGas
      wirePlane2Physical[0] wirePlane2Logical 0 ArgonGas /chamber2
    chamber2Physical[1] chamber2Logical 1 ArgonGas
      wirePlane2Physical[0] wirePlane2Logical 0 ArgonGas /chamber2
    chamber2Physical[2] chamber2Logical 1 ArgonGas
      wirePlane2Physical[0] wirePlane2Logical 0 ArgonGas /chamber2
    chamber2Physical[3] chamber2Logical 1 ArgonGas
      wirePlane2Physical[0] wirePlane2Logical 0 ArgonGas /chamber2
    chamber2Physical[4] chamber2Logical 1 ArgonGas
      wirePlane2Physical[0] wirePlane2Logical 0 ArgonGas /chamber2
    EMcalorimeterPhysical[0] EMcalorimeterLogical 1 CsI
      cellPhysical[-1] cellLogical 0 CsI /EMcalorimeter
    HadCalorimeterPhysical[0] HadCalorimeterLogical 1 Lead
      HadCalColumnPhysical[-1] HadCalColumnLogical 1 Lead
        HadCalCellPhysical[-1] HadCalCellLogical 1 Lead
          HadCalLayerPhysical[-1] HadCalLayerLogical 1 Lead
            HadCalScintiPhysical[0] HadCalScintiLogical 0 Scintillator /HadCalorimeter
Abort (core dumped)

1 None: Re: Running example A01   (Makoto Asai - 10 Oct, 2005)
Question Run aborted: is a ROOT problem?  Keywords: root run aborted
by Maria Lucia <luciamagliozzi@iss.infn.it>,   06 Sep, 2005
Hi!

My simulation should create a ROOT file as output.
After running some hours, it aborts.

This are the error messages:

 *** Break *** segmentation violation
 Generating stack trace...
 0x407d74c7 in G__call_cppfunc + 0x2ba from /usr/local/cern/root/lib/libCint.so
 0x407c5080 in G__interpret_func + 0x79e from /usr/local/cern/root/lib/libCint.so
 0x4079ec00 in G__getfunction + 0x16b8 from /usr/local/cern/root/lib/libCint.so
 0x407951cc in G__getitem + 0x74f from /usr/local/cern/root/lib/libCint.so
 0x4079391f in G__getexpr + 0x9aad from /usr/local/cern/root/lib/libCint.so
 0x407f0611 in G__exec_function + 0x1f2 from /usr/local/cern/root/lib/libCint.so
 0x407f7c00 in G__exec_statement + 0x251a from /usr/local/cern/root/lib/libCint.so
 0x40778e55 in G__exec_tempfile_core + 0x374 from /usr/local/cern/root/lib/libCint.so
 0x407790b9 in G__exec_tempfile_fp + 0x31 from /usr/local/cern/root/lib/libCint.so
 0x40800c54 in G__process_cmd + 0x4f90 from /usr/local/cern/root/lib/libCint.so
 0x401bce22 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) + 0xba from /usr/local/cern/root/lib/libCore.so
 0x4010e417 in TApplication::ProcessLine(char const*, bool, int*) + 0x6b3 from /usr/local/cern/root/lib/libCore.so
 0x4124cc6e in TRint::HandleTermInput() + 0x24e from /usr/local/cern/root/lib/libRint.so
 0x4124b705 in TTermInputHandler::Notify() + 0x27 from /usr/local/cern/root/lib/libRint.so
 0x4124d8a0 in TTermInputHandler::ReadNotify() + 0x14 from /usr/local/cern/root/lib/libRint.so
 0x40262e71 in TUnixSystem::CheckDescriptors() + 0x169 from /usr/local/cern/root/lib/libCore.so
 0x40261cd3 in TUnixSystem::DispatchOneEvent(bool) + 0x17f from /usr/local/cern/root/lib/libCore.so
 0x40179544 in TSystem::InnerLoop() + 0x22 from /usr/local/cern/root/lib/libCore.so
 0x401794da in TSystem::Run() + 0x80 from /usr/local/cern/root/lib/libCore.so
 0x4010f06d in TApplication::Run(bool) + 0x37 from /usr/local/cern/root/lib/libCore.so
 0x4124c672 in TRint::Run(bool) + 0x380 from /usr/local/cern/root/lib/libRint.so
 0x08048e34 in main + 0x90 from /usr/local/cern/root/bin/root.exe
 0x4138a970 in __libc_start_main + 0xf0 from /lib/tls/i686/cmov/libc.so.6
 0x08048d01 in TApplicationImp::ShowMembers(TMemberInspector&, char*) + 0x39 from /usr/local/cern/root/bin/root.exe


Can someone tell me what does it means?
What's the promblem?

Thank you

MLucia

1 None: Re: Run aborted: is a ROOT problem?   (Guy Barrand - 22 Sep, 2005)
(_ None: Re: Run aborted: is a ROOT problem?   (Mario Schubert - 22 Sep, 2005)
Question Problem running example A01app  Keywords: Example A01, Openscientist, histogram, OnX,
by Sylvia Studeny <Sylvia.Studeny@gsf.de>,   26 Jul, 2005

Hi,
I wanted to do some histogramm plotting and therefore tried to run 
example A01app. I think I have installed openscientist correctly (though
this took quite a while), at least the examples coming with openscientist
 are running.
When I now try to compile A01, everything goes fine (no errors).
But I cannot run the Program:

 phot:  Total cross sections from Sandia parametrisation.
 OnX::XtUI::LookDSM_Problem :
 Can't solve the dsm problem.
 Bad linking order of -lXm and -lXt
 or you try to load a DLL linked to X11 prior to
 load a DLL linked with Motif.
 segmentation fault

Something similar happens when I try example EMTest04.

I'm using Geant4.7.1 on SuSe-Linux9.0 with g++ 3.3.3. Geant4 is running fine so far, even the A01 example (so of course, without Openscientist there was no histogram file).

I did run the openscientist-source script and defiened G4ANALYSIS_USE and the CFLAGS and LIBS. I tried to run it without visualisation or UI-Interface, but that changed nothing.

I hope youe can help me, I have tried everything I know of. Thanks a lot Sylvia

1 Sad: state of the problem   (Sylvia Studeny - 09 Aug, 2005)
3 Note: Openscientist   (Sylvia Studeny - 29 Aug, 2005)
1 None: Openscientist-14 SLC3 g++-3.2.3/ TestEm1 / xml and root formats/ ok for me   (Guy Barrand - 31 Aug, 2005)
(_ None: Re: Openscientist-14 SLC3 g++-3.2.3/ TestEm1 / xml and root formats/ ok for me   (Vladimir IVANTCHENKO - 31 Aug, 2005)
(_ None: Re: Openscientist-14 SLC3 g++-3.2.3/ TestEm1 / xml and root formats/ ok for me   (Guy Barrand - 31 Aug, 2005)
(_ None: Re: Openscientist-14 SLC3 g++-3.2.3/ TestEm1 / xml and root formats/ ok for me   (Vladimir IVANTCHENKO - 31 Aug, 2005)
(_ None: Re: Openscientist-14 SLC3 g++-3.2.3/ TestEm1 / xml and root formats/ ok for me   (Guy Barrand - 31 Aug, 2005)
5 None: Re: Problem running example A01app   (Guy Barrand - 30 Aug, 2005)
7 None: Re: Problem running example A01app   (Guy Barrand - 31 Aug, 2005)
None If events are ~7000 or more Brachytherapy example crashes, help!  by Axel <axeloid@gmail.com>,   14 Jul, 2005
Hi, I've been struggling to make the brachytherapy example to run and
have an output file. I'm using jaida/aidajni implementation (the only
one i've mannaged to get to work) for generating the outputfile in
aida/xml format. The example with the Iodium macro runs perfectly.
It finishes with a flawless:

### Run 0 start.
The Ntuple is non-zero
number of event = 5000
Graphics systems deleted.
Visualization Manager deleting...

And I can even read the output with jas3.
But when i rise to it to 10000 events (I need millions) the
program just gets stucked in:

### Run 0 start.
The Ntuple is non-zero

After a while of pressing <ctrl> c i get the message:

Exception in thread "main" Out of memory while allocation: energy
Exception in thread "main" Exception in thread "main" Out of memory while allocation: energy
Exception in thread "main" Exception in thread "main" Out of memory while allocation: energy
Exception in thread "main" Exception in thread "main" Out of memory while allocation: energy
Exception in thread "main" Exception in thread "main" Out of memory while allocation: energy
Exception in thread "main" Exception in thread "main" Out of memory while allocation: energy
Exception in thread "main" Exception in thread "main" Out of memory while allocation: energy
Exception in thread "main" Exception in thread "main" Out of memory while allocation: energy
Exception in thread "main" Exception in thread "main" Out of memory while allocation: z
Exception in thread "main" Exception in thread "main" Out of memory while allocation: z
Exception in thread "main" Exception in thread "main" Out of memory while allocation: z
Exception in thread "main" Exception in thread "main" Out of memory while allocation: z

At some point it gave me some error message
"java.lang.OutOfMemoryError:", someting related to the java vm heap,
but I can't remember it exactly and i can't get the message now,
it just gets stucked.

I know this error mesasges might be a bit vague, but let me know what
do i have to do to send more details, I'm quiet a newby.

Please help!
None Problem with string column in tuple with PI (PIUntraLite 1.3.3)   by Fan Lei <Fan Lei>,   01 Jul, 2005

It seems there is a bug in PI in handling "string" data type in tuple with PI, similar to the problem reported in thread #85 for JAIDA which has been fixed now. The problem can be demonstrated with examples/extended/eventgenerator/exgps which works fine with JAIDA but not PI! (tested for Geant4 version 7.0 with PIUntraLite1.3.3)

Fan

1 None: Re: Problem with string column in tuple with PI (PIUntraLite 1.3.3)   (Andreas Pfeiffer - 11 Jul, 2005)
1 None: Re: Problem with string column in tuple with PI (PIUntraLite 1.3.3)   (Fan Lei - 11 Jul, 2005)
(_ None: Re: Problem with string column in tuple with PI (PIUntraLite 1.3.3)   (Andreas Pfeiffer - 11 Jul, 2005)
4 Ok: Re: Problem with string column in tuple with PI (PIUntraLite 1.3.3)   (Fan Lei - 15 Jul, 2005)
Question MOMO Analysis  Keywords: MOMO Analysis
by Joseph Westlake <jwestlak@gmail.com>,   18 Jun, 2005

I am curious if it is possible to use the AIDA analysis features with MOMO. And if so, how you would go about doing it, and/or if anyone has done it already.

Thanks

Question error by HotSpot Virtual Machine --> aborted  Keywords: java, error HotSpot Virtual Machine, aborted
by Markus Horn <Markus Horn>,   02 Jun, 2005

Hello,

When starting example extended/analysis/A01 with Java 1.5.0_03 and Geant4 7.0.p01 with gdb, I get the following:

#[New Thread 1202117552 (LWP 22307)]
#[New Thread 1202645936 (LWP 22308)]
#[New Thread 1203174320 (LWP 22309)]
#[New Thread 1203968944 (LWP 22310)]
#[New Thread 1204497328 (LWP 22311)]
#[New Thread 1206389680 (LWP 22312)]
#[New Thread 1206918064 (LWP 22313)]
#
#Program received signal SIGSEGV, Segmentation fault.
#[Switching to Thread 1117244064 (LWP 22304)]
#0x42135016 in jni_IsInstanceOf () from /usr/java/jdk1.5.0_03/jre/lib/i386/client/libjvm.so
#(gdb) backtrace
#0  0x42135016 in jni_IsInstanceOf () from /usr/java/jdk1.5.0_03/jre/lib/i386/client/libjvm.so
#1  0x41f7d2e7 in JAIDA::ProxyFactory::createIHistogramFactory () from /usr/local/FREEHEP/lib/Linux-g++/libAIDAJNI.so
#2  0x41f13738 in JAIDA::JIAnalysisFactory::createHistogramFactory () from /usr/local/FREEHEP/lib/Linux-g++/libAIDAJNI.so
#3  0x40030712 in A01AnalysisManager::A01AnalysisManager () from ~/G4work/tmp/Linux-g++/A01app/libA01app.so
#4  0x40030844 in A01AnalysisManager::getInstance () from ~/G4work/tmp/Linux-g++/A01app/libA01app.so
#5  0x4003c579 in A01EventAction::A01EventAction () from ~/G4work/tmp/Linux-g++/A01app/libA01app.so
#6  0x0804a4ef in main ()
#(gdb) C
#Continuing.
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x42135016, pid=22304, tid=1117244064
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode, sharing)
# Problematic frame:
# V  [libjvm.so+0x175016]
#
# An error report file with more information is saved as /tmp/hs_err_pid22304.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
#
#Program received signal SIGABRT, Aborted.

.. .and the program stops. I do not understand this error message, neither the error.log file produced (can be viewed on http://www-ik.fzk.de/~horn/hs_err_pid22304.log ), since with the same software (java1.5, freehep-library, aida-3.2.3, geant4 7.0.p01, even same kernel-source-2.6.5-7.111 and gcc-c++-3.3.3-41) on another computer all is working fine. I also used the same macro and the same environment variables (sh-script can be viewed http://www-ik.fzk.de/~horn/analysis.sh )

Can anyone help me with this ? I tried to recompile everything (Geant, java, aida, aidajni, jaida, etc.) but all didnt help.

PS.: Problem also occurs without using gdb of course.

None How many material????  by Stefano <brasm99@hotmail.com>,   01 Jun, 2005

How can I know how many material and what kind and thikness of material I have in one specific direction??? Is it possible to have a distribution of X_0????

1 None: Re: How many material????   (michel maire - 01 Jun, 2005)
1 None: Re: How many material????   (Stefano - 07 Jun, 2005)
4 None: Re: How many material????   (Stefano - 07 Jun, 2005)
1 None: Re: How many material????   (michel maire - 08 Jun, 2005)
...
None Problem of including an analysis in exampleA01  by Sergey <sbrin@mail.ru>,   01 Mar, 2005

Hello all.

 I have a problem of including an analysis in exampleA01.
 I am using Windows 2000, Visual Studio.Net 2003 and geant4_7_0.
 I setup AIDA-3.2.1,JAIDA-3.2.1 and AIDAJNI-3.2.1. and set
the environment variables
JDK_HOME=C:\j2sdk1.4.1_02,JAIDA_HOME=C:\JAIDA-3.2.1 and
AIDAJNI_HOME=C:\AIDAJNI-3.2.1.

 Then, I run aidajni-setup.bat and aida-setup.bat.

After setting G4ANALYSIS_USE in IDE, I rebuilt the exampleA01 and got following linking errors.

C:\g4\geant4_7_0\examples\extended\analysis\A01\include\A01E ventAction.hpp(34): fatal error C1083: Cannot open include

file: 'AIDA/AIDA.h': No such file or directory

C:\g4\geant4_7_0\examples\extended\analysis\A01\include\A01E ventAction.hpp(34): fatal error C1083: Cannot open include

file: 'AIDA/AIDA.h': No such file or directory

C:\g4\geant4_7_0\examples\extended\analysis\A01\include\A01E ventAction.hpp(34): fatal error C1083: Cannot open include

file: 'AIDA/AIDA.h': No such file or directory

C:\g4\geant4_7_0\examples\extended\analysis\A01\src\A01Analy sisManager.cpp(55): fatal error C1083: Cannot open include

file: 'AIDA/AIDA.h': No such file or directory

When I add a directory ("C:\AIDAJNI-3.2.1\include.") in which header file can be found to "Additional Include Directories", I get error message.

 Linking...
 A01AnalysisManager.obj : error LNK2019: unresolved
external symbol _AIDA_createAnalysisFactory referenced in
function "private: __thiscall
A01AnalysisManager::A01AnalysisManager(void)"
(??0A01AnalysisManager@@AAE@XZ)
 Debug/A01.exe : fatal error LNK1120: 1 unresolved
externals

 How to solve it, could somebody help me?

 Thanks.
 Regards, Sergey.

1 None: Re: Problem of including an analysis in exampleA01   (Mark Donszelmann - 17 Mar, 2005)
(_ None: Re: Problem of including an analysis in exampleA01   (Sergey - 04 Apr, 2005)
(_ None: Re: Problem of including an analysis in exampleA01   (Mark Donszelmann - 04 Apr, 2005)
1 None: RE: Problem of including an analysis in exampleA01   (tony_johnson@slac.stanford.edu - 05 Apr, 2005)
2 None: Re: Problem of including an analysis in exampleA01   (Sergey - 07 Apr, 2005)
Question HELP for GEANT4 ANALYSIS  Keywords: Anaysis and histograms in GEANT4
by Raffaello Trentadue <Raffaello Trentadue>,   26 Feb, 2005

Dear all,

there is anyone able to explain me by means some easy exemples the way to get the informations about the typical physics variables and produce histograms?

Thanks a lot for your very important help!

1 None: RE: HELP for GEANT4 ANALYSIS   (tony_johnson@slac.stanford.edu - 26 Feb, 2005)
2 None: Re: HELP for GEANT4 ANALYSIS   (Vladimir IVANTCHENKO - 26 Feb, 2005)
1 None: Re: HELP for GEANT4 ANALYSIS   (michel maire - 27 Feb, 2005)
Question Geant4 Analysis Compiling Error  by <hsanjeewa1@gsu.edu>,   17 Feb, 2005
I am using geant4.6.2 with CLHEP-1.8.1.0 under the gcc and g++ 3.2.2 in 
Linux Redhat 9.0. Recently I have installed JAIDA-3.2.3 and AIDAJNI-3.0.4 and 
compiled example A01 without any problem. 

Then, I wrote a program called ECRS with analysis part. When I compiling it
finally I got following linking error. Somehow I noticed that it created both ECRS.o
and ECRS.a sucessfully.
 
Using granular libraries ...
Linking ECRS ...
g++: Unknown: No such file or directory
g++: option.: No such file or directory

Can anyone of you help me to find out solution for above problem?

Thank you

Sanjeewa 
1 None: Re: Geant4 Analysis Compiling Error   (Mark Donszelmann - 17 Feb, 2005)
(_ None: Re: Geant4 Analysis Compiling Error   (hsanjeewa1@gsu.edu - 18 Feb, 2005)
(_ None: Re: Geant4 Analysis Compiling Error - Correct GNUmakefile   (hsanjeewa1@gsu.edu - 18 Feb, 2005)
Question structure of g4root files  Keywords: structure of g4root files
by Tomasz Wachala <twachala@wp.pl>,   17 Jan, 2005

I need some information about structure of g4root files generated by G4Glacier. Where can I find it? How can I read these files under Root? Do I need install some additional libraries for Root?

Question How to return multi-dim arrays?  Keywords: multidimensional array, return value, member function, type definition
by Matthias Boehm <boehm@meissner-consulting.com>,   13 Jan, 2005

Hello

I have a 3-dim array as data member inside a class.

Now I want to write a member function, which returns a pointer to this array. I just don't know what type the return value of the function has to be. A (G4double*) works fine if I return a 1-dim array. But when returning a 3-dim I get the compiler error:

"error C2440: 'return' : cannot convert from 
 'G4double [11][10][30]' to 'G4double *' "  

Using (G4double [11][10][30]) as a type does also not work. How can I define the type of a 3-dim array?

Please see the code below:

   G4double	depESum[11][10][30];
   G4double	depESum_1[11];

   G4double* GetDepESum_1()  { 
	return depESum_1; 
   };		// returns pointer to the 1D array
                //  works fine.

   G4double*  GetDepESum() {
	return depESum;	
   };	// returns pointer to the 3-D array
        // does not work!

1 None: Re: How to return multi-dim arrays?   (John Allison - 14 Jan, 2005)
(_ None: Re: How to return multi-dim arrays?   (John Allison - 14 Jan, 2005)
(_ None: Re: How to return multi-dim arrays?   (Jeremy McCormick - 14 Jan, 2005)
Question Example TestEm5  by Steven Avery <Steven Avery>,   06 Jan, 2005

In Example TestEm5 I have replaced the single absorber with a stack of absorbers 100x4x100 mm along the y-axis. The problem is that when I look at the histograms (for example) energy deposit all events are at zero. If I replace the stack with the single box it works fine. The question I'm asking is what do I need to do for analysis when I have a stack of absorbers. I assumed if it works for the single box it should work if the box is cut in layers. To create the stack I simply put a loop in physiAbsorber. All layers are the same material.

Thanks

1 None: Re: Example TestEm5   (michel maire - 07 Jan, 2005)
None How to Install 'PI' in a Cygwin+VC++ environment   by Ezhil Ram <ezhilalanrb@htomail.com>,   04 Jan, 2005

Hi ,

Could anyone tell me about Installing PI in windows environment.I have already installed AIDAJNI and JAIDA and set the required environment. But I dont know how to install PI , I could see only PI software for rh77_gcc323 . I am trying to run the Brachytherapy advanced example , I could not get the *.hbk file when run Brachy.exe.Could someone help pls.

Many thanks Ezhil Ram

None How can I use Geant4 within OpenScientist?  Keywords: OpenScientist
by Yang Bin <Yang Bin>,   03 Jan, 2005

Hi,
   I've installed OpenScientist and Geant4 respectivly,both of 
them work ok. 
   now I want  to use Geant4 code in OpenScientist integrated
environment,what should I do then?
   Would anyone like to tell me the step by step instruction how
to integrate Geant4 within OpenScientist?

   Thanks

1 None: Re: How can I use Geant4 within OpenScientist?   (Guy Barrand - 06 Jan, 2005)
1 None: Re: How can I use Geant4 within OpenScientist?   (Yang Bin - 18 Jan, 2005)
(_ None: OpenScientist 14.0 is released   (Guy Barrand - 18 Jan, 2005)
(_ None: Re: OpenScientist 14.0 is released   (B,Yang - 18 Jan, 2005)
3 None: Onx (Lab) can't find libOnXPython.so to open a file   (Karen Saucke - 20 Jan, 2005)
1 None: Re: Onx (Lab) can't find libOnXPython.so to open a file   (Guy Barrand - 20 Jan, 2005)
None About TestEm7 Segmentation fault  by <tchen@126.com>,   29 Dec, 2004

I use OpenScientists to do the anaysis.

***************************************** For TestEm7 case, the rusult is as below:

..... ----> Histogram Tree saved

--------- Ranecu engine status ---------
 Initial seed (index) = 0
 Current couple of seeds = 1514134595, 998964003
----------------------------------------
#
Graphics systems deleted.
Visualization Manager deleting...
UserDetectorConstruction deleted.
UserPhysicsList deleted.
Segmentation fault
*****************************************
The I changed the code RunAction.cc like this:

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

void RunAction::cleanHisto()
{
#ifdef G4ANALYSIS_USE
  tree->commit();       // Writing the histograms to the file
  tree->close();        // and closing the tree (and the file)
//  delete tree;        //<--------change here 

G4cout << "\n----> Histogram Tree saved" << G4endl; #endif }

Then recompile and run, the rusults is : ****************************************

............ ............

----> Histogram Tree saved

--------- Ranecu engine status ---------
 Initial seed (index) = 0
 Current couple of seeds = 1514134595, 998964003
----------------------------------------
#
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.
****************************************
Now it works. 

The code in TestEm7.cc 
  delete runManager;
don't work because af is not deleted.

af is in the code of RunAction.cc
RunAction::~RunAction()
{
  delete tallyEdep;

#ifdef G4ANALYSIS_USE
  delete af;  //<---here confict with "delecte tree"
#endif
}

When delete tree, the af is not deleted. If not delete tree, af can be delelted. Maybe the reason is tree is included in af.

1 None: Re: About TestEm7 Segmentation fault   (Guy Barrand - 06 Jan, 2005)
(_ None: Re: About TestEm7 Segmentation fault   (Guy Barrand - 18 Jan, 2005)
Question G4 6.2.p02 TestEm4 aida-config  Keywords: G4 6.2.p02 TestEm4 aida-config
by Ivan Genchev <Ivan Genchev>,   15 Dec, 2004

Dear G4s,

In the README file of TestEm4 is written:

Before running the example the command should be issued: eval `aida-config --runtime csh`

I use OpenScientist 3.2.1 with AIDA 3.2.1 and there is not an option --runtime Which version of AIDA, JAIDA, OpenScientist or another AIDA implemented tool should I use? I've tried to run this example, but I got sigmantation faults and empty histograms.

I know analysing tools are not part of G4 project, but it will be useful to provide info of which version is tested in order to safe time of the users.

Cheers, Ivan.

1 None: Re: G4 6.2.p02 TestEm4 aida-config   (Vladimir IVANTCHENKO - 15 Dec, 2004)
Question Setting up JAIDA on 64-bit system  Keywords: JADIA
by Steven Avery <Steven Avery>,   17 Nov, 2004

I'm trying to install JAIDA with RH enterprise3 on a 64-bit system. When I try to link example TestEm5 I get the error message that the libraries are incompatible. Is this because I'm on a 64-bit system?

Thanks, Steven

1 None: RE: Setting up JAIDA on 64-bit system   (tony_johnson@slac.stanford.edu - 17 Nov, 2004)
1 None: can't link example N01   (Steven Avery - 17 Nov, 2004)
2 None: Re: Setting up JAIDA on 64-bit system   (Mark Donszelmann - 19 Nov, 2004)
None ROOT + GEANT4  by Jacek M. Holeczek <holeczek@us.edu.pl>,   05 Nov, 2004
Hi,
Maybe someone has met the following problem (root v4.00.08 / slc3,
geant4-06-02-patch-02).

When using the G4UI Xaw based session :
--------------------------------
### Run 0 start.
/vis/scene/notifyHandlers
Start Run processing.

---> Begin of event: 0

--------- Ranecu engine status ---------
 Initial seed (index) = 0
 Current couple of seeds = 9876, 54321
----------------------------------------
---> End of event: 0
Run terminated.
Run Summary
  Number of events processed : 1
  User=20s Real=25s Sys=3.2s
/vis/viewer/update

 *** Break *** segmentation violation
 Generating stack trace...
 0x01264961 in <unknown> from /usr/X11R6/lib/libX11.so.6
 0x01225893 in XFindContext + 0xc3 from /usr/X11R6/lib/libX11.so.6
 0x06258dea in <unknown> from /usr/X11R6/lib/libXaw.so.7
 0x0625b5b3 in <unknown> from /usr/X11R6/lib/libXaw.so.7
 0x0624ebaf in <unknown> from /usr/X11R6/lib/libXaw.so.7
 0x0423ba3a in <unknown> from /usr/X11R6/lib/libXt.so.6
 0x0423bf78 in <unknown> from /usr/X11R6/lib/libXt.so.6
 0x0423c573 in _XtTranslateEvent + 0x83 from /usr/X11R6/lib/libXt.so.6
 0x04214834 in XtDispatchEventToWidget + 0x184 from /usr/X11R6/lib/libXt.so.6
...
--------------------------------

When using the G4UI Xm based session :

--------------------------------
 *** Break *** segmentation violation
 Generating stack trace...
 0x011a4961 in <unknown> from /usr/X11R6/lib/libX11.so.6
 0x01165893 in XFindContext + 0xc3 from /usr/X11R6/lib/libX11.so.6
 0x085711de in _XmGetWidgetExtData + 0x4e from /usr/X11R6/lib/libXm.so.3
 0x0856c02f in _XmGetFocusData + 0x7f from /usr/X11R6/lib/libXm.so.3
 0x0856af95 in _XmNavigSetValues + 0x25 from /usr/X11R6/lib/libXm.so.3
 0x085686d8 in <unknown> from /usr/X11R6/lib/libXm.so.3
 0x031d56f3 in <unknown> from /usr/X11R6/lib/libXt.so.6
 0x031d56ac in <unknown> from /usr/X11R6/lib/libXt.so.6
 0x031d5c33 in XtSetValues + 0x323 from /usr/X11R6/lib/libXt.so.6
 0x08503a36 in <unknown> from /usr/X11R6/lib/libXm.so.3
 0x085965e4 in _XmSFUpdateNavigatorsValue + 0xa4 from /usr/X11R6/lib/libXm.so.3
 0x08522269 in _XmChangeVSB + 0x109 from /usr/X11R6/lib/libXm.so.3
 0x08522f69 in <unknown> from /usr/X11R6/lib/libXm.so.3
...
--------------------------------

It seems that it happens only when from inside of the Geant4 application I
make "new TApplication("Application", ((int *)0), ((char **)0));" and then
I create and draw a TCanvas.
Is it possible that the X11 handling by both the ROOT and G4UI is a
problem nowadays?

It is possibly worth of noting that ... in case of Xaw based G4UI it dies
AFTER the event is fully processed (the canvas has been created and
refreshed all the time as expected), while in case of Xm based G4UI it
dies shortly after the canvas is created and drawn (in the beginning of
the event processing).

Any ideas?
Thanks in advance,
Best regards,
Jacek.
1 None: Re: ROOT + GEANT4   (Jacek M. Holeczek - 24 Feb, 2005)
3 None: Re: ROOT + GEANT4   (Wah-kai Ngai - 16 Mar, 2005)
5 None: Re: ROOT + GEANT4   (Wah-kai Ngai - 16 Mar, 2005)
1 None: Re: ROOT + GEANT4   (Jacek M. Holeczek - 17 Mar, 2005)
4 None: Re: ROOT + GEANT4   (Jacek M. Holeczek - 17 Mar, 2005)
1 None: Re: ROOT + GEANT4   (S. Fonseca UERJ/Brazil - 29 Mar, 2005)
...
4 None: Re: ROOT + GEANT4   (S. Fonseca UERJ/Brazil - 29 Mar, 2005)
... 2 Message(s)
Question AIDA environment setting  by Roy Warhol <roywarhol@yahoo.com>,   04 Nov, 2004
Dear all,
I dont know how set the AIDA/ANAPHE enviroment on RH9-gcc3.2 .
I already installed on my PC Geant4 and ANAPHE, lizard start and I source
without any problem the setupanaphe script. 
I try to execute the following command:


$ aida-config --lib

 -L/home/neo/Anaphe/release//specific/redhat73/gcc-3.2/5.0.6/lib  -L/home/neo/Anaphe/release//specific/redhat73/gcc-3.2/5.0.6/../PublicDomainPackages/2.0.0/lib   
-lg2c-forMinuit  -lHepUtilities  -lCLHEP  -lexpat  -lDataXML  -lminuit  -lGemini-minuit  -lfml-minuit  -lAnaphe_AIDA_AnalysisFactory_native  
-lAnaphe_AIDA_Annotation_native  -lAnaphe_AIDA_MemoryStore  -lAnaphe_AIDA_Tree_native
-lAnaphe_AIDA_DataPointSet_native  -lAnaphe_AIDA_Histogram_native  -lAnaphe_AIDA_Tuple_native  -lAnaphe_AIDA_XMLStore  -lAnaphe_AIDA_HBookStore  -lAIDA_Utilities
-lGracePlotter  -lAnaphe_AIDA_Plotter_Grace  -lAnaphe_AIDA_Fitter_FML  -lAnaphe_AIDA_Function_FML  -lshift
 
/home/neo/bin/aida-config: line 28:  8374 Segmentation fault      $LHCXX_REL_DIR/python/bin/aida-config.py $*


$ aida-config --cflags

 -I/home/neo/AIDA/3.0.0/3.0.0/AIDA/3.0/src/cpp -I/home/neo/Anaphe/release//specific/redhat73/gcc-3.2/5.0.6/include
 
/home/neo/bin/aida-config: line 28:  8396 Segmentation fault      $LHCXX_REL_DIR/python/bin/aida-config.py $*


How can use this output to set the environment variables

G4ANALYSIS_AIDA_CONFIG_CFLAGS
G4ANALYSIS_AIDA_CONFIG_LIBS

in my .bashrc?

You can help me?
Thanks in advance.

Roy
1 None: Re: AIDA environment setting   (Andreas Pfeiffer - 08 Nov, 2004)
2 None: Re: AIDA environment setting   (Andreas Pfeiffer - 08 Nov, 2004)
Question Lizard on RH9  Keywords: lizard redhat9 anaphe
by Roy Warhol <roywarhol@yahoo.com>,   01 Nov, 2004
Dear experts,
I'm new user of gean4 and linux, and I have a problem with lizard.

I have already installed ANAPHE 5.0.6 on my PC (redhat9-gcc3.2) by the installation script.

anaphe-setup.py --topDir $HOME/Anaphe/release --version 5.0.6 --aidaDir $HOME/AIDA/3.0.0 --aidaVers 3.0.0 --platform redhat73/gcc-3.2

I have follow the instruction for make properly run ANAPHE on RH9 at the page:
http://anaphe.web.cern.ch/anaphe/faqs2.html#technical_redhat9

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

When I try to start lizard the output is:

$ lizard 
        +--------------------------------------------------+
        |                                                  |
        |                Welcome to Lizard                 |
        |                                                  |
        |          Version 3.0.0.7 (18 Aug 2003)           |
        |                                                  |
        |              http://cern.ch/Anaphe               |
        |                                                  |
        +--------------------------------------------------+
 
Chosen configuration:  HBook and XML  persistency and  Minuit minimizer engine
 
Type help() for help
 
Loading shared libraries  . . .
 ERROR loading lib  libCLHEP.so
Traceback (most recent call last):
  File "/home/neo/Anaphe/release//specific/redhat73/gcc-3.2/5.0.6/python/bin/.Lizardrc", line 258, in ?
    execfile(file)
  File "loadModules.py", line 86, in ?
    theListOfLoadedLibraries[lib] = dl.open( lib , dl.RTLD_GLOBAL | dl.RTLD_NOW
)
dl.error: libCLHEP.so: cannot open shared object file: No such file or directory:-)
KeyboardInterrupt
:-)

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

when i type the command
$aida-config
the output that I seen is

/home/neo/bin/aida-config: line 28:  6650 Segmentation fault      $LHCXX_REL_DIR/python/bin/aida-config.py $*

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

my .bashrc file is:

# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
	. /etc/bashrc
fi


#JAVA
export PATH=$PATH:/home/neo/j2sdk1.4.2_05/bin

#WIRED
alias wired=/home/neo/Wired/bin/wired
export WIRED_HOME=/home/neo/Wired

#ANAPHE
export PATH=$PATH:/home/neo/bin

#AIDA
#export G4ANALYSIS_AIDA_CONFIG_CFLAGS=
#export G4ANALYSIS_AIDA_CONFIG_LIBS=

#GEANT4 DATA FILES
export NeutronHPCrossSections=/home/neo/geant4/DataFiles/G4NDL3.7
export G4LEDATA=/home/neo/geant4/DataFiles/G4EMLOW2.3
export G4LEVELGAMMADATA=/home/neo/geant4/DataFiles/PhotonEvaporation
export G4RADIOACTIVEDATA=/home/neo/geant4/DataFiles/RadiativeDecay
export G4ELASTICDATA=/home/neo/geant4/DataFiles/Elastic

#ANALYSIS
export ANALYSIS_USE=1

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

Do you have any suggestion?
Thanks in advance for the help!

Roy

1 None: Re: Lizard on RH9   (Jeremy McCormick - 02 Nov, 2004)
None analysis for brachytherapy example  by <epoon@po-box.mcgill.ca>,   28 Oct, 2004

Hi,

I cannot compile the brachytherapy example program because i don't know how to install AIDA. I guess we need to install Anaphe? Do we also need something called Python?

I am using SuSE 9, gcc version 3.3.1. I tried according to the instructions in the Anaphe website last year but it didn't work.

Your help will be very much appreciated.

  

None JAIDA with Cygwin/gcc  by Fan Lei <Fan Lei>,   21 Oct, 2004

I have an applicantion using JAIDA which worked fine on Linux platform

but fails on Cygwin/g++ system.

Relavant screen printouts are show below, any suggestion why?

The A01 example works without a problem on both systems.

Fan

On Linux

______________________________

...

### Histo books 7 histograms

Tree store : exrdm-proton.aida

Creating Ntuple: Emitted Particles

Creating Ntuple: RadioIsotopes

Creating Ntuple: Energy Depositions

### Run : 0

...

On Cygwin/g++

______________________________

...

### Histo books 7 histograms

Loaded linked in JVM.

Looking for already loaded JVMs...

None found.

Using CLASSPATH.

classpathOption: -Djava.class.path=F:\cygwin\home\AIDAJN~1.2/lib/freehep-aidajni.jar;F:/cygwin/home/JAIDA-3.2.2/lib/optimizers.jar;F:/cygwin/home/JAIDA-3.2.2/lib/openide-lookup.jar;F:/cygwin/home/JAIDA-3.2.2/lib/jel.jar;F:/cygwin/home/JAIDA-3.2.2/lib/jas-plotter.jar;F:/cygwin/home/JAIDA-3.2.2/lib/freehep-hep.jar;F:/cygwin/home/JAIDA-3.2.2/lib/freehep-base.jar;F:/cygwin/home/JAIDA-3.2.2/lib/bcel.jar;F:/cygwin/home/JAIDA-3.2.2/lib/aida-dev.jar;F:/cygwin/home/JAIDA-3.2.2/lib/aida.jar;F:\cygwin\home\AIDAJN~1.2/lib/freehep-aidajni.jar;F:/cygwin/home/JAIDA-3.2.2/lib/optimizers.jar;F:/cygwin/home/JAIDA-3.2.2/lib/openide-lookup.jar;F:/cygwin/home/JAIDA-3.2.2/lib/jel.jar;F:/cygwin/home/JAIDA-3.2.2/lib/jas-plotter.jar;F:/cygwin/home/JAIDA-3.2.2/lib/freehep-hep.jar;F:/cygwin/home/JAIDA-3.2.2/lib/freehep-base.jar;F:/cygwin/home/JAIDA-3.2.2/lib/bcel.jar;F:/cygwin/home/JAIDA-3.2.2/lib/aida-dev.jar;F:/cygwin/home/JAIDA-3.2.2/lib/aida.jar;

Starting JVM...JVM Created.

Tree store : exrdm-proton.aida

Creating Ntuple: Emitted Particles

Creating Ntuple: RadioIsotopes

Creating Ntuple: Energy Depositions

### Run : 0

Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x80D9412

Function=JVM_RegisterUnsafeMethods+0x1351

Library=f:\j2sdk1.4.2_05\jre\bin\client\jvm.dll

Current Java thread:
        at java.lang.Throwable.fillInStackTrace(Native Method)
        - locked <0x220525a0> (a java.lang.NullPointerException)
        at java.lang.Throwable.<init>(Throwable.java:180)
        at java.lang.Exception.<init>(Exception.java:29)
        at java.lang.RuntimeException.<init>(RuntimeException.java:32)
        at java.lang.NullPointerException.<init>(NullPointerException.java:36)

[error occured during error reporting]

****************

Another exception has been detected while we were handling last error.

Dumping information about last error:

ERROR REPORT FILE = (N/A)

PC = 0x080d9412

SIGNAL = -1073741819

FUNCTION NAME = JVM_RegisterUnsafeMethods

OFFSET = 0x1351

LIBRARY NAME = f:\j2sdk1.4.2_05\jre\bin\client\jvm.dll

Please check ERROR REPORT FILE for further information, if there is any.

Good bye.

Question XrayTel can't produce *.hbook  Keywords: can't produce *.hbook
by Lam YiHua <LamCo@gawab.com>,   12 Oct, 2004

dear experts,

I've used JAIDA-3.2.1 and AIDAJNI-3.2.1, j2sdk1.4.2-05 to compile with "Xray_telescope".

I've tried the below compilation setting:

(1) (with OpenGl) + G4ANALYSIS_USE=1

(2) (without OpenGL) + G4ANALYSIS_USE=1

well... both compilation is ok and no error. Then when I run (1) following by (2): both of them prompted out

(a) java libraries (Loaded linked in JVM) can be loaded
    I supposed JAIDA-3.2.1 and AIDAJNI-3.2.1, j2sdk1.4.2-05 are OK.

(b) in <idle> state, I've tried "test.mac" everything is ok and
XrayTel successfully produced xraytel_out.
    Compare to xraytelref_out, both of them have similarity. 

(c) but the question is XrayTel didn't produced "xraytel.hbook"

***************************************************************

I did the same procedure with "underground_physics", "AnaEx01" and run both compiled program. UNFORTUNATELY, *.hbook and AnaEx01.root were not be produced.

Do you have any suggestion? Many Thanks... :)

kindly regards,

YiHua

1 None: Re: XrayTel can't produce *.hbook   (Mark Donszelmann - 12 Oct, 2004)
Question AIDA and GEANT4 on Mac OS X, Problem with aida-config  Keywords: JAIDA, aida-config, Mac OS X, G4ANALYSIS_AIDA_CONFIG_CFLAGS
by Joerg <orboeck@phys.ufl.edu>,   28 Sep, 2004

on my Mac OS X I have a GEANT4 running and I am currently trying to get the "extended example" A01 compiled. (The compilation of the novice examples ran smoothly!) For that I PRECISELY followed the instructions in the README and README.JAIDA files to setup AIDA. FIrst I got a compilation error about missing libraries, until I read on the tutorial web pages that I have to set the environment variables

G4ANALYSIS_AIDA_CONFIG_CFLAGS and G4ANALYSIS_AIDA_CONFIG_LIBS

properly.

Though the example given (aida-config --cflags and aida-config --lib) gets me into the next error messages. Investigating about it made me realise that in my case (having downloaded the tarball for the Darwin-g++ compiler on my Mac OS X) the option "--cflags" for aid-config is unknown. Though I have installed the latest versions of both

JAIDA: Version 3.2.3
AIDAJNI: Version 3.2.2

aida-config only has the options: --version, --lib, --include, --implementation.

Playing around with ..._CFLAGS variable always resulted in another error message.

Do you have any further suggestion for me?

Many thanks for your help!

Joerg

1 None: Re: AIDA and GEANT4 on Mac OS X, Problem with aida-config   (Mark Donszelmann - 13 Oct, 2004)
None AIDAJNI and "gdb"  by Fan Lei <Fan Lei>,   16 Sep, 2004

I have a program which work fine normally but crash when run under "gdb". The backtrace data seems to suggest a problem with AIDAJNI.

My question is can program linked to AIDAJNI be run under "gdb", if not what is the right tool to use for debugging.

Fan

----------------------------------
.
.
.
Index : 2     used in the geometry : Yes     recalculation needed : No 
 Material : Germanium
 Range cuts        :  gamma 1 mm     e- 1 mm     e+ 1 mm 
 Energy thresholds :  gamma 20.6936 keV    e- 863.242 keV    e+ 821.764 keV
 Region(s) which use this couple : 
    Detector

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

### Histo books 6 histograms Loaded linked in JVM. Looking for already loaded JVMs... None found. Using CLASSPATH.

classpathOption: -Djava.class.path=/fred/flei/AIDAJNI-3.2.2/lib/freehep-aidajni.jar:/fred/flei/JAIDA-3.2.2/lib/optimizers.jar:/fred/flei/JAIDA-3.2.2/lib/openide-lookup.jar:/fred/flei/JAIDA-3.2.2/lib/jel.jar:/fred/flei/JAIDA-3.2.2/lib/jas-plotter.jar:/fred/flei/JAIDA-3.2.2/lib/freehep-hep.jar:/fred/flei/JAIDA-3.2.2/lib/freehep-base.jar:/fred/flei/JAIDA-3.2.2/lib/bcel.jar:/fred/flei/JAIDA-3.2.2/lib/aida-dev.jar:/fred/flei/JAIDA-3.2.2/lib/aida.jar:
[New Thread 1098546368 (LWP 11663)] [New Thread 1099070528 (LWP 11664)] [New Thread 1099594688 (LWP 11665)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1081983616 (LWP 11642)] 0x43ac5e78 in ?? () (gdb) bt
#0  0x43ac5e78 in ?? ()
#1  0x43ac0d04 in ?? ()
#2  0x43ac0d04 in ?? ()
#3  0x43ac0d04 in ?? ()
#4  0x43ac0d04 in ?? ()
#5  0x43ac0d04 in ?? ()
#6  0x43ac0d04 in ?? ()
#7  0x43abe104 in ?? ()
#8  0x402e2a54 in JavaCalls::call_helper () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#9  0x403969ed in os::os_exception_wrapper () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#10 0x402e2ca6 in JavaCalls::call () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#11 0x402eb4a7 in jni_invoke_nonstatic () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#12 0x402ee6de in jni_CallObjectMethod () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#13 0x40eb3b36 in JNU_GetStringPlatformChars () from /usr/local/j2sdk/j2sdk1.4.2/jre/lib/i386/libjava.so
#14 0x40eb7e7f in Java_java_io_UnixFileSystem_canonicalize0 () from /usr/local/j2sdk/j2sdk1.4.2/jre/lib/i386/libjava.so
#15 0x43ac6bf2 in ?? ()
#16 0x43ac0d04 in ?? ()
#17 0x43ac0d04 in ?? ()
#18 0x43ac0d04 in ?? ()
#19 0x43ac0c83 in ?? ()
#20 0x43ac0ddb in ?? ()
#21 0x43ac0ddb in ?? ()
#22 0x43ac0ddb in ?? ()
#23 0x43abe104 in ?? ()
#24 0x402e2a54 in JavaCalls::call_helper () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#25 0x403969ed in os::os_exception_wrapper () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#26 0x402e2ca6 in JavaCalls::call () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#27 0x402e2de6 in JavaCalls::call_static () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#28 0x403dbc15 in call_initializeSystemClass () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#29 0x403deae8 in Threads::create_vm () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#30 0x403057ef in JNI_CreateJavaVM () from /usr/local/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
#31 0x4013c0b8 in JNICcreateJVM () from /fred/flei/AIDAJNI-3.2.2/lib/Linux-g++/libFHJNI.so
#32 0x4013c400 in JNIUtil::createJVM(JNIEnv_**, JavaVM_**) () from /fred/flei/AIDAJNI-3.2.2/lib/Linux-g++/libFHJNI.so
#33 0x4008a616 in JAIDA::JIAnalysisFactory::JIAnalysisFactory() () from /fred/flei/AIDAJNI-3.2.2/lib/Linux-g++/libAIDAJNI.so
#34 0x4008b1bf in AIDA_createAnalysisFactory () from /fred/flei/AIDAJNI-3.2.2/lib/Linux-g++/libAIDAJNI.so
#35 0x08063a70 in Histo::book() (this=0x8ca1df0) at src/Histo.cc:67
#36 0x08052604 in AnalysisManager::BeginOfRun() (this=0x8ca1f70) at src/AnalysisManager.cc:82
#37 0x08061637 in exrdmRunAction::BeginOfRunAction(G4Run const*) (this=0x8cc4958, aRun=0xa568718) at src/exrdmRunAction.cc:29
#38 0x085e55af in G4RunManager::RunInitialization() ()
#39 0x085e51b4 in G4RunManager::BeamOn(int, char const*, int) ()
#40 0x085ee143 in G4RunMessenger::SetNewValue(G4UIcommand*, G4String) ()
#41 0x0874a000 in G4UIcommand::DoIt(G4String) ()
#42 0x0875797a in G4UImanager::ApplyCommand(char const*) ()
#43 0x087604ea in G4UIbatch::SessionStart() ()
#44 0x08755c15 in G4UImanager::ExecuteMacroFile(char const*) ()
#45 0x08765153 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) ()
#46 0x0874a000 in G4UIcommand::DoIt(G4String) ()
#47 0x0875797a in G4UImanager::ApplyCommand(char const*) ()
#48 0x080513da in main (argc=2, argv=0xbfffe344) at exRDM.cc:74
#49 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
(gdb)

1 None: RE: AIDAJNI and "gdb"   (tony_johnson@slac.stanford.edu - 16 Sep, 2004)
(_ None: RE: AIDAJNI and "gdb"   (Fan Lei - 17 Sep, 2004)
None Mixed data type NTUPLE  by