Bug? [message #14770] |
Thu, 23 May 2013 12:47 |
Jifeng Hu
Messages: 31 Registered: October 2012
|
continuous participant |
From: *physik.uni-giessen.de
|
|
Emc simulation codes section as follows:
TString parFile = "simparams_10.root";
TString digiFile = "emc.par";
later open and read:
FairRuntimeDb* rtdb = fRun->GetRuntimeDb();
FairParAsciiFileIo* parIo1 = new FairParAsciiFileIo();
parIo1->open(emcDigiFile.Data(),"in");
FairParRootFileIo* parInput1 = new FairParRootFileIo();
parInput1->open(parFile.Data());
//pay attention here, if we do like this:
rtdb->setFirstInput(parIo1);
rtdb->setSecondInput(parInput1);
//or swap the input order
rtdb->setFirstInput(parInput1);
rtdb->setSecondInput(parIo1);
we do have different results, anyone meets such things?
|
|
|