| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

EventLooper::PlotAlg::plotter Class Reference

List of all members.

Public Member Functions

def __init__
def initialize
def execute
def finalize

Public Attributes

 canvas
 histogram

Detailed Description

Definition at line 15 of file PlotAlg.py.


Member Function Documentation

def EventLooper::PlotAlg::plotter::__init__ (   self,
  name 
)

Definition at line 16 of file PlotAlg.py.

00016                            :
00017         DybPythonAlg.__init__(self,name)
00018         return
00019 
    def initialize(self):

def EventLooper::PlotAlg::plotter::initialize (   self  ) 

Definition at line 20 of file PlotAlg.py.

00020                         :
00021         status = DybPythonAlg.initialize(self)
00022         if status.isFailure(): return status
00023         import ROOT
00024         self.canvas = ROOT.TCanvas('plotalg_canvas','gaussian')
00025         self.histogram = ROOT.TH1D("plotalg_gaussian","gaussian",200,-10,10)
00026         self.histogram.Draw()
00027         return status
00028 
    def execute(self):

def EventLooper::PlotAlg::plotter::execute (   self  ) 

Definition at line 29 of file PlotAlg.py.

00029                      :
00030         self.histogram.FillRandom("gaus")
00031         self.canvas.Modified()
00032         self.canvas.Update()
00033         return gp.SUCCESS
00034 
    def finalize(self):

def EventLooper::PlotAlg::plotter::finalize (   self  ) 

Definition at line 35 of file PlotAlg.py.

00035                       :
00036         status = DybPythonAlg.finalize(self)
00037         return status
00038 
00039     pass


Member Data Documentation

EventLooper::PlotAlg::plotter::canvas

Definition at line 24 of file PlotAlg.py.

EventLooper::PlotAlg::plotter::histogram

Definition at line 25 of file PlotAlg.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:14:18 2011 for EventLooper by doxygen 1.4.7