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

List of all members.

Public Member Functions

def __init__
def initialize
def execute
def finalize

Detailed Description

Definition at line 21 of file DrawGe68EnergySpec.py.


Constructor & Destructor Documentation

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

Definition at line 23 of file DrawGe68EnergySpec.py.

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


Member Function Documentation

def DrawGe68EnergySpec::DrawEnergyFigsAlg::initialize (   self)

Definition at line 27 of file DrawGe68EnergySpec.py.

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

def DrawGe68EnergySpec::DrawEnergyFigsAlg::execute (   self)

Definition at line 34 of file DrawGe68EnergySpec.py.

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

Definition at line 39 of file DrawGe68EnergySpec.py.

00040                       :
00041         self.info("finalizing")
00042 
00043         # Make energy histograms
00044         canvas = TCanvas()
00045 
00046         self.stats["/file1/energy/nobgEnergy"].Draw()
00047         self.stats["/file1/energy/nobgEnergy"].SetLineColor(2)
00048 
00049         self.stats["/file0/energy/nobgEnergy"].Draw("same")
00050         self.stats["/file0/energy/nobgEnergy"].SetLineColor(1)
00051         self.stats["/file2/energy/nobgEnergy"].Draw("same")
00052         self.stats["/file2/energy/nobgEnergy"].SetLineColor(3)
00053         self.stats["/file3/energy/nobgEnergy"].Draw("same")
00054         self.stats["/file3/energy/nobgEnergy"].SetLineColor(4)
00055         self.stats["/file4/energy/nobgEnergy"].Draw("same")
00056         self.stats["/file4/energy/nobgEnergy"].SetLineColor(5)
00057         self.stats["/file5/energy/nobgEnergy"].Draw("same")
00058         self.stats["/file5/energy/nobgEnergy"].SetLineColor(6)
00059         self.stats["/file6/energy/nobgEnergy"].Draw("same")
00060         self.stats["/file6/energy/nobgEnergy"].SetLineColor(7)
00061         self.stats["/file8/energy/nobgEnergy"].Draw("same")
00062         self.stats["/file8/energy/nobgEnergy"].SetLineColor(8)
00063 
00064         leg=TLegend(0.5,0.5,0.6,0.9);
00065         leg.SetHeader("Legend");
00066         leg.AddEntry(self.stats["/file5/energy/nobgEnergy"],"-125.0","l");
00067         leg.AddEntry(self.stats["/file3/energy/nobgEnergy"],"-75.0","l");
00068         leg.AddEntry(self.stats["/file1/energy/nobgEnergy"],"-25.0","l");
00069         leg.AddEntry(self.stats["/file0/energy/nobgEnergy"],"0.0","l");
00070         leg.AddEntry(self.stats["/file2/energy/nobgEnergy"],"25.0","l");
00071         leg.AddEntry(self.stats["/file4/energy/nobgEnergy"],"75.0","l");
00072         leg.AddEntry(self.stats["/file6/energy/nobgEnergy"],"125.0","l");
00073         leg.AddEntry(self.stats["/file8/energy/nobgEnergy"],"175.0","l");
00074         leg.Draw();
00075 
00076         canvas.SaveAs("A_nobgEnergySpec.png")
00077         
00078         status = DybPythonAlg.finalize(self)
00079         return status
00080 


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