11 #include <eccefastpidreco/ECCEFastPIDReco.h>
12 #include <eccefastpidreco/ECCEdRICHFastPIDMap.h>
13 #include <eccefastpidreco/ECCEhpDIRCFastPIDMap.h>
14 #include <eccefastpidreco/ECCEmRICHFastPIDMap.h>
24 const
double momentum_GeV = 8,
25 const
double theta_rad = 3,
26 const
double LogLikelihoodCut = 0)
39 const int n_trial = 1000;
45 for (
int i = 0; i < n_trial; ++i)
47 std::map<EICPIDDefs::PIDCandidate, float> ll_map =
66 std::cout <<
"Probability for truth_pid = " << truth_pid <<
" to be identified as following candidate with LogLikelihoodCut = " << LogLikelihoodCut << std::endl;
70 <<
" = " << (double) n_pionID / n_trial << std::endl;
73 <<
" = " << (double) n_kaonID / n_trial << std::endl;
76 <<
" = " << (double) n_protonID / n_trial << std::endl;
79 <<
" = " << (double) n_electronID / n_trial << std::endl;