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

List of all members.

Public Member Functions

def __init__
def initialize
def execute
def finalize

Detailed Description

Definition at line 20 of file DrawGe68EnergyGeo.py.


Constructor & Destructor Documentation

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

Definition at line 22 of file DrawGe68EnergyGeo.py.

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


Member Function Documentation

def DrawGe68EnergyGeo::DrawEnergyFigsAlg::initialize (   self)

Definition at line 26 of file DrawGe68EnergyGeo.py.

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

def DrawGe68EnergyGeo::DrawEnergyFigsAlg::execute (   self)

Definition at line 33 of file DrawGe68EnergyGeo.py.

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

Definition at line 38 of file DrawGe68EnergyGeo.py.

00039                       :
00040         self.info("finalizing")
00041 
00042         # Make energy histograms
00043         canvas = TCanvas()
00044 
00045 
00046         self.stats["/file3/energy/reconEnergy"].Draw()
00047         self.stats["/file3/energy/reconEnergy"].SetLineColor(4)
00048         self.stats["/file1/energy/reconEnergy"].Draw("same")
00049         self.stats["/file1/energy/reconEnergy"].SetLineColor(1)
00050         self.stats["/file0/energy/reconEnergy"].Draw("same")
00051         self.stats["/file0/energy/reconEnergy"].SetLineColor(2)
00052         self.stats["/file2/energy/reconEnergy"].Draw("same")
00053         self.stats["/file2/energy/reconEnergy"].SetLineColor(3)
00054         self.stats["/file4/energy/reconEnergy"].Draw("same")
00055         self.stats["/file4/energy/reconEnergy"].SetLineColor(5)
00056         self.stats["/file5/energy/reconEnergy"].Draw("same")
00057         self.stats["/file5/energy/reconEnergy"].SetLineColor(6)
00058         self.stats["/file6/energy/reconEnergy"].Draw("same")
00059         self.stats["/file6/energy/reconEnergy"].SetLineColor(7)
00060         self.stats["/file7/energy/reconEnergy"].Draw("same")
00061         self.stats["/file7/energy/reconEnergy"].SetLineColor(8)
00062         self.stats["/file8/energy/reconEnergy"].Draw("same")
00063         self.stats["/file8/energy/reconEnergy"].SetLineColor(9)
00064 
00065 
00066 
00067         leg=TLegend(0.1,0.65,0.3,0.9);
00068         leg.AddEntry(self.stats["/file0/energy/reconEnergy"],"No geometry","l");
00069         leg.AddEntry(self.stats["/file1/energy/reconEnergy"],"With geometry","l");
00070         leg.AddEntry(self.stats["/file2/energy/reconEnergy"],"Al Vacuum","l");
00071         leg.AddEntry(self.stats["/file4/energy/reconEnergy"],"SS Vacuum","l");
00072         leg.AddEntry(self.stats["/file3/energy/reconEnergy"],"Al + SS Vacuum","l");
00073         leg.AddEntry(self.stats["/file5/energy/reconEnergy"],"Al + SS + Ge Vacuum","l");
00074         leg.AddEntry(self.stats["/file8/energy/reconEnergy"],"Al + SS + Acr Vacuum","l");
00075         leg.AddEntry(self.stats["/file7/energy/reconEnergy"],"Ge + Acr Vacuum","l");
00076         leg.AddEntry(self.stats["/file6/energy/reconEnergy"],"Al + SS + Ge + Acr Vacuum","l");
00077         leg.Draw();
00078 
00079 
00080         canvas.SaveAs("reconEnergyDiff.png")
00081 
00082         status = DybPythonAlg.finalize(self)
00083         return status
00084 


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