17 : effHist(new TEfficiency(*eff)) {
18 LOG(DEBUG) <<
"RootEfficiency: creating efficiency from existing " 19 "TEfficiency object!";
23 :
effHist(new TEfficiency(*passed, *total)) {
24 LOG(DEBUG) <<
"RootEfficiency: creating efficiency from two TH2D objects!";
28 throw std::runtime_error(
29 "RootEfficiency::evaluate(): is currently not implemented!");
37 throw std::runtime_error(
38 "RootAngleEfficiency::evaluate(): is currently not implemented!");
RootEfficiency(TEfficiency *eff)
Construct RootEfficiency from TEfficiency object.
std::shared_ptr< TEfficiency > effHist
virtual std::vector< double > evaluate(const DataSet &dataset) const
virtual std::vector< double > evaluate(const DataSet &dataset) const