ATLAS Offline Software
Public Member Functions | List of all members
TBinnedRes Class Reference
Inheritance diagram for TBinnedRes:
Collaboration diagram for TBinnedRes:

Public Member Functions

 TBinnedRes (TFile *, vector< TH1D * >)
 

Detailed Description

Definition at line 3263 of file TRTCalib_makeplots.cxx.

Constructor & Destructor Documentation

◆ TBinnedRes()

TBinnedRes::TBinnedRes ( TFile *  ,
vector< TH1D * >  reshists 
)

Definition at line 3269 of file TRTCalib_makeplots.cxx.

3270 {
3271 
3272  cout << "In TBinnedRes. Input is " << reshists.size() << " histograms to be drawn " << endl;
3273 
3274  this->Divide(((int)reshists.size()) / 5, 5);
3275  for (int ihist = 0; ihist < (int)reshists.size(); ihist++)
3276  {
3277  this->cd(ihist + 1);
3278  reshists[ihist]->SetTitle("");
3279  reshists[ihist]->Draw();
3280  reshists[ihist]->GetYaxis()->SetRangeUser(0, 1.1 * reshists[ihist]->GetMaximum());
3281  TLine *zlin = new TLine(0, 0, 0, reshists[ihist]->GetMaximum());
3282  zlin->SetLineStyle(2);
3283  zlin->SetLineColor(4);
3284  zlin->Draw();
3285  }
3286 
3287  this->SetGrid();
3288 }

The documentation for this class was generated from the following file:
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
calibdata.cd
cd
Definition: calibdata.py:51