GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Processing draw_geom.C
Processing draw_geom.C [message #10476] Tue, 30 March 2010 11:43 Go to next message
manoj.jadhav is currently offline  manoj.jadhav
Messages: 41
Registered: February 2010
Location: Mumbai, India
continuous participant
From: 203.78.217*
hello all,


After the following command I face a error pasted below,

root draw_geom.C

.................................
Processing draw_geom.C...
Error: Function isLibrary("libSQL") is not defined in current scope /home/manoj/panda/pandaroot/gconfig/basiclibs.C:29:

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

please let me know how to remove this error.


Manoj Jadhav
I.I.T.Bombay
Mumbai
Re: Processing draw_geom.C [message #10478 is a reply to message #10476] Tue, 30 March 2010 19:48 Go to previous messageGo to next message
Johan Messchendorp is currently offline  Johan Messchendorp
Messages: 693
Registered: April 2007
Location: University of Groningen
first-grade participant

From: *xs4all.nl
Hi,

The function "isLibrary" is defined in the "gconfig/rootlogon.C" file. Make sure you call this one first before running the macro:

Quote:

gROOT->LoadMacro("$VMCWORKDIR/gconfig/rootlogon.C");
rootlogon();


In most of the macros, these lines are included already. Could be that some of the macros do not have this line, although the "basiclibs.C" make a call to "isLibrary" function. Just add them, or run the rootlogon.C before you run the macro.

Greetings,

Johan.
Re: Processing draw_geom.C [message #10487 is a reply to message #10478] Wed, 31 March 2010 13:29 Go to previous messageGo to next message
manoj.jadhav is currently offline  manoj.jadhav
Messages: 41
Registered: February 2010
Location: Mumbai, India
continuous participant
From: *162.23.19.static-mumbai.vsnl.net.in
Thank you,

now the error is,


........................................................................ ...........
Error in <TUnixSystem::DynamicPathName>: libGeoBase[.so | .sl | .dl | .a | .dll] does not exist in /home/manoj/panda/fairroot/fairsoft/tools/root/lib:/home/manoj/panda/fai rroot/fairsoft/tools/root/lib:/home/manoj/panda/fairroot/fairsoft/tools/ root/lib:/home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj /panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home/ma noj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home /manoj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:.: /home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj/panda/fa irroot/fairsoft/tools/root/cint/cint/stl
Error in <TUnixSystem::DynamicPathName>: libParBase[.so | .sl | .dl | .a | .dll] does not exist in /home/manoj/panda/fairroot/fairsoft/tools/root/lib:/home/manoj/panda/fai rroot/fairsoft/tools/root/lib:/home/manoj/panda/fairroot/fairsoft/tools/ root/lib:/home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj /panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home/ma noj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home /manoj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:.: /home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj/panda/fa irroot/fairsoft/tools/root/cint/cint/stl
Error in <TUnixSystem::DynamicPathName>: libBase[.so | .sl | .dl | .a | .dll] does not exist in /home/manoj/panda/fairroot/fairsoft/tools/root/lib:/home/manoj/panda/fai rroot/fairsoft/tools/root/lib:/home/manoj/panda/fairroot/fairsoft/tools/ root/lib:/home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj /panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home/ma noj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home /manoj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:.: /home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj/panda/fa irroot/fairsoft/tools/root/cint/cint/stl
Error in <TUnixSystem::DynamicPathName>: libPndData[.so | .sl | .dl | .a | .dll] does not exist in /home/manoj/panda/fairroot/fairsoft/tools/root/lib:/home/manoj/panda/fai rroot/fairsoft/tools/root/lib:/home/manoj/panda/fairroot/fairsoft/tools/ root/lib:/home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj /panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home/ma noj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home /manoj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:.: /home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj/panda/fa irroot/fairsoft/tools/root/cint/cint/stl
Error in <TUnixSystem::DynamicPathName>: libField[.so | .sl | .dl | .a | .dll] does not exist in /home/manoj/panda/fairroot/fairsoft/tools/root/lib:/home/manoj/panda/fai rroot/fairsoft/tools/root/lib:/home/manoj/panda/fairroot/fairsoft/tools/ root/lib:/home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj /panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home/ma noj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home /manoj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:.: /home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj/panda/fa irroot/fairsoft/tools/root/cint/cint/stl
Error in <TUnixSystem::DynamicPathName>: libPassive[.so | .sl | .dl | .a | .dll] does not exist in /home/manoj/panda/fairroot/fairsoft/tools/root/lib:/home/manoj/panda/fai rroot/fairsoft/tools/root/lib:/home/manoj/panda/fairroot/fairsoft/tools/ root/lib:/home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj /panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home/ma noj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home /manoj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:.: /home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj/panda/fa irroot/fairsoft/tools/root/cint/cint/stl
Error in <TUnixSystem::DynamicPathName>: libDrcProp[.so | .sl | .dl | .a | .dll] does not exist in /home/manoj/panda/fairroot/fairsoft/tools/root/lib:/home/manoj/panda/fai rroot/fairsoft/tools/root/lib:/home/manoj/panda/fairroot/fairsoft/tools/ root/lib:/home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj /panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home/ma noj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home /manoj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:.: /home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj/panda/fa irroot/fairsoft/tools/root/cint/cint/stl
Error in <TUnixSystem::DynamicPathName>: libDrc[.so | .sl | .dl | .a | .dll] does not exist in /home/manoj/panda/fairroot/fairsoft/tools/root/lib:/home/manoj/panda/fai rroot/fairsoft/tools/root/lib:/home/manoj/panda/fairroot/fairsoft/tools/ root/lib:/home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj /panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home/ma noj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home /manoj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:.: /home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj/panda/fa irroot/fairsoft/tools/root/cint/cint/stl
Error in <TUnixSystem::DynamicPathName>: libGen[.so | .sl | .dl | .a | .dll] does not exist in /home/manoj/panda/fairroot/fairsoft/tools/root/lib:/home/manoj/panda/fai rroot/fairsoft/tools/root/lib:/home/manoj/panda/fairroot/fairsoft/tools/ root/lib:/home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj /panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home/ma noj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:/home /manoj/panda/cern/lib:/home/manoj/panda//fairroot/fairsoft/cern/clhep:.: /home/manoj/panda/fairroot/fairsoft/tools/root/lib::/home/manoj/panda/fa irroot/fairsoft/tools/root/cint/cint/stl
Error in <TFile::TFile>: file /d/panda01/carsten/s36.root does not exist
Error: illegal pointer to class object geoMan 0x0 2423 draw_geom.C:38:
........................................................................ ..........


Manoj Jadhav
I.I.T.Bombay
Mumbai
Re: Processing draw_geom.C [message #10495 is a reply to message #10476] Wed, 31 March 2010 16:10 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *pool.mediaWays.net
Hello,

Looking at the errors I don't see your pandaroot build directory listed. Did you call the config.sh from your build directory before running the script?

Kind regards, Ralf.
Re: Processing draw_geom.C [message #10501 is a reply to message #10495] Thu, 01 April 2010 07:58 Go to previous messageGo to next message
manoj.jadhav is currently offline  manoj.jadhav
Messages: 41
Registered: February 2010
Location: Mumbai, India
continuous participant
From: 203.78.217*
Hi

In Draw_geom.C macro

TFile* file = new TFile("/d/panda01/carsten/s36.root");

In my working directory there is no s36.root file and hence while running draw_geom.C it is giving the following error:

Note: File "/home/manoj/panda/pandaroot/buildPanda/lib/libDrc.so" already loaded
Error in <TFile::TFile>: file /d/panda01/carsten/s36.root does not exist
Error: illegal pointer to class object geoMan 0x0 2423 draw_geom.C:38:
*** Interpreter error recovered ***

what is the contain of the file s36.root and how to generate it?



Manoj Jadhav
I.I.T.Bombay
Mumbai
Re: Processing draw_geom.C [message #10502 is a reply to message #10501] Thu, 01 April 2010 08:07 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *14-87-r.retail.telecomitalia.it
Hi,
why are you loading that file? You should put there the parameter file you created in the simulation macro.
From where have you taken that draw_geom?
Re: Processing draw_geom.C [message #10581 is a reply to message #10476] Fri, 23 April 2010 09:21 Go to previous messageGo to next message
manoj.jadhav is currently offline  manoj.jadhav
Messages: 41
Registered: February 2010
Location: Mumbai, India
continuous participant
From: *162.23.19.static-mumbai.vsnl.net.in
Hi all,

While running pandaroot/macro/drc/draw_geom.C it shows following error,
............................................
Error: illegal pointer to class object geoMan 0x0 2423 draw_geom.C:39:
*** Interpreter error recovered ***
............................................
line 39 is geoMan->SetVisLevel(6);

what should I do to solve this problem.



with regards,


Manoj Jadhav
I.I.T.Bombay
Mumbai
Re: Processing draw_geom.C [message #10584 is a reply to message #10581] Fri, 23 April 2010 12:59 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Your macro is very obsolete.
The official drawing macro is:
macro/run/drawGeo.C

[Updated on: Fri, 23 April 2010 14:28]

Report message to a moderator

Previous Topic: many many warnings in pandaroot compilation
Next Topic: Constructors of FairHit and FairBasePoint and const
Goto Forum:
  


Current Time: Tue Dec 03 18:37:37 CET 2024

Total time taken to generate the page: 0.00698 seconds