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