GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » rootlogon.C
rootlogon.C [message #6433] Tue, 15 April 2008 12:03 Go to next message
Sebastian Neubert is currently offline  Sebastian Neubert
Messages: 282
Registered: March 2006
Location: Munich
first-grade participant

From: *e18.physik.tu-muenchen.de
Dear colleagues,

I have a request:
Can we define a common rootlogon script, to make sure that all the libraries and dictionaries are available when opening a data file?

How are you handling this?

Kind Regards, Sebastian.


Sebastian Neubert
Technische Universität München
Department Physik E18
sneubert@e18.physik.tu-muenchen.de
tel: +49-8928912592
Re: rootlogon.C [message #6434 is a reply to message #6433] Tue, 15 April 2008 12:27 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
I agree (I have my personal rootlogon.C).
Re: rootlogon.C - good idea [message #6435 is a reply to message #6433] Tue, 15 April 2008 12:48 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: 141.30.85*
Hi Sebastian,

I like this approach, too. It should be inside svn, too. Then these dependency problems might just bother the corresponding developer.

Kind regards,
Ralf.
Re: rootlogon.C - good idea [message #6437 is a reply to message #6435] Tue, 15 April 2008 16:30 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
My old proposal (that I am using at the moment) was to have a rootlogon.C file under gconfig, so that just changing the .rootrc in our home directory one could use it.

If you agree I could upload one file there, or if you have better idea just write here Smile
Re: rootlogon.C - good idea [message #6554 is a reply to message #6437] Mon, 21 April 2008 17:09 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Hello,

I have added in gconfig directory a preliminary "rootlogon.C" file.
Maybe something is missing there, in the case just post here in the forum what you miss.

In order to use it, you have to create in your home directory a file called .rootrc, and there you have to write the following line:

Rint.Logon: $(VMCWORKDIR)/gconfig/rootlogon.C

Nothing else. And you will have all the libraries loaded in the correct way each time you will open root (but only after you have called the config.sh script, that set VMCWORKDIR).
Previous Topic: TPC dEdx
Next Topic: GEANT3 energy loss
Goto Forum:
  


Current Time: Sun Nov 24 09:02:52 CET 2024

Total time taken to generate the page: 0.00765 seconds