GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » FairMCEventHeader
FairMCEventHeader [message #13227] Fri, 16 March 2012 17:06 Go to previous message
Volker Friese is currently offline  Volker Friese
Messages: 365
Registered: April 2004
Location: GSI CBM
first-grade participant
From: *gsi.de
Hi,

from CBM, we would need to store the event plane angle (from the generator) as MC event variable. The proper place seems to be FairMCEventHeader. Is it possible to add a corresponding member to this class, with proper accessor and modifier?

More strategically thinking, it may happen again in the future that a particular application wants to store additional info in the MC event header (e.g., settings of the event generator). What would you propose as solution for this? I understand that FairMCEventHeader is used by the framework, e.g. for the run number and maybe other things. Of course, we can implement an additional class and branch in the tree, but then would have to change all generator classes to fill that one.

What do you think is the best solution? Some inheritance scheme?
 
Read Message
Read Message
Read Message
Previous Topic: FairMCPoint
Next Topic: Multiple input files / trees
Goto Forum:
  


Current Time: Sun Oct 06 00:59:22 CEST 2024

Total time taken to generate the page: 0.00793 seconds