GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » DpmGen set start Event
DpmGen set start Event [message #9034] Tue, 21 July 2009 17:09
Mathias Michel is currently offline  Mathias Michel
Messages: 21
Registered: May 2009
Location: Mainz
occasional visitor

From: *kph.uni-mainz.de
Hi all,

i would like to propose a minor addition to the standard constructor of the Dpm-Generator (pgenerators/PndDpmGenerator.h .cxx):
If i can set the position of the starting Event it is easier for me to split my simulations (e.g. for a batch-farm) and if the standard value of startEvent in the definition is 0 no change is necessary if you don't need this feature.

PndDpmGenerator::PndDpmGenerator(const Char_t* fileName, const int startEvent) {
//iEvent = 0; //old
iEvent = startEvent; //new
....
}

Maybe this could be useful for others too?

Best regards
Mathias

[Updated on: Mon, 27 July 2009 10:03]

Report message to a moderator

 
Read Message
Previous Topic: EvtGen vertex coordinates in mm?
Next Topic: EvtGen Output Fixed Point Precision
Goto Forum:
  


Current Time: Thu Apr 18 10:16:55 CEST 2024

Total time taken to generate the page: 0.01020 seconds