ATLAS Offline Software
Loading...
Searching...
No Matches
RtBinning Class Reference
Inheritance diagram for RtBinning:
Collaboration diagram for RtBinning:

Public Member Functions

 RtBinning (TDirectory *, const string &)

Private Attributes

TH1F * m_hist2 {}

Detailed Description

Definition at line 3298 of file TRTCalib_makeplots.cxx.

Constructor & Destructor Documentation

◆ RtBinning()

RtBinning::RtBinning ( TDirectory * file,
const string & detector )

Definition at line 3307 of file TRTCalib_makeplots.cxx.

3308{
3309
3310 TDirectory *binhist = (TDirectory *)(((TDirectory *)file->Get(detector.c_str()))->Get("binhist"));
3311 if (binhist)
3312 {
3313 int nhists = binhist->GetListOfKeys()->GetEntries();
3314
3315 this->Divide(nhists / 5, 5);
3316 for (int ihist = 0; ihist < nhists; ihist++)
3317 {
3318 this->cd(ihist + 1);
3319 m_hist2 = (TH1F *)(binhist->Get(binhist->GetListOfKeys()->At(ihist)->GetName()));
3320 m_hist2->SetTitle("");
3321 m_hist2->Draw();
3322 }
3323
3324 this->SetGrid();
3325 }
3326}
TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
TFile * file

Member Data Documentation

◆ m_hist2

TH1F* RtBinning::m_hist2 {}
private

Definition at line 3304 of file TRTCalib_makeplots.cxx.

3304{};

The documentation for this class was generated from the following file: