Definition at line 10 of file MooRTT_makePage.py.
◆ __init__()
def MooRTT_makePage.MooRTT_makePage.__init__ |
( |
|
self, |
|
|
|
argDict = {} |
|
) |
| |
Definition at line 11 of file MooRTT_makePage.py.
18 rttDescriptor = argDict.get(
'JobDescriptor')
21 self.branch =
str(rttDescriptor.paths.branch)
22 self.jobDisplayName =
str(rttDescriptor.jobDisplayName)
23 self.jobGroup =
str(rttDescriptor.jobGroup)
24 self.name =
str(rttDescriptor.name)
25 self.package =
str(rttDescriptor.package)
26 self.release =
str(rttDescriptor.paths.release)
27 self.runPath =
str(rttDescriptor.runPath)
29 self.logger = Logger()
◆ run()
def MooRTT_makePage.MooRTT_makePage.run |
( |
|
self | ) |
|
Definition at line 31 of file MooRTT_makePage.py.
32 logfile =
open(self.runPath +
"/makePage.log",
'a')
33 logfile.write(
"Starting makePage.py run method\n")
34 jobinfolist = {
"Package" : self.package ,
36 "Branch" : self.branch ,
37 "Release" : self.release }
38 logfile.write(
"jobinfolist: \n")
40 output =
open(
"ALL_MooPerformanceResults.html",
"w")
41 output.write(
"<h2><TABLE BORDER=6 CELLSPACING=4 CELLPADDING=4>\n")
42 for key
in jobinfolist.keys():
43 logfile.write(
" " + key +
": " + jobinfolist[key] +
"\n")
44 output.write(
" <TR><TD><b>" + key +
"</b></TD><TD>" + jobinfolist[key] +
"</TD></TR>\n")
45 output.write(
" <TR><TD><b>" +
"Date" +
"</b></TD><TD>" + os.popen(
"date").readline().strip() +
"</TD></TR>\n")
46 output.write(
"</TABLE>\n\n")
50 txtFiles = [
"trkPerformance_CombinedMuonTracks.txt",
51 "trkPerformance_ExtrapolatedMuonTracks.txt",
53 for fileName
in txtFiles:
54 strArray = glob.glob(fileName)
55 if (len(strArray) > 0):
56 fIn =
open(strArray[0])
57 lines = fIn.readlines()
58 output.write(
"<h3>" +
str(fileName).strip() +
"</h3>")
60 for i
in range(len(lines)):
61 output.write(
str(lines[i].strip()) +
"\n")
62 output.write(
"</pre>")
65 gifFiles = [
"MS_Bdl",
"MS_material",
"match_quality",
"fit_chi2",
66 "qOverP_res",
"qOverP_pull",
"qOverP_CB_resByRegion",
"qOverP_SA_resByRegion",
"qOverP_CB_pullByRegion",
"qOverP_SA_pullByRegion",
67 "Pt_res",
"Pt_pull",
"Pt_CB_resByRegion",
"Pt_SA_resByRegion",
"Pt_CB_pullByRegion",
"Pt_SA_pullByRegion",
"Pt_MG_pullByRegion",
68 "D0_res",
"D0_resLow",
"D0_pull",
"D0_SA_resByRegion",
"D0_SA_resByRegionLow",
"D0_SA_pullByRegion",
69 "Z0_res",
"Z0_resLow",
"Z0_pull",
"Z0_SA_resByRegion",
"Z0_SA_resByRegionLow",
"Z0_SA_pullByRegion",
70 "Phi_res",
"Phi_pull",
"Phi_SA_resByRegion",
"Phi_SA_pullByRegion",
71 "Theta_res",
"Theta_pull",
"Theta_SA_resByRegion",
"Theta_SA_pullByRegion",
"Theta_CB_pullByRegion",
72 "MG-CB",
"CMF-CB",
"ID-CB",
"ID-CMF",
"qOverP_ratio"]
73 gifTitle = [
"MS field integral",
"MS material",
"ID+MS match quality",
"fit chi2/DOF",
74 "qOverP resolution",
"pull qOverP",
"CB qOverP resolution",
"SA qOverP resolution",
"CB qOverP pull",
"SA qOverP pull",
75 "Pt resolution",
"pull Pt",
"CB Pt resolution",
"SA Pt resolution",
"CB Pt pull",
"SA pull Pt",
"MG pull Pt",
76 "D0 resolution",
"D0 resolution",
"pull D0",
"SA D0 resolution",
"SA D0 resolution",
"SA D0 pull",
77 "Z0 resolution",
"Z0 resolution",
"pull Z0",
"SA Z0 resolution",
"SA Z0 resolution",
"SA Z0 pull",
78 "Phi resolution",
"pull Phi",
"SA Phi resolution",
"SA Phi pull",
79 "Theta resolution",
"pull Theta",
"SA Theta resolution",
"SA Theta pull",
"CB Theta pull",
80 "MuGirl - combined",
"CombinedMuonFit - combined",
"Indet - combined",
"Indet - CombinedMuonFit",
"qOverP ratio"]
◆ branch
MooRTT_makePage.MooRTT_makePage.branch |
◆ jobDisplayName
MooRTT_makePage.MooRTT_makePage.jobDisplayName |
◆ jobGroup
MooRTT_makePage.MooRTT_makePage.jobGroup |
◆ logger
MooRTT_makePage.MooRTT_makePage.logger |
◆ name
MooRTT_makePage.MooRTT_makePage.name |
◆ package
MooRTT_makePage.MooRTT_makePage.package |
◆ release
MooRTT_makePage.MooRTT_makePage.release |
◆ runPath
MooRTT_makePage.MooRTT_makePage.runPath |
The documentation for this class was generated from the following file: