Time stamps in MCEventHeader [message #6731] |
Thu, 15 May 2008 09:57 |
Mohammad Al-Turany
Messages: 518 Registered: April 2004 Location: GSI, Germany
|
first-grade participant |
From: *gsi.de
|
|
Hi,
I added time stamps to the MCEventHeader (r 2772), to use this in the simulation macro:
CbmPrimaryGenerator* primGen = new CbmPrimaryGenerator();
primGen->SetEventTimeInterval ( minTime, maxTime) ;
the event time will be a random number between minTime and maxTime in nano secounds, it will also be added for each event, i.e: each event will have the time of all previous events+ its own one!
regards
Mohammad
[Updated on: Thu, 15 May 2008 09:57] Report message to a moderator
|
|
|