ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
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 3292 of file TRTCalib_makeplots.cxx.

Constructor & Destructor Documentation

◆ RtBinning()

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

Definition at line 3301 of file TRTCalib_makeplots.cxx.

3302 {
3303 
3304  TDirectory *binhist = (TDirectory *)(((TDirectory *)file->Get(detector.c_str()))->Get("binhist"));
3305  if (binhist)
3306  {
3307  int nhists = binhist->GetListOfKeys()->GetEntries();
3308 
3309  this->Divide(nhists / 5, 5);
3310  for (int ihist = 0; ihist < nhists; ihist++)
3311  {
3312  this->cd(ihist + 1);
3313  m_hist2 = (TH1F *)(binhist->Get(binhist->GetListOfKeys()->At(ihist)->GetName()));
3314  m_hist2->SetTitle("");
3315  m_hist2->Draw();
3316  }
3317 
3318  this->SetGrid();
3319  }
3320 }

Member Data Documentation

◆ m_hist2

TH1F* RtBinning::m_hist2 {}
private

Definition at line 3298 of file TRTCalib_makeplots.cxx.


The documentation for this class was generated from the following file:
extractSporadic.nhists
nhists
Definition: extractSporadic.py:111
TRTCalib_cfilter.detector
detector
Definition: TRTCalib_cfilter.py:241
file
TFile * file
Definition: tile_monitor.h:29
RtBinning::m_hist2
TH1F * m_hist2
Definition: TRTCalib_makeplots.cxx:3298
calibdata.cd
cd
Definition: calibdata.py:51
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:24