Message: Re: Outputting root files in Geant 4 Applications via AIDA Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Outputting root files in Geant 4 Applications via AIDA 

Forum: Analysis
Re: None Outputting root files in Geant 4 Applications via AIDA (Dylan)
Re: None Re: Outputting root files in Geant 4 Applications via AIDA (Guy Barrand)
Date: 17 May, 2010
From: Dylan <Dylan>

Hi Guy,

I installed osc_batch v16.11 from: osc_batch-16.11-Darwin-x86_64-gcc_421.zip

This went fine and I was able to build AnaEx01 successfully, after modifying src/AnaEx01AnalysisManager.cc to include

  std::string format("root");

in the constructor. However, after running aida-setup.sh, making AnaEx01 and running the application, no root file is produced. The same problem I was having before. I assume the root file should be written to $G4WORKDIR/AnaEx01. I've checked here and other places and it is not present.

In addition to this I've tried setting the G4ANALYSIS_USE variable via 'export G4ANALYSIS_USE=1' and also via G4ANALYSIS_USE := true in the GNUmakefile for AnaEx01. Neither of these modifications have yielded any root output.

I also tried inserting the following lines, as suggested in thread #339:

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

and then, when this didn't work after another make:

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

I tried the same modifications for the TestEm3 example, and again I was unable to produce any histogram files (via the /testem/histo UI commands).

I'm running Root version 5.26/00, which is installed and runs fine on its own. I also tried setting the root environment variables as per the following link:

http://root.cern.ch/root/EnvVars.html

Another suggestion from thread #339. But with no luck.

I really can't think what is stopping the root files from being produced. If you have any ideas, they would be most welcome.

Many regards,

Dylan

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

1 None: Re: Outputting root files in Geant 4 Applications via AIDA   (Ivana Hrivnacova - 18 May, 2010)
 Add Message Add Message
to: "Re: Outputting root files in Geant 4 Applications via AIDA"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]