GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » FairMCEventHeader
Nice [message #13243 is a reply to message #13231] Thu, 22 March 2012 10:39 Go to previous message
Volker Friese is currently offline  Volker Friese
Messages: 365
Registered: April 2004
Location: GSI CBM
first-grade participant
From: *

Such as scheme is already implemented since more than a year. For CBM there is a CbmMCEvent and CbmMCEventHeader which can be used instead of the FairMCEvent or FairMCEventHeader. Both classes inherit from the base classes and add new data members. The CbmMCEventHeader for example add an additional data member for the reaction plane angle. To use the CbmMCEventHeader one has to add the following lines in the simulation macro

Nice feature. I know that we discussed it some times ago, but was not aware that is has been implemented. Must be the age.

By the way: What happens if you do not specify the usage of CbmMCEventHeader in the macro? I suppose the CbmUrqmdGenerator crashes when doing the dynamic cast.
Read Message
Read Message
Read Message
Previous Topic: FairMCPoint
Next Topic: Multiple input files / trees
Goto Forum:

Current Time: Thu Jul 25 13:57:40 CEST 2024

Total time taken to generate the page: 0.00653 seconds