GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Processing runLumiDrawGeo.C
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.
 
Read Message
Read Message
Read Message
Previous Topic: CHEP 2010: deadline of the Call for Abstracts has been extended!!!
Next Topic: Processing runLumiDigi.C
Goto Forum:
  


Current Time: Tue Sep 26 00:50:55 CEST 2023

Total time taken to generate the page: 0.00922 seconds