MainPageGenerator class is used for generating main page that contains domain trees (Analysis, Calibration and Alignment, Core, DAQ etc.) More...
Public Member Functions | |
def | __init__ |
Constructor method. More... | |
def | CreateBuildRefMan |
def | CreateNewMainPage |
def | ExportJSON |
def | GetFileName |
def | HTMLTreeAddItem |
def | HTMLTreeBegin |
def | HTMLTreeEnd |
def | ParseJsonFromURL |
def | PrepareData |
def | ReadFile |
def | WriteFile |
Private Member Functions | |
def | __GetHTMLItemDepth |
def | __HTMLFileName |
def | __NewTreePage |
def | __ParseItem |
def | __ParseSubItem |
MainPageGenerator class is used for generating main page that contains domain trees (Analysis, Calibration and Alignment, Core, DAQ etc.)
Definition at line 5 of file MainPageGenerator.py.
def MainPageGenerator.MainPageGenerator.__init__ | ( | self, | |
dataPath, | |||
path, | |||
cmsVer = "" |
|||
) |
Constructor method.
dataPath | parameter gives path of data directory that contains .js, .css and image files needed for generating tree pages |
path | is the reference manual directory path and it is used as destination and source. |
cmsVer | is version of CMSSW. |
Definition at line 10 of file MainPageGenerator.py.
|
private |
Definition at line 153 of file MainPageGenerator.py.
References prof2calltree.count.
|
private |
Definition at line 156 of file MainPageGenerator.py.
References python.rootplot.root2matplotlib.replace().
|
private |
Definition at line 342 of file MainPageGenerator.py.
References CombinedSVCalibration.data, CombinedTauTagCalibration.data, TrackProbabilityCalibration.data, python.multivaluedict.MyUserList.data, ElectronLikelihoodCalibration.data, ConfigFiles.ConfigFiles.data, CondIter< DataT >.data, MainPageGenerator.MainPageGenerator.data, LASModuleProfile.data, comparisonPlots.data, cond::IOVProxyData.data, BaseMETv0.data, TkLasBeam.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, EcalShowerContainmentCorrections::Coefficients.data, python.DBCopy.DBCopy.data, MainPageGenerator.MainPageGenerator.HTMLTreeAddItem(), MainPageGenerator.MainPageGenerator.HTMLTreeBegin(), MainPageGenerator.MainPageGenerator.HTMLTreeEnd(), relativeConstraints.keys, python.rootplot.root2matplotlib.replace(), MainPageGenerator.MainPageGenerator.treePageTamplate, MainPageGenerator.MainPageGenerator.tWikiLinks, ConfigFiles.ConfigFiles.WriteFile(), and MainPageGenerator.MainPageGenerator.WriteFile().
Referenced by MainPageGenerator.MainPageGenerator.CreateNewMainPage().
|
private |
Definition at line 144 of file MainPageGenerator.py.
|
private |
Definition at line 147 of file MainPageGenerator.py.
def MainPageGenerator.MainPageGenerator.CreateBuildRefMan | ( | self | ) |
Definition at line 260 of file MainPageGenerator.py.
References MainPageGenerator.MainPageGenerator.contentStamp, ConfigFiles.ConfigFiles.WriteFile(), and MainPageGenerator.MainPageGenerator.WriteFile().
def MainPageGenerator.MainPageGenerator.CreateNewMainPage | ( | self, | |
outputFileName | |||
) |
Definition at line 296 of file MainPageGenerator.py.
References MainPageGenerator.MainPageGenerator.__NewTreePage(), MainPageGenerator.MainPageGenerator.contentStamp, CombinedSVCalibration.data, CombinedTauTagCalibration.data, TrackProbabilityCalibration.data, python.multivaluedict.MyUserList.data, ElectronLikelihoodCalibration.data, ConfigFiles.ConfigFiles.data, CondIter< DataT >.data, MainPageGenerator.MainPageGenerator.data, LASModuleProfile.data, comparisonPlots.data, cond::IOVProxyData.data, BaseMETv0.data, TkLasBeam.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, EcalShowerContainmentCorrections::Coefficients.data, python.DBCopy.DBCopy.data, MainPageGenerator.MainPageGenerator.links, ConfigFiles.ConfigFiles.PrepareData(), MainPageGenerator.MainPageGenerator.PrepareData(), python.rootplot.root2matplotlib.replace(), MainPageGenerator.MainPageGenerator.title, big::bigHeader.title, TrackerMap.title, ConfigFiles.ConfigFiles.WriteFile(), and MainPageGenerator.MainPageGenerator.WriteFile().
def MainPageGenerator.MainPageGenerator.ExportJSON | ( | self, | |
fileName | |||
) |
Definition at line 255 of file MainPageGenerator.py.
References CombinedSVCalibration.data, CombinedTauTagCalibration.data, TrackProbabilityCalibration.data, python.multivaluedict.MyUserList.data, ElectronLikelihoodCalibration.data, ConfigFiles.ConfigFiles.data, CondIter< DataT >.data, MainPageGenerator.MainPageGenerator.data, LASModuleProfile.data, comparisonPlots.data, cond::IOVProxyData.data, BaseMETv0.data, TkLasBeam.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, EcalShowerContainmentCorrections::Coefficients.data, python.DBCopy.DBCopy.data, ConfigFiles.ConfigFiles.PrepareData(), MainPageGenerator.MainPageGenerator.PrepareData(), ConfigFiles.ConfigFiles.WriteFile(), and MainPageGenerator.MainPageGenerator.WriteFile().
def MainPageGenerator.MainPageGenerator.GetFileName | ( | self, | |
fileName | |||
) |
This method returns file name without extension
Definition at line 132 of file MainPageGenerator.py.
def MainPageGenerator.MainPageGenerator.HTMLTreeAddItem | ( | self, | |
title, | |||
links = None , |
|||
endNode = False , |
|||
folder = False |
|||
) |
Definition at line 402 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.__NewTreePage().
def MainPageGenerator.MainPageGenerator.HTMLTreeBegin | ( | self, | |
title, | |||
links = {} |
|||
) |
Definition at line 390 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.__NewTreePage().
def MainPageGenerator.MainPageGenerator.HTMLTreeEnd | ( | self | ) |
Definition at line 399 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.__NewTreePage().
def MainPageGenerator.MainPageGenerator.ParseJsonFromURL | ( | self, | |
URL | |||
) |
This method returns data which is read from URL
Definition at line 139 of file MainPageGenerator.py.
def MainPageGenerator.MainPageGenerator.PrepareData | ( | self | ) |
Definition at line 159 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.CreateNewMainPage(), PackageSplitter.PackageSplitter.CreatePackagePage(), PackageSplitter.PackageSplitter.CreateSubPage(), and MainPageGenerator.MainPageGenerator.ExportJSON().
def MainPageGenerator.MainPageGenerator.ReadFile | ( | self, | |
fileName, | |||
pathFlag = True |
|||
) |
This method reads file directly or from path.
Definition at line 113 of file MainPageGenerator.py.
References ConfigFiles.ConfigFiles.path, MainPageGenerator.MainPageGenerator.path, and ConfigBuilder.ConfigBuilder.path.
Referenced by PackageSplitter.PackageSplitter.AddTab2Page().
def MainPageGenerator.MainPageGenerator.WriteFile | ( | self, | |
fileName, | |||
data | |||
) |
This method writes data
Definition at line 125 of file MainPageGenerator.py.
References ConfigFiles.ConfigFiles.path, MainPageGenerator.MainPageGenerator.path, and ConfigBuilder.ConfigBuilder.path.
Referenced by MainPageGenerator.MainPageGenerator.__NewTreePage(), PackageSplitter.PackageSplitter.AddTab2Page(), MainPageGenerator.MainPageGenerator.CreateBuildRefMan(), MainPageGenerator.MainPageGenerator.CreateNewMainPage(), PackageSplitter.PackageSplitter.CreatePackagePage(), PackageSplitter.PackageSplitter.CreateSubPage(), and MainPageGenerator.MainPageGenerator.ExportJSON().
MainPageGenerator.MainPageGenerator.classes |
Definition at line 200 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.classesSource |
Definition at line 109 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.classesURLs |
Definition at line 235 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.CMSSWURL |
Definition at line 18 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.CMSVER |
Definition at line 14 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.contentStamp |
Definition at line 90 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.CreateBuildRefMan(), and MainPageGenerator.MainPageGenerator.CreateNewMainPage().
MainPageGenerator.MainPageGenerator.data |
Definition at line 36 of file MainPageGenerator.py.
Referenced by cuy.FindIssue.__init__(), MainPageGenerator.MainPageGenerator.__NewTreePage(), MainPageGenerator.MainPageGenerator.CreateNewMainPage(), PackageSplitter.PackageSplitter.CreatePackagePage(), PackageSplitter.PackageSplitter.CreateSubPage(), confdb.HLTProcess.customize(), confdb.HLTProcess.dump(), MainPageGenerator.MainPageGenerator.ExportJSON(), confdb.HLTProcess.getRawConfigurationFromDB(), and confdb.HLTProcess.releaseSpecificCustomize().
MainPageGenerator.MainPageGenerator.dataPath |
Definition at line 12 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.domains |
Definition at line 171 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.filesSource |
Definition at line 110 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.GitLink |
Definition at line 38 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.head |
Definition at line 46 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.links |
Definition at line 41 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.CreateNewMainPage().
MainPageGenerator.MainPageGenerator.mainPageTemplate |
Definition at line 91 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.managers |
Definition at line 160 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.managersURL |
Definition at line 16 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.packages |
Definition at line 190 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.packageSource |
Definition at line 111 of file MainPageGenerator.py.
Referenced by PackageSplitter.PackageSplitter.CreatePackagePage(), PackageSplitter.PackageSplitter.CreateSubPage(), and PackageSplitter.PackageSplitter.PrepareData().
MainPageGenerator.MainPageGenerator.path |
MainPageGenerator.MainPageGenerator.title |
Definition at line 40 of file MainPageGenerator.py.
Referenced by cuy.plotElement.__init__(), cuy.additionElement.__init__(), cuy.superimposeElement.__init__(), cuy.graphElement.__init__(), Vispa.Views.LineDecayView.LineDecayContainer.autolayout(), Vispa.Views.LineDecayView.LineDecayContainer.autolayoutThreadFinished(), python.rootplot.root2matplotlib.HistStack.bar(), python.rootplot.root2matplotlib.HistStack.bar3d(), python.rootplot.root2matplotlib.HistStack.barcluster(), python.rootplot.root2matplotlib.HistStack.barh(), python.rootplot.root2matplotlib.HistStack.barstack(), Vispa.Views.LineDecayView.LineDecayContainer.childFinishedAutolayouting(), MainPageGenerator.MainPageGenerator.CreateNewMainPage(), python.rootplot.root2matplotlib.HistStack.errorbar(), python.rootplot.root2matplotlib.HistStack.errorbarh(), Formatter.SimpleHTMLFormatter.headers(), python.rootplot.root2matplotlib.HistStack.histstack(), Vispa.Gui.PortWidget.PortWidget.name(), python.rootplot.root2matplotlib.Hist.show_titles(), python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), python.rootplot.utilities.Hist2D.TH2F(), and python.rootplot.root2matplotlib.Hist2D.TH2F().
MainPageGenerator.MainPageGenerator.treePageTamplate |
Definition at line 108 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.__NewTreePage().
MainPageGenerator.MainPageGenerator.tWikiLinks |
Definition at line 20 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.__NewTreePage().
MainPageGenerator.MainPageGenerator.users |
Definition at line 163 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.usersURL |
Definition at line 17 of file MainPageGenerator.py.