GSI Helmholtzzentrum für Schwerionenforschung
[FIXED] Problems with analysis: PidAlgoMvd not found in Tree
Hey guys! I have a problem when running my analysis. I try do do a simulation using the Event Generator developed by Manuel Zambrana, wich is included in PandaRoot and available to everybody. To do that I followed the instructions of Dmitry Khaneft, and I manage to do the simulation, digitization, reconstruction and particle identification. But when I run the analysis I get the next Warning and then it crashes ************************************************************* initialisation for run id 1398851978 ************************************************************* -I- FairRunTimeDB::InitContainer() FairGeoParSet -I- FairRunTimeDB::InitContainer() FairBaseParSet -I- FairRunTimeDB::InitContainer() PndSensorNamePar -I- FairRunTimeDB::InitContainer() PndMultiFieldPar -I- FairRunTimeDB::InitContainer() ANAPidSelections ANAPidSelections initialized from Ascii file [INFO ] The number of entries in chain is 1000 [INFO ] Branch: PidAlgoMvd not found in Tree [INFO ] Branch: PidAlgoMvd not found in Tree Warning in <PndAnaPidCombiner::PndAnaPidCombiner::ReadTCA()>: No "PidAlgoMvd" array found. *** Break *** segmentation violation I don't want to start copying all my simulation and analysis code, and it looks like the problem comes from the PID macro... but I'm not sure about it. Can I get any hints/help to solve the problem? The same analysis works for another e+e- event generator, without problem, and I didn't change anything from the digi, reco, pid macros... I'm a bit lost... Thanks in advance
Re: Problems with analysis: PidAlgoMvd not found in Tree
Can you open the pid_complete.root and check from the TBrowser that PidAlgoMvd is written there? And could you check if in pid_complete.C the following lines are included and not commented out: PndPidMvdAssociatorTask *assMvd= new PndPidMvdAssociatorTask(); fRun->AddTask(assMvd);
Thanks Stefano, I tried to read the file with the TBrowser, the PID branches were all not saved. I found the origin of the problem, I was reading the wrong input file in one of the steps... (My fault ) It took me some time to find out, but now It finally works. Thanks again for your help, and sorry for the inconveniences. Mamen