1#ifndef Podd_THaPIDinfo_h_
2#define Podd_THaPIDinfo_h_
67 throw std::logic_error(
"illegal particle index");
75 throw std::logic_error(
"illegal detector or particle index");
83 throw std::logic_error(
"illegal particle index");
91 throw std::logic_error(
"illegal particle index");
99 throw std::logic_error(
"illegal detector or particle index");
#define ClassDef(name, id)
Double_t GetProb(UInt_t detector, UInt_t particle) const
std::vector< Double_t > fPrior
void SetSize(UInt_t ndet, UInt_t prob)
virtual void CombinePID()
void SetProb(UInt_t detector, UInt_t particle, Double_t prob)
virtual ~THaPIDinfo()=default
std::vector< Double_t > fProb
Double_t GetCombinedProb(UInt_t particle) const
virtual void Print(Option_t *opt="") const
void SetPrior(UInt_t particle, Double_t prob)
virtual void Clear(Option_t *opt="")
Double_t GetPrior(UInt_t particle) const
std::vector< Double_t > fCombinedProb
UInt_t idx(UInt_t detector, UInt_t particle) const