/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
DrawFigs::DrawEnergyFigsAlg Class Reference
Inheritance diagram for DrawFigs::DrawEnergyFigsAlg:
Inheritance graph
[legend]
Collaboration diagram for DrawFigs::DrawEnergyFigsAlg:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def initialize
def execute
def finalize

Detailed Description

Definition at line 19 of file DrawFigs.py.


Constructor & Destructor Documentation

def DrawFigs::DrawEnergyFigsAlg::__init__ (   self,
  name 
)

Definition at line 21 of file DrawFigs.py.

00022                            :
00023         DybPythonAlg.__init__(self,name)
00024         return


Member Function Documentation

def DrawFigs::DrawEnergyFigsAlg::initialize (   self)

Definition at line 25 of file DrawFigs.py.

00026                         :
00027         status = DybPythonAlg.initialize(self)
00028         if status.isFailure(): return status
00029         self.info("initializing")
00030 
00031         return SUCCESS

def DrawFigs::DrawEnergyFigsAlg::execute (   self)

Definition at line 32 of file DrawFigs.py.

00033                      :
00034         self.info("executing")
00035         
00036         return SUCCESS
        
def DrawFigs::DrawEnergyFigsAlg::finalize (   self)

Definition at line 37 of file DrawFigs.py.

00038                       :
00039         self.info("finalizing")
00040 
00041         # Make energy histograms
00042         canvas = TCanvas()
00043         self.stats["/file0/energy/genEnergy"].Draw()
00044         canvas.SaveAs("genEnergy.png")
00045         
00046         self.stats["/file0/energy/genKineticEnergy"].Draw()
00047         canvas.SaveAs("genKineticEnergy.png")
00048 
00049         self.stats["/file0/energy/simScintEnergy"].Draw()
00050         canvas.SaveAs("simScintEnergy.png")
00051 
00052         self.stats["/file0/energy/simQuenchedEnergy"].Draw()
00053         canvas.SaveAs("simQuenchedEnergy.png")
00054 
00055         self.stats["/file0/energy/simQuenching"].Draw("colz")
00056         canvas.SaveAs("simQuenching.png")
00057 
00058         self.stats["/file0/energy/simHits"].Draw()
00059         canvas.SaveAs("simHits.png")
00060 
00061         self.stats["/file0/energy/simHitsVsQE"].Draw("colz")
00062         canvas.SaveAs("simHitsVsQE.png")
00063 
00064         self.stats["/file0/energy/adcSumVsSimHits"].Draw("colz")
00065         canvas.SaveAs("adcSumVsSimHits.png")
00066 
00067         self.stats["/file0/energy/calibAdcSum"].Draw()
00068         canvas.SaveAs("calibAdcSum.png")
00069 
00070         self.stats["/file0/energy/calibAdcSumVsSimHits"].Draw("colz")
00071         canvas.SaveAs("calibAdcSumVsSimHits.png")
00072 
00073         self.stats["/file0/energy/reconEnergy"].Draw()
00074         self.stats["/file0/energy/reconEnergy"].Fit("gaus","","",7.0,10.0)
00075         canvas.SaveAs("reconEnergy.png")
00076 
00077         self.stats["/file0/energy/calibAdcSumVsReconEnergy"].Draw("colz")
00078         canvas.SaveAs("calibAdcSumVsReconEnergy.png")
00079 
00080         self.stats["/file0/energy/reconEnergyVsQE"].Draw("colz")
00081         canvas.SaveAs("reconEnergyVsQE.png")
00082 
00083         status = DybPythonAlg.finalize(self)
00084         return status
00085 


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:49:49 for UnderstandingEnergy by doxygen 1.7.4