Hello I simulated by geant4 a beam hitting a target positioned in a vacuum chamber. out of the vacuum chamber I positioned a scintillator to estimate which particles hit the scintillator and the radiation absorbed by it. This is the setup:
I’m looking for electrons, positrons and photons hitting the scinttillator, but there are some runs in which I obtained only electrons and photons but I didn’t obtained positrons (i.e. no positrons hitted the scintillator).
Instead of to write in the results that I got 0 positrons I would set an UL
Is there some UL for this case that I can easily estimate by ROOT? I simulated 3*10^8 primary electrons.
I know this method (FC) to calculate the selected events Ns on a total of events NTot
root  TEfficiency::FeldmanCousins(300000000, 0,0.90,true)
and this one to estimate the UL on an integer number of events
root  TFeldmanCousins fc; root  fc.SetCL(0.90); root  double upperLimitFL = fc.CalculateUpperLimit(0, 0.5); root  upperLimitFL
Maybe the second one could be ok for me?
Maybe @moneta would know the best method?
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided