GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » CBM » CBMROOT » General » FairMCEventHeader
Requirements [message #8515 is a reply to message #8510] Tue, 12 May 2009 02:12 Go to previous messageGo to previous message
Volker Friese is currently offline  Volker Friese
Messages: 365
Registered: April 2004
Location: GSI CBM
first-grade participant
From: *gsi.de
OK, I implemented that and it works. What is required from the framework is:

1. Introduce a method
virtual void Init() { };
in FairPrimaryGenerator.h

2. Declare the private members of FairPrimaryGenerator protected (in fact, this is needed only for fStack).

3. Declare the method FairPrimaryGenerator::GenerateEvent virtual.

4. Add
if(fEvGen)fEvGen->Init();
somewhere in FairMCApplication::Init
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New safety feature
Next Topic: CbmGenerators and MCEvent
Goto Forum:
  


Current Time: Sat Oct 05 02:41:16 CEST 2024

Total time taken to generate the page: 0.00803 seconds