GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » Bug?
Bug? [message #14770] Thu, 23 May 2013 12:47 Go to previous message
Jifeng Hu is currently offline  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?
 
Read Message
Read Message
Previous Topic: updates on the forward end-cap geometry and simulations
Next Topic: small update!
Goto Forum:
  


Current Time: Thu Mar 28 13:24:54 CET 2024

Total time taken to generate the page: 0.00943 seconds