/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions
DrawACUNeutronCaptureVertex::DrawCaptureVertexAlg Class Reference
Inheritance diagram for DrawACUNeutronCaptureVertex::DrawCaptureVertexAlg:
Inheritance graph
[legend]
Collaboration diagram for DrawACUNeutronCaptureVertex::DrawCaptureVertexAlg:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def initialize
def execute
def finalize

Detailed Description

Definition at line 15 of file DrawACUNeutronCaptureVertex.py.


Constructor & Destructor Documentation

def DrawACUNeutronCaptureVertex::DrawCaptureVertexAlg::__init__ (   self,
  name 
)

Definition at line 16 of file DrawACUNeutronCaptureVertex.py.

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


Member Function Documentation

def DrawACUNeutronCaptureVertex::DrawCaptureVertexAlg::initialize (   self)

Definition at line 20 of file DrawACUNeutronCaptureVertex.py.

00021                         :
00022         status = DybPythonAlg.initialize(self)
00023         if status.isFailure(): return status
00024         self.info("initializing")
00025 
00026         return SUCCESS

def DrawACUNeutronCaptureVertex::DrawCaptureVertexAlg::execute (   self)

Definition at line 27 of file DrawACUNeutronCaptureVertex.py.

00028                      :
00029         self.info("executing")
00030         
00031         return SUCCESS
        
def DrawACUNeutronCaptureVertex::DrawCaptureVertexAlg::finalize (   self)

Definition at line 32 of file DrawACUNeutronCaptureVertex.py.

00033                       :
00034         self.info("finalizing")
00035 
00036         # Make histograms
00037         canvas = TCanvas()
00038         hist = self.stats["/file0/hcap/nHcap"]
00039         hist.Draw()
00040         canvas.SaveAs("nHadronCapture.png")
00041 
00042         hist = self.stats["/file0/hcap/isotopes"]
00043         hist.Draw()
00044         canvas.SaveAs("isotopes.png")
00045         
00046         hist = self.stats["/file0/hcap/isotopes6MeV"]
00047         hist.Draw()
00048         canvas.SaveAs("isotopes6MeV.png")
00049 
00050         hist = self.stats["/file0/hcap/ZvsTotalGamma"]
00051         hist.Draw()
00052         canvas.SaveAs("ZvsTotalGamma.png")
00053                
00054         hist = self.stats["/file0/hcap/ZvsTotalGamma6MeV"]
00055         hist.Draw()
00056         canvas.SaveAs("ZvsTotalGamma6MeV.png")
00057 
00058         hist = self.stats["/file0/hcap/ZvsA"]
00059         hist.Draw()
00060         canvas.SaveAs("ZvsA.png")
00061 
00062         self.stats["/file0/gamma/individual"].Draw()
00063         canvas.SaveAs("individualGamma.png")
00064 
00065         self.stats["/file0/gamma/totalCaptureGamma"].Draw()
00066         canvas.SaveAs("totalCaptureGamma.png")
00067 
00068         self.stats["/file0/gamma/individual6MeV"].Draw()
00069         canvas.SaveAs("individualGamma6MeV.png")
00070         
00071         self.stats["/file0/gamma/totalCaptureGamma6MeV"].Draw()
00072         canvas.SaveAs("totalCaptureGammaGamma6MeV.png")
00073         
00074         self.stats["/file0/gamma/inelastic"].Draw()
00075         canvas.SaveAs("inelasticGamma.png")
00076 
00077         status = DybPythonAlg.finalize(self)
00078         return status
00079 


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

Generated on Fri May 16 2014 09:54:38 for Calibration by doxygen 1.7.4