|
|
|
|
|
|
Re: Update Notes [message #15131 is a reply to message #14913] |
Wed, 07 August 2013 23:20 |
Simon Reiter
Messages: 44 Registered: May 2013
|
continuous participant |
From: *dip0.t-ipconnect.de
|
|
Hi Klaus,
I tried it another time to rewrite. This time I didn't used theAnalysis->McTruthMatch(piplus[ipiplus]).
I followed your script part and wrote:
if (piplus[ipiplus]->GetMcTruth()){
RhoCandidate* motherId = piplus[ipiplus]->GetMcTruth()->TheMother();
if(motherId && motherId->PdgCode()==88888) { ... }
}
But I'm getting an error for TheMother:
#0 0x00007fa22815844e in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007fa2280de29e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007fa229031407 in TUnixSystem::StackTrace() () from /home/panda/fairsoft/sep12build/lib/root/libCore.so.5.34
#3 0x00007fa229033ce3 in TUnixSystem::DispatchSignals(ESignals) () from /home/panda/fairsoft/sep12build/lib/root/libCore.so.5.34
#4 <signal handler called>
#5 0x00007fa215bb0a60 in RhoCandidate::TheMother (this=0x8011) at /home/panda/pandaroot/trunk/rho/RhoBase/RhoCandidate.h:267
#6 0x00007fa215b5c808 in G__G__RhoDict_321_0_68 (result7=0x176e9a0, funcname=0x281 <Address 0x281 out of bounds>, libp=0x7fff6c89f730, hash=-85) at /home/panda/pandaroot/trunkbuild/rho/G__RhoDict.cxx:7519
#7 0x00007fa22730d9ab in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) () from /home/panda/fairsoft/sep12build/lib/root/libCint.so.5.34
#8 0x00007fa2273202de in G__exec_asm () from /home/panda/fairsoft/sep12build/lib/root/libCint.so.5.34
#9 0x00007fa2273ec4ff in G__exec_loop(char const*, char*, std::list<G__FastAllocString, std::allocator<G__FastAllocString> > const&) [clone .constprop.69] () from /home/panda/fairsoft/sep12build/lib/root/libCint.so.5.34
#10
....
Why can't PandaRoot get the mother candidate after it is checked, that the mctruth candidate is available?
This even happend not in the 1st event!
Best regards
Simon
|
|
|
|
|
|
Re: Update Notes [message #15165 is a reply to message #14913] |
Fri, 09 August 2013 14:49 |
Simon Reiter
Messages: 44 Registered: May 2013
|
continuous participant |
From: *zeu.uni-giessen.de
|
|
Hi,
here they are for the trunk. I got this error nearly every job (2000 events). The simulation macros are not the newest from tutorials/rho, but the log files from sim to pid didn't call any errors.
Best regards
Simon
PS: Why is RhoCandidate* TheMother() two times implmented, one normal and one const?
[Updated on: Fri, 09 August 2013 14:52] Report message to a moderator
|
|
|
|
|
Re: Update Notes [message #15176 is a reply to message #14913] |
Sat, 10 August 2013 22:50 |
Simon Reiter
Messages: 44 Registered: May 2013
|
continuous participant |
From: *dip0.t-ipconnect.de
|
|
I simulated now 200 events, 1000 events and 2000 events. In 200 and 1000 I got no errors, in 2000 events I got n error in 5 of 7, after 1400 events, after 1200 events after 1100 events, after 700 events and after 500 events.
Maybe it's because I'm not using the simulation macros out of the tutorial. I used some old ones, a bit modified. Maybe there is the problem.
Additionally I used the simulation macros of tutorials/rho and it worked for 2000 events in 10 of 10 times.
[Updated on: Sun, 11 August 2013 05:42] Report message to a moderator
|
|
|
Re: Update Notes [message #15177 is a reply to message #14913] |
Sat, 10 August 2013 23:07 |
Simon Reiter
Messages: 44 Registered: May 2013
|
continuous participant |
From: *dip0.t-ipconnect.de
|
|
Searched for differences between to tutorial macros and my ones:
Sim-macro: Found fRun->SetStoreTraj(kTRUE); // uncomment that if you want to have points for plotting but that does not seems like the reason.
pid-macro and digi-macro i just found fRun->SetWriteRunInfoFile(kFALSE); but this seems false anyway.
[Updated on: Sat, 10 August 2013 23:08] Report message to a moderator
|
|
|
|
|
Re: Update Notes [message #15187 is a reply to message #14913] |
Mon, 12 August 2013 20:48 |
Simon Reiter
Messages: 44 Registered: May 2013
|
continuous participant |
From: *dip0.t-ipconnect.de
|
|
Hi,
yes, it seems working now.
These are just some Errors by the PndVtxPRG-Fitter. I just don't know why there always another chisquare for each simulation.
Thanks
Simon
|
|
|