75 |
|
} |
76 |
|
|
77 |
|
|
78 |
< |
void Layout::Draw(const std::vector<HistoBlock>& histos, |
78 |
> |
void Layout::Draw(const std::string title, const std::vector<HistoBlock>& histos, |
79 |
|
const std::string& xlabel, bool fit, float K, float MU, float SIG) |
80 |
|
{ |
81 |
|
std::cout << "----------------- Draw : " << histos[0].histo->GetName() << std::endl; |
154 |
|
} |
155 |
|
|
156 |
|
// Save |
157 |
< |
std::string filename = GetFileName(histos[3].histo->GetTitle()); |
157 |
> |
std::string filename = GetFileName(title); |
158 |
|
mycanvas->SaveAs((filename+".gif").c_str()); |
159 |
|
mycanvas->SaveAs((filename+".root").c_str()); |
160 |
|
|