GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Time stamps in MCEventHeader
Time stamps in MCEventHeader [message #6731] Thu, 15 May 2008 09:57 Go to previous message
Mohammad Al-Turany is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SVN stable branch!
Next Topic: How to store only MCTrack in a root file?
Goto Forum:
  


Current Time: Tue Dec 03 02:20:07 CET 2024

Total time taken to generate the page: 0.00671 seconds