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: *
The solution is:


TFile* file = new TFile("testparams.root");

// now the geometry is available as TGeo in memory


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