GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Event mixing and time stamps in FairRoot/PandaRoot
Event mixing and time stamps in FairRoot/PandaRoot [message #12132] Fri, 24 June 2011 15:19
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hallo,

Event mixing and new time stamps are now implemented in the base classes of FairRoot, An example is also available (pandaroot/macro/run/example_mix), three macros to produce background and two signals are the and a digi macro which take all three files as an input and mix them according to the user setting.

Time stamps can now be set also after simulation from macro:

fRun->SetEventMeanTime( Tau);

This will create a random time for each event taken from the formula: (1/Tau)Exp(-x/Tau).

The output file contains now additional information about list of tasks used to produce the file, and list (with some info) of input files. In the EventHeader there is also additional information which can be used to figure out later where the event comes from (signal/background).

The old functionality should not be effected, please test it and let me know.

Cheers,

Mohammad


 
Read Message
Previous Topic: new version
Next Topic: Psi3770 study
Goto Forum:
  


Current Time: Tue Dec 10 16:46:44 CET 2024

Total time taken to generate the page: 0.01098 seconds