GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Processing runLumiDrawGeo.C
Processing runLumiDrawGeo.C [message #10664] Mon, 10 May 2010 09:43 Go 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
Hello,

While running the macro runLumiDrawGeo.C , it gives following error
..................................
Error: illegal pointer to class object geoMan 0x0 2423 runLumiDrawGeo.C:13:
*** Interpreter error recovered ***
..................................

Is this error comes due to linking problem with root geometry,
if so what should I do to correct it ?


Manoj Jadhav
I.I.T.Bombay
Mumbai
Re: Processing runLumiDrawGeo.C [message #10667 is a reply to message #10664] Fri, 14 May 2010 14:16 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
hello,

When I run runLumiSim.C, FAIRGeom was missing in lumisim.root, which gave error while running runLumiDrawGeo.C.

I read some discussion on similar topic at link
http://forum.gsi.de/index.php?t=msg&th=2582&start=0&rid=93&a mp;S=8a415fbc32c8b125305ad77d67d51b4e
but I couldn't understand the proper solution.

What should I do to fix the error? Please help me in this regards.

With Regards,


Manoj Jadhav
I.I.T.Bombay
Mumbai
Re: Processing runLumiDrawGeo.C [message #10671 is a reply to message #10667] Fri, 14 May 2010 23:43 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *0-87-r.retail.telecomitalia.it
The solution is:

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

TFile* file = new TFile("testparams.root");
file->Get("FairBaseParSet"); 

// now the geometry is available as TGeo in memory

gGeoManager->GetMasterVolume()->Draw("ogl");


where testparams is not your simulation file but the parameter one.
Previous Topic: CHEP 2010: deadline of the Call for Abstracts has been extended!!!
Next Topic: Processing runLumiDigi.C
Goto Forum:
  


Current Time: Thu Apr 25 22:07:23 CEST 2024

Total time taken to generate the page: 0.01097 seconds