GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » [FIXED] RhoCandidate - probability connection ?
Re: RhoCandidate - probability connection ? [message #15340 is a reply to message #15339] Fri, 23 August 2013 16:42 Go to previous messageGo to previous message
Ronald Kunne is currently offline  Ronald Kunne
Messages: 32
Registered: October 2009
continuous participant
From: *in2p3.fr
Quoting Klaus:
RhoCandList list;
...
list[i]->GetPidInfo(0); // Electron Prob
list[i]->GetPidInfo(1); // Muon Prob
list[i]->GetPidInfo(2); // Pion Prob
list[i]->GetPidInfo(3); // Kaon Prob
list[i]->GetPidInfo(4); // Proton Prob


Thank you. But.... I had actually found these and discarded them before I asked the question, as it gives back exact 0's and 1's.

With the code
 for (j=0;j<eplus.GetLength();j++) {
   cout << "probs:" ;
     for (k=0;k<5;k++) {
         cout << " " <<  eplus[j]->GetPidInfo(k);
     }
     cout << endl;
 }


the results is
probs: 0 0 1 0 0 for pi+pi- events
probs: 1 0 0 0 0 for e+e- events

[Updated on: Fri, 23 August 2013 16:43]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [WONTFIX] Tutorial macro - trunk
Next Topic: [FIXED] PndAnalysis::McTruthMatch always returns false, again ....
Goto Forum:
  


Current Time: Fri Apr 19 12:26:35 CEST 2019

Total time taken to generate the page: 0.02981 seconds