|Toward new geant4, new new root and new vmc: compilation [message #4885]
||Fri, 10 August 2007 19:45
Registered: June 2005
I started to study what is going on with the next external packages, so I will report on the errors and the fixes that will be needed.
I installed geant4 v9.0, root v5.16 and vmc from cvs (developement version - some jobs are still going on).
No problems at all with g4, but for root the rootconfig.sh needs an update: the option --enable-thread is not exiting anymore, so it should be eliminated.
About PandaRoot, it seems with the new root many includes are now mandatory, such as TROOT and TMath, and something changed in TBuffer -> it should be now TBufferFile.
I write you the list of all the changes that are required, the class name and the corresponding missing include. When something is required inside the code, I put the line number:
base/CbmRunSim.cxx TROOT TSystem
base/CbmTrajFilter.cxx (310) return new(clref[tsize]) TGeoTrack(T->GetId(), T->GetPDG(), T->GetMother(), T->GetParticle()); instead of return new(clref[tsize]) TGeoTrack(*T);
stt2/CbmSttFitTracksQa.cxx (201) view = TView::CreateView(1); instead of view = new TView(1);
The changes for blue lines are already put in svn, while I did not touch the others because:
a) I cannot (base, parbase, geobase, generators)
b) I do not know if people are working on the files (tpc, dch, genfit)
c) I am not so sure if the changes are compatible with our root 5.14 (stt2/CbmSttFitTracksQa.cxx)
If you could update the missing stuff, we will save a lot of time and work when we will move to new external packages.
|Re: Toward new geant4, new new root and new vmc: compilation [message #4886 is a reply to message #4885]
||Fri, 10 August 2007 20:05
Registered: June 2005
After installing here in Gießen these external packages and PandaRoot with all the fixes, here the status:|
Simulation does not work with geant3, but I have to investigate on the reason. Maybe some options in the g3Config.C that need an update, I do not know. It seems it is not able to close the geometry (FinishGeometry)
Help is well accepted... in each case read even after the log message...
Info in <TGeoManager::CloseGeometry>: ----------------modeler ready----------------
*** Break *** segmentation violation
Using host libthread_db library "/lib/libthread_db.so.1".
Attaching to program: /proc/5369/exe, process 5369
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1224095552 (LWP 5369)]
0xffffe410 in __kernel_vsyscall ()
#1 0xb7156a03 in waitpid () from /lib/libc.so.6
#2 0xb7101569 in strtold_l () from /lib/libc.so.6
#3 0xb71f736d in system () from /lib/libpthread.so.0
#4 0xb7ab5d2d in TUnixSystem::Exec () from /d/c0/cbmsoft/newcbmsoft/tools/root/lib/libCore.so.5.16
#5 0xb7aba467 in TUnixSystem::StackTrace () from /d/c0/cbmsoft/newcbmsoft/tools/root/lib/libCore.so.5.16
#6 0xb7ab9dff in TUnixSystem::DispatchSignals () from /d/c0/cbmsoft/newcbmsoft/tools/root/lib/libCore.so.5.16
#7 0xb7ab9f2d in SigHandler () from /d/c0/cbmsoft/newcbmsoft/tools/root/lib/libCore.so.5.16
#8 0xb7ab30b0 in sighandler () from /d/c0/cbmsoft/newcbmsoft/tools/root/lib/libCore.so.5.16
#9 <signal handler called>
#10 0xb39b2456 in TGeant3TGeo::FinishGeometry (this=0x8617b08) at TGeant3TGeo.cxx:2068
#11 0xb39adc9e in TGeant3::Init (this=0x8617b08) at TGeant3.cxx:5862
#12 0xb35dfe0f in CbmMCApplication::InitMC (this=0x85c55a0, setup=0x85d1300 "/home/spataro/newbuild/pandaroot/gconfig/g3Config.C")
#13 0xb35efb18 in CbmRunSim::Init (this=0x855f060) at /home/spataro/newbuild/pandaroot/base/CbmRunSim.cxx:117
#14 0xb361f607 in G__CbmDict_641_0_4 (result7=0xbffaf21c, funcname=0x855cab0 "\001", libp=0xbffa8e54, hash=0) at /home/spataro/newbuild/cbuild/base/CbmDict.cxx:8192
Simulation seems to work with Geant4.
In particular the computation for EMC (photons) is now fast and it seems we have an improvement in reconstructed energy (plots the next week, hopefully)