9 #ifndef PND_MVA_TOOLS_H
10 #define PND_MVA_TOOLS_H
49 std::string
const& Glabel,
50 float sgVal,
float bgVal,
float p)
139 float const tnr,
float const fnr,
140 size_t const nfp,
size_t const ntp,
141 size_t const nfn,
size_t const ntn,
222 void Produce_ROC(std::vector< ClassifierOutPuts >& input,
223 std::string
const& SigName, std::string
const& BgName,
224 size_t sigCnt,
size_t bgCnt, std::vector< ROCPoints >& Roc);
229 void print(std::vector< ClassifierOutPuts >
const& OutPutList);
235 void print(std::map<std::string, float>
const& ClsMapOut);
245 std::vector<std::string>
const& varNames,
246 std::vector<std::string>
const& classNames,
247 std::vector<std::pair<std::string, std::vector<float>* > >& Outcontainer);
253 void printRoc(std::vector< ROCPoints >
const& RocList);
261 std::vector< ROCPoints >
const& RocList);
bool operator<(ClassifierOutPuts const &ot) const
ClassifierOutPuts(ClassifierOutPuts const &ot)
bool operator>(ROCPoints const &ot) const
bool operator==(ClassifierOutPuts const &ot) const
ROCPoints(float const fpr, float const tpr, float const tnr, float const fnr, size_t const nfp, size_t const ntp, size_t const nfn, size_t const ntn, float const curThr)
virtual ~ClassifierOutPuts()
ClassifierOutPuts(std::string const &Rlabel, std::string const &Glabel, float sgVal, float bgVal, float p)
bool operator<(ROCPoints const &ot) const
ClassifierOutPuts & operator=(ClassifierOutPuts const &ot)
ROCPoints(ROCPoints const &ot)
ROCPoints & operator=(ROCPoints const &ot)
TFile infile("dedx_out.root","READ")
bool operator==(ROCPoints const &ot) const
bool operator>(ClassifierOutPuts const &ot) const