Classes | |
class | HTMLExport |
class | HTMLExportStatic |
Functions | |
def | elem |
def | get_jquery |
Variables | |
string | CMSLOGO = "https://cms.cern.ch/iCMS/imgs/icms/CMSheader_left.gif" |
CSS_TEMPLATE = \ | |
string | CVS = "https://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/" |
string | JQUERY = "https://code.jquery.com/jquery-1.6.2.min.js" |
JS_TEMPLATE = \ | |
string | LXR = "https://cmslxr.fnal.gov/lxr/ident?" |
PAGE_TEMPLATE = \ |
def python::HTMLExport::elem | ( | elemtype, | |
innerHTML = '' , |
|||
html_class = '' , |
|||
kwargs | |||
) |
Definition at line 18 of file HTMLExport.py.
Referenced by HistoAnalyzer< C >::analyze(), BeamProfileVtxGenerator::BeamProfileVtxGenerator(), HcalDQMDbInterface::createElement(), OnDemandMeasurementTracker::define(), lhef::LHEReader::XMLHandler::endElement(), edm::FileRandomKEThetaGunProducer::FileRandomKEThetaGunProducer(), AlCaElectronsTest::fillAroundBarrel(), DQMSourceEleCalib::fillAroundBarrel(), DQMSourceEleCalib::fillAroundEndcap(), AlCaElectronsTest::fillAroundEndcap(), PhysicsTools::MVATrainer::fillInputVars(), PhysicsTools::MVATrainer::fillOutputVars(), ora::PoolMappingSchema::getMapping(), ora::OraMappingSchema::getMapping(), AlCaElectronsTest::getMaximum(), PhysicsTools::MVATrainer::makeProcessor(), PhysicsTools::MVATrainer::MVATrainer(), PFBlockLink::neighbour(), CSCRecoConditions::noiseMatrix(), PtIsolationAlgo< T, C >::operator()(), CalIsolationAlgo< T1, C2 >::operator()(), CalIsolationAlgoNoExp< T1, C2 >::operator()(), TrkCalIsolationAlgo< T1, C2 >::operator()(), SummaryPlotXmlParser::parseXML(), NtpProducer< C >::produce(), ora::rebuildPoolMapping(), TopologyWorker::setPartList(), lhef::LHEReader::XMLHandler::startElement(), EwkMuLumiMonitorDQM::tkIso(), and ora::MappingDatabase::unfoldElement().
00019 : 00020 if html_class: #since 'class' cannot be used as a kwarg 00021 kwargs['class'] = html_class 00022 args = ' '.join(['%s="%s"' % i for i in kwargs.items()]) 00023 if args: 00024 return "<%s %s>%s</%s>\n" % (elemtype, args, innerHTML, elemtype) 00025 else: 00026 return "<%s>%s</%s>\n" % (elemtype, innerHTML, elemtype)
def python::HTMLExport::get_jquery | ( | ) |
Definition at line 27 of file HTMLExport.py.
00028 : 00029 jquery_file = os.path.join(os.path.dirname(sys.modules[__name__].__file__), 'jquery-1.6.2.min.js') 00030 if os.path.exists(jquery_file): 00031 return elem('script', open(jquery_file).read(), type='text/javascript') 00032 else: 00033 return elem('script', type='text/javascript', src=JQUERY)
string python::HTMLExport::CMSLOGO = "https://cms.cern.ch/iCMS/imgs/icms/CMSheader_left.gif" |
Definition at line 37 of file HTMLExport.py.
Definition at line 39 of file HTMLExport.py.
string python::HTMLExport::CVS = "https://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/" |
Definition at line 36 of file HTMLExport.py.
string python::HTMLExport::JQUERY = "https://code.jquery.com/jquery-1.6.2.min.js" |
Definition at line 34 of file HTMLExport.py.
Definition at line 126 of file HTMLExport.py.
string python::HTMLExport::LXR = "https://cmslxr.fnal.gov/lxr/ident?" |
Definition at line 35 of file HTMLExport.py.
Definition at line 594 of file HTMLExport.py.