Definition at line 3269 of file TRTCalib_makeplots.cxx.
◆ TBinnedRes()
| TBinnedRes::TBinnedRes |
( |
TFile * | , |
|
|
vector< TH1D * > | reshists ) |
Definition at line 3275 of file TRTCalib_makeplots.cxx.
3276{
3277
3278 cout << "In TBinnedRes. Input is " << reshists.size() << " histograms to be drawn " << endl;
3279
3280 this->Divide(((int)reshists.size()) / 5, 5);
3281 for (
int ihist = 0; ihist < (
int)reshists.size(); ihist++)
3282 {
3283 this->
cd(ihist + 1);
3284 reshists[ihist]->SetTitle("");
3285 reshists[ihist]->Draw();
3286 reshists[ihist]->GetYaxis()->SetRangeUser(0, 1.1 * reshists[ihist]->GetMaximum());
3287 TLine *zlin = new TLine(0, 0, 0, reshists[ihist]->GetMaximum());
3288 zlin->SetLineStyle(2);
3289 zlin->SetLineColor(4);
3290 zlin->Draw();
3291 }
3292
3293 this->SetGrid();
3294}
The documentation for this class was generated from the following file: