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

Public Member Functions

def __init__ (self, exp=0, run=0, dest='.')
 
def event (self)
 
def terminate (self)
 

Public Attributes

 m_exp
 Experimental number.
 
 m_run
 Run number.
 
 m_dest
 Output directory.
 
 m_outputFile
 Output file name.
 

Detailed Description

Class description.

Definition at line 84 of file CDCHistMaker.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  exp = 0,
  run = 0,
  dest = '.' 
)
call constructor of base class, required.

Definition at line 90 of file CDCHistMaker.py.

90  def __init__(self, exp=0, run=0, dest='.'):
91  """
92  call constructor of base class, required.
93  """
94 
95  super(CDCHistMakerModule, self).__init__()
96 
97  self.m_exp = exp
98 
99  self.m_run = run
100 
101  self.m_dest = dest
102  if os.path.exists(self.m_dest) is False:
103  os.mkdir(self.m_dest)
104 
105  self.m_outputFile = self.m_dest + '/dqm.{0:0>4}.{1:0>5}.root'.format(self.m_exp, self.m_run)
106 

Member Function Documentation

◆ event()

def event (   self)
reimplement b2.Module::event()

Definition at line 107 of file CDCHistMaker.py.

◆ terminate()

def terminate (   self)
Draw histograms on canvas and save image.

Definition at line 135 of file CDCHistMaker.py.


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