Writting Parameters

Writting Parameters to Root files:

FairRuntimeDb* rtdb = fRun->GetRuntimeDb();
Bool_t kParameterMerged = kTRUE;
FairParRootFileIo* parOut = new FairParRootFileIo(kParameterMerged);
parOut->open("parfiles/testparams.root");
rtdb->setOutput(parOut);
rtdb->saveOutput();