DpmGen set start Event [message #9034] |
Tue, 21 July 2009 17:09 |
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
|
|
|