#include <EfficiencyPlot.h>
Definition at line 16 of file EfficiencyPlot.h.
◆ EfficiencyPlot()
egammaMonitoring::EfficiencyPlot::EfficiencyPlot |
( |
std::string |
name, |
|
|
std::string |
folder, |
|
|
SmartIF< ITHistSvc > |
rootHistSvc |
|
) |
| |
◆ ~EfficiencyPlot()
egammaMonitoring::EfficiencyPlot::~EfficiencyPlot |
( |
| ) |
|
|
inline |
◆ divide()
Definition at line 19 of file EfficiencyPlot.cxx.
21 for (
const auto &
p : total->histoMap){
22 TH1D *
efficiency = (TH1D*) pass->histoMap[
p.first]->Clone(Form(
"%s_%s",
m_name.c_str(),
p.first.c_str()));
23 efficiency->Divide(pass->histoMap[
p.first],
p.second, 1, 1,
"B");
24 efficiency->GetYaxis()->SetTitle(
"Efficiency");
30 return StatusCode::SUCCESS;
◆ m_folder
std::string egammaMonitoring::EfficiencyPlot::m_folder |
|
private |
◆ m_name
std::string egammaMonitoring::EfficiencyPlot::m_name |
|
private |
◆ m_rootHistSvc
SmartIF<ITHistSvc> egammaMonitoring::EfficiencyPlot::m_rootHistSvc |
|
private |
The documentation for this class was generated from the following files:
void efficiency(std::vector< double > &bins, std::vector< double > &values, const std::vector< std::string > &files, const std::string &histname, const std::string &tplotname, const std::string &label="")