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__ (self, dataPath, path, cmsVer="") |
Constructor method. More... | |
def | CreateBuildRefMan (self) |
def | CreateNewMainPage (self, outputFileName) |
def | ExportJSON (self, fileName) |
def | GetFileName (self, fileName) |
def | HTMLTreeAddItem (self, title, links=None, endNode=False, folder=False) |
def | HTMLTreeBegin (self, title, links={}) |
def | HTMLTreeEnd (self) |
def | ParseJsonFromURL (self, URL) |
def | PrepareData (self) |
def | ReadFile (self, fileName, pathFlag=True) |
def | WriteFile (self, fileName, data) |
Private Member Functions | |
def | __GetHTMLItemDepth (self, item) |
def | __HTMLFileName (self, fileName) |
def | __NewTreePage (self, domain) |
def | __ParseItem (self, str_) |
def | __ParseSubItem (self, str_) |
MainPageGenerator class is used for generating main page that contains domain trees (Analysis, Calibration and Alignment, Core, DAQ etc.)
Definition at line 7 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 12 of file MainPageGenerator.py.
|
private |
|
private |
Definition at line 158 of file MainPageGenerator.py.
References python.rootplot.root2matplotlib.replace().
|
private |
Definition at line 343 of file MainPageGenerator.py.
References CombinedSVCalibration.data, CombinedTauTagCalibration.data, TrackProbabilityCalibration.data, ecal::DigisCollection< StoragePolicy >.data, ElectronLikelihoodCalibration.data, classes.PlotData.data, QGLikelihoodObject.data, KDTreeNodeInfo< DATA, DIM >.data, calo::multifit::MapSymM< T, Stride, Order >.data, LASModuleProfile.data, MainPageGenerator.MainPageGenerator.data, QGLikelihoodSystematicsObject.data, GeometryComparisonPlotter.data, TkLasBeam.data, KDTreeNodes< DATA, DIM >.data, calo::multifit::MapMForPM< T >.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, EcalShowerContainmentCorrections::Coefficients.data, edm::DetSet< T >.data, CTPPSCompositeESSource::BinData< T >.data, hcal::DigiCollectionBase< StoragePolicy >.data, MainPageGenerator.MainPageGenerator.HTMLTreeAddItem(), MainPageGenerator.MainPageGenerator.HTMLTreeBegin(), MainPageGenerator.MainPageGenerator.HTMLTreeEnd(), relativeConstraints.keys, print(), python.rootplot.root2matplotlib.replace(), MainPageGenerator.MainPageGenerator.treePageTamplate, MainPageGenerator.MainPageGenerator.tWikiLinks, and MainPageGenerator.MainPageGenerator.WriteFile().
Referenced by MainPageGenerator.MainPageGenerator.CreateNewMainPage().
|
private |
Definition at line 146 of file MainPageGenerator.py.
|
private |
Definition at line 149 of file MainPageGenerator.py.
def MainPageGenerator.MainPageGenerator.CreateBuildRefMan | ( | self | ) |
Definition at line 262 of file MainPageGenerator.py.
References MainPageGenerator.MainPageGenerator.contentStamp, MainPageGenerator.MainPageGenerator.mainPageTemplate, python.rootplot.root2matplotlib.replace(), and MainPageGenerator.MainPageGenerator.WriteFile().
def MainPageGenerator.MainPageGenerator.CreateNewMainPage | ( | self, | |
outputFileName | |||
) |
Definition at line 298 of file MainPageGenerator.py.
References MainPageGenerator.MainPageGenerator.__NewTreePage(), MainPageGenerator.MainPageGenerator.contentStamp, CombinedTauTagCalibration.data, CombinedSVCalibration.data, TrackProbabilityCalibration.data, ecal::DigisCollection< StoragePolicy >.data, ElectronLikelihoodCalibration.data, classes.PlotData.data, QGLikelihoodObject.data, KDTreeNodeInfo< DATA, DIM >.data, calo::multifit::MapSymM< T, Stride, Order >.data, LASModuleProfile.data, MainPageGenerator.MainPageGenerator.data, QGLikelihoodSystematicsObject.data, GeometryComparisonPlotter.data, TkLasBeam.data, KDTreeNodes< DATA, DIM >.data, calo::multifit::MapMForPM< T >.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, EcalShowerContainmentCorrections::Coefficients.data, edm::DetSet< T >.data, CTPPSCompositeESSource::BinData< T >.data, hcal::DigiCollectionBase< StoragePolicy >.data, relativeConstraints.keys, MainPageGenerator.MainPageGenerator.links, MainPageGenerator.MainPageGenerator.mainPageTemplate, MainPageGenerator.MainPageGenerator.PrepareData(), FastTimerService_cff.range, python.rootplot.root2matplotlib.replace(), classes.PlotData.title, preexistingValidation.PreexistingValidation.title, MainPageGenerator.MainPageGenerator.title, alignment.Alignment.title, SiPixelGenErrorHeader.title, big::bigHeader.title, SiPixelTemplateHeader2D.title, presentation.SubsectionBase.title, Geometry.title, TkAlMap.TkAlMap.title, SiPixelTemplateHeader.title, TrackerMap.title, and MainPageGenerator.MainPageGenerator.WriteFile().
def MainPageGenerator.MainPageGenerator.ExportJSON | ( | self, | |
fileName | |||
) |
Definition at line 257 of file MainPageGenerator.py.
References CombinedSVCalibration.data, CombinedTauTagCalibration.data, TrackProbabilityCalibration.data, ecal::DigisCollection< StoragePolicy >.data, ElectronLikelihoodCalibration.data, classes.PlotData.data, QGLikelihoodObject.data, KDTreeNodeInfo< DATA, DIM >.data, calo::multifit::MapSymM< T, Stride, Order >.data, LASModuleProfile.data, MainPageGenerator.MainPageGenerator.data, QGLikelihoodSystematicsObject.data, GeometryComparisonPlotter.data, TkLasBeam.data, KDTreeNodes< DATA, DIM >.data, calo::multifit::MapMForPM< T >.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, EcalShowerContainmentCorrections::Coefficients.data, edm::DetSet< T >.data, CTPPSCompositeESSource::BinData< T >.data, hcal::DigiCollectionBase< StoragePolicy >.data, MainPageGenerator.MainPageGenerator.PrepareData(), and MainPageGenerator.MainPageGenerator.WriteFile().
def MainPageGenerator.MainPageGenerator.GetFileName | ( | self, | |
fileName | |||
) |
This method returns file name without extension
Definition at line 134 of file MainPageGenerator.py.
def MainPageGenerator.MainPageGenerator.HTMLTreeAddItem | ( | self, | |
title, | |||
links = None , |
|||
endNode = False , |
|||
folder = False |
|||
) |
Definition at line 400 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.__NewTreePage().
def MainPageGenerator.MainPageGenerator.HTMLTreeBegin | ( | self, | |
title, | |||
links = {} |
|||
) |
Definition at line 388 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.__NewTreePage().
def MainPageGenerator.MainPageGenerator.HTMLTreeEnd | ( | self | ) |
Definition at line 397 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 141 of file MainPageGenerator.py.
def MainPageGenerator.MainPageGenerator.PrepareData | ( | self | ) |
Definition at line 161 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.CreateNewMainPage(), and MainPageGenerator.MainPageGenerator.ExportJSON().
def MainPageGenerator.MainPageGenerator.ReadFile | ( | self, | |
fileName, | |||
pathFlag = True |
|||
) |
This method reads file directly or from path.
Definition at line 115 of file MainPageGenerator.py.
References MainPageGenerator.MainPageGenerator.path, presentation.ValidationPlots.path, METCorrectorDBWriter.path, JetCorrectorDBWriter.path, SiStripGainFromCalibTree.path, and print().
def MainPageGenerator.MainPageGenerator.WriteFile | ( | self, | |
fileName, | |||
data | |||
) |
This method writes data
Definition at line 127 of file MainPageGenerator.py.
References MainPageGenerator.MainPageGenerator.path, presentation.ValidationPlots.path, METCorrectorDBWriter.path, JetCorrectorDBWriter.path, SiStripGainFromCalibTree.path, and print().
Referenced by MainPageGenerator.MainPageGenerator.__NewTreePage(), MainPageGenerator.MainPageGenerator.CreateBuildRefMan(), MainPageGenerator.MainPageGenerator.CreateNewMainPage(), and MainPageGenerator.MainPageGenerator.ExportJSON().
MainPageGenerator.MainPageGenerator.classes |
Definition at line 202 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.classesSource |
Definition at line 111 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.classesURLs |
Definition at line 237 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.CMSSWURL |
Definition at line 20 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.CMSVER |
Definition at line 16 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.contentStamp |
Definition at line 92 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.CreateBuildRefMan(), and MainPageGenerator.MainPageGenerator.CreateNewMainPage().
MainPageGenerator.MainPageGenerator.data |
Definition at line 38 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.__NewTreePage(), data_sources.node.__str__(), confdb.HLTProcess._fix_parameter(), confdb.HLTProcess.addEras(), confdb.HLTProcess.addGlobalOptions(), confdb.HLTProcess.append_filenames(), data_sources.json_list.as_dicts(), data_sources.json_list.as_table(), confdb.HLTProcess.build_source(), MainPageGenerator.MainPageGenerator.CreateNewMainPage(), confdb.HLTProcess.customize(), confdb.HLTProcess.dump(), MainPageGenerator.MainPageGenerator.ExportJSON(), confdb.HLTProcess.fixPrescales(), data_sources.json_list.get_members(), confdb.HLTProcess.getRawConfigurationFromDB(), confdb.HLTProcess.instrumentDQM(), confdb.HLTProcess.instrumentOpenMode(), confdb.HLTProcess.instrumentTiming(), data_sources.json_list.last(), confdb.HLTProcess.loadAdditionalConditions(), confdb.HLTProcess.loadCff(), confdb.HLTProcess.loadSetupCff(), confdb.HLTProcess.overrideGlobalTag(), confdb.HLTProcess.overrideL1MenuXml(), confdb.HLTProcess.overrideOutput(), confdb.HLTProcess.overrideParameters(), confdb.HLTProcess.overrideProcessName(), confdb.HLTProcess.removeElementFromSequencesTasksAndPaths(), confdb.HLTProcess.runL1Emulator(), confdb.HLTProcess.specificCustomize(), cuy.FindIssue.startElement(), edmStreamStallGrapher.Stack.update(), and confdb.HLTProcess.updateMessageLogger().
MainPageGenerator.MainPageGenerator.dataPath |
Definition at line 14 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.domains |
Definition at line 173 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.filesSource |
Definition at line 112 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.GitLink |
Definition at line 40 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.head |
Definition at line 48 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.links |
Definition at line 43 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.CreateNewMainPage().
MainPageGenerator.MainPageGenerator.mainPageTemplate |
Definition at line 93 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.CreateBuildRefMan(), and MainPageGenerator.MainPageGenerator.CreateNewMainPage().
MainPageGenerator.MainPageGenerator.managers |
Definition at line 162 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.managersURL |
Definition at line 18 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.packages |
Definition at line 192 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.packageSource |
Definition at line 113 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.path |
Definition at line 13 of file MainPageGenerator.py.
Referenced by python.rootplot.rootmath.Target.__repr__(), MainPageGenerator.MainPageGenerator.ReadFile(), and MainPageGenerator.MainPageGenerator.WriteFile().
MainPageGenerator.MainPageGenerator.title |
Definition at line 42 of file MainPageGenerator.py.
Referenced by 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(), MainPageGenerator.MainPageGenerator.CreateNewMainPage(), python.rootplot.root2matplotlib.HistStack.errorbar(), python.rootplot.root2matplotlib.HistStack.errorbarh(), Formatter.SimpleHTMLFormatter.headers(), python.rootplot.root2matplotlib.HistStack.histstack(), 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 110 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.__NewTreePage().
MainPageGenerator.MainPageGenerator.tWikiLinks |
Definition at line 22 of file MainPageGenerator.py.
Referenced by MainPageGenerator.MainPageGenerator.__NewTreePage().
MainPageGenerator.MainPageGenerator.users |
Definition at line 165 of file MainPageGenerator.py.
MainPageGenerator.MainPageGenerator.usersURL |
Definition at line 19 of file MainPageGenerator.py.