GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » compilation of macros
Re: compilation of macros [message #9892 is a reply to message #9866] Mon, 07 December 2009 14:38 Go to previous messageGo to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Bertram

Quote:

Cloning at runtime is helpful if you would like to use a (sub)task/module several times in your application.
Let's assume, one has a (sub)task/module which is responsible for creating a list of data object references based on specific input parameters. Cloning means in this context that one creates a second identical (sub)task but with different input parameters.


I think you don't understand what rootcint and the framework can do. What you requested is already there. For example have a look at eventDisplay.C in the macro/run directory of pandaroot. There you will find an example which shows that you add many times one task with differnt parameters in the same macro. If I understand you correctly this is exactely what you're are looking for.

Ciao

Florian
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TPC geant4
Next Topic: Small bug with cmake/config.sh
Goto Forum:
  


Current Time: Sun Dec 05 11:57:40 CET 2021

Total time taken to generate the page: 0.02642 seconds