Belle II Software  release-08-01-10
MakePlots Class Reference
Inheritance diagram for MakePlots:
Collaboration diagram for MakePlots:

Public Member Functions

def set_descr_shifter (self, histogram, description, check)
 
def set_descr_expert (self, histogram, description, check)
 
def set_style (self, histogram, xtitle, ytitle)
 
def get_relative (self, hist1, hist2, title, particle, trgbit)
 
def initialize (self)
 
def beginRun (self)
 
def event (self)
 
def endRun (self)
 
def terminate (self)
 

Public Attributes

 tfile
 output file
 
 Nevent
 number of events
 
 hist_inbit
 validation histogram
 
 hist_outbit
 validation histogram
 
 h_E_ECL
 validation histogram
 
 h_Esum_ECL
 validation histogram
 
 h_theta_ECL
 validation histogram
 
 h_thetaID_ECL
 validation histogram
 
 h_phi_ECL
 validation histogram
 
 h_sector_BKLM
 validation histogram
 
 h_sector_EKLM
 validation histogram
 
 hist_inbit_expert
 validation histogram for experts
 
 hist_outbit_expert
 validation histogram for experts
 
 d_w
 validation histogram
 
 d_w_2
 validation histogram
 
 d_phi
 validation histogram
 
 d_phi_2
 validation histogram
 
 d_phi_3
 validation histogram
 
 d_z0_3d
 validation histogram
 
 d_z0_nn
 validation histogram
 
 d_E_ECL
 validation histogram
 

Detailed Description

Make validation histograms for trg ecl/cdc/klm

Definition at line 365 of file TRGValidation.py.

Member Function Documentation

◆ beginRun()

def beginRun (   self)
reset all histograms at the begin of a new run

Definition at line 618 of file TRGValidation.py.

618  def beginRun(self):
619  '''
620  reset all histograms at the begin of a new run
621  '''
622 
623  self.hist_inbit.Reset()
624  self.hist_outbit.Reset()
625  self.hist_inbit_expert.Reset()
626  self.hist_outbit_expert.Reset()
627  self.h_Esum_ECL.Reset()
628  self.h_E_ECL.Reset()
629  self.h_theta_ECL.Reset()
630  self.h_thetaID_ECL.Reset()
631  self.h_phi_ECL.Reset()
632 

◆ endRun()

def endRun (   self)
end of run

Definition at line 685 of file TRGValidation.py.

◆ event()

def event (   self)
event loop

Definition at line 633 of file TRGValidation.py.

◆ get_relative()

def get_relative (   self,
  hist1,
  hist2,
  title,
  particle,
  trgbit 
)
Get relative ratio between two hists.
:param hist1 numerator
:param hist2 denominator
:param title new histogram title

Definition at line 416 of file TRGValidation.py.

◆ initialize()

def initialize (   self)
initialize class members

Definition at line 445 of file TRGValidation.py.

◆ set_descr_expert()

def set_descr_expert (   self,
  histogram,
  description,
  check 
)
Sets description, check and contact to validation histogram.
:param h validation histogram
:param Descr description text

Definition at line 386 of file TRGValidation.py.

◆ set_descr_shifter()

def set_descr_shifter (   self,
  histogram,
  description,
  check 
)
Sets description, check and contact to validation histogram.
:param h validation histogram
:param Descr description text

Definition at line 370 of file TRGValidation.py.

◆ set_style()

def set_style (   self,
  histogram,
  xtitle,
  ytitle 
)
Sets x-y titles, and sets histogram style.
:param xtitle X-axis title
:param xtitle Y-axis title

Definition at line 402 of file TRGValidation.py.

◆ terminate()

def terminate (   self)
write histograms

Definition at line 692 of file TRGValidation.py.


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