Home » PANDA » PandaRoot » Analysis » [FIXED] Mc Truth Match
Re: Mc Truth Match [message #15326 is a reply to message #15325] |
Fri, 23 August 2013 12:38 |
StefanoSpataro
Messages: 2736 Registered: June 2005 Location: Torino
|
first-grade participant |
From: 2.235.190*
|
|
Ok, I found that the tutorial analysis macro is not loading the ascii param file.
Can you try the following:
// *** initialization
FairRunAna* fRun = new FairRunAna();
FairRuntimeDb* rtdb = fRun->GetRuntimeDb();
fRun->SetInputFile(inPidFile);
+ TString anaParFile = gSystem->Getenv("VMCWORKDIR");
+ anaParFile += "/macro/params/all.par";
+ FairParAsciiFileIo* parIo1 = new FairParAsciiFileIo();
+ parIo1->open(anaParFile.Data(),"in");
FairParRootFileIo* parIO = new FairParRootFileIo();
parIO->open(inParFile);
rtdb->setFirstInput(parIO);
+ rtdb->setSecondInput(parIo1);
rtdb->setOutput(parIO);
Please add the "+" lines in your analysis macro, and let me know.
(I realized that by default the "clear" value for Loose is 0.2, and that you were not loading the updated pidana.par).
After you should see:
-I- FairRunTimeDB::InitContainer() ANAPidSelections
ANAPidSelections initialized from Ascii file
[Updated on: Fri, 23 August 2013 12:40] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Sep 15 13:04:37 CEST 2024
Total time taken to generate the page: 0.00823 seconds
|