CMS 3D CMS Logo

indexGen Namespace Reference


Functions

def processFile
def testFileType

Variables

 benchmarkConfig = options.pyBenchmark
tuple benchmarkConfigLink = processFile( benchmarkConfig, outputDir )
list cmssw = os.environ['CMSSW_VERSION']
string comments = 'no comment'
string default = "None"
list dirPlots = args[0]
 genConfig = options.pyGenSource
tuple genConfigLink = processFile(genConfig, outputDir )
string help = "url pointing to a recipe"
tuple ifile = open( indexhtml )
string images = ''
tuple img = imgTemplate%os.path.basename(pic)
string imgTemplate = '<IMG src="%s" width="500" align="left" border="0">'
string indexhtml = "%s/%s"
tuple indexTemplate = ifile.read()
string infonotfoundhtml = "%s/%s"
tuple infoNotFoundTemplate = ifile.read()
 macro = options.macro
tuple macroLink = processFile(macro, outputDir )
tuple ofile = open( '%s/index.html' % outputDir, 'w' )
tuple ofile2 = open( '%s/infoNotFound.html' % outputDir, 'w' )
 outputDir = title
tuple parser = OptionParser()
list pictures = []
 recipe = options.recipe
tuple recipeLink = processFile( recipe, outputDir )
tuple s = Template(indexTemplate)
tuple s2 = Template(infoNotFoundTemplate)
tuple showTags = os.popen( 'showtags -t -r')
 simConfig = options.pySim
tuple simConfigLink = processFile( simConfig, outputDir )
tuple subst
tuple subst2 = s2.substitute( username = os.environ['USER'] )
list templates = args[1]
tuple title = os.path.basename( os.getcwd() )
tuple tmppictures = os.listdir( dirPlots )


Function Documentation

def indexGen::processFile (   file,
  outputDir 
)

Definition at line 25 of file indexGen.py.

00025                                   :
00026  
00027      if file == "None":
00028           return 'infoNotFound.html'
00029      else:
00030           if os.path.isfile(file):
00031                shutil.copy(file, outputDir)
00032                return os.path.basename(file)
00033           else:
00034                return file
00035      
00036      
00037 
00038 
parser = OptionParser()

def indexGen::testFileType (   file,
  ext 
)

Definition at line 11 of file indexGen.py.

00011                              :
00012 
00013      if file == "None":
00014           return
00015      
00016      if os.path.isfile( file ) == False:
00017           print '%s is not a file' % file
00018           sys.exit(2)
00019      
00020      (fileroot, fileext) = os.path.splitext( file )
00021      if fileext != ext:
00022           print '%s does not end with %s' % (file, ext) 
00023           sys.exit(3)
00024 
def processFile( file, outputDir ):


Variable Documentation

indexGen::benchmarkConfig = options.pyBenchmark [static]

Definition at line 80 of file indexGen.py.

tuple indexGen::benchmarkConfigLink = processFile( benchmarkConfig, outputDir ) [static]

Definition at line 132 of file indexGen.py.

list indexGen::cmssw = os.environ['CMSSW_VERSION'] [static]

Definition at line 84 of file indexGen.py.

string indexGen::comments = 'no comment' [static]

Definition at line 135 of file indexGen.py.

Referenced by lhef::JetMatchingMadgraph::beforeHadronisation(), edm::AlpgenProducer::beginRun(), and edm::AlpgenSource::beginRun().

string indexGen::default = "None" [static]

Definition at line 44 of file indexGen.py.

list indexGen::dirPlots = args[0] [static]

Definition at line 74 of file indexGen.py.

indexGen::genConfig = options.pyGenSource [static]

Definition at line 78 of file indexGen.py.

tuple indexGen::genConfigLink = processFile(genConfig, outputDir ) [static]

Definition at line 130 of file indexGen.py.

string indexGen::help = "url pointing to a recipe" [static]

Definition at line 43 of file indexGen.py.

tuple indexGen::ifile = open( indexhtml ) [static]

Definition at line 148 of file indexGen.py.

Referenced by GctDigiToPsbText::analyze(), SiStripCommissioningOfflineClient::beginJob(), DTStatusFlagHandler::getNewObjects(), DTReadOutMappingHandler::getNewObjects(), DTMtimeHandler::getNewObjects(), DTT0Handler::getNewObjects(), DTRangeT0Handler::getNewObjects(), DTDeadFlagHandler::getNewObjects(), DTTtrigHandler::getNewObjects(), DTPerformanceHandler::getNewObjects(), GtPsbTextToDigi::GtPsbTextToDigi(), GtPsbTextToDigi::produce(), StoreEcalCondition::readEcalChannelStatusFromFile(), SiStripCommissioningOfflineClient::setInputFiles(), and NuclearInteractionSimulator::~NuclearInteractionSimulator().

string indexGen::images = '' [static]

Definition at line 138 of file indexGen.py.

tuple indexGen::img = imgTemplate%os.path.basename(pic) [static]

Definition at line 140 of file indexGen.py.

Referenced by SiPixelTrackerMapCreator::create(), and evf::WebGUI::htmlHeadline().

string indexGen::imgTemplate = '<IMG src="%s" width="500" align="left" border="0">' [static]

Definition at line 137 of file indexGen.py.

string indexGen::indexhtml = "%s/%s" [static]

Definition at line 112 of file indexGen.py.

tuple indexGen::indexTemplate = ifile.read() [static]

Definition at line 149 of file indexGen.py.

string indexGen::infonotfoundhtml = "%s/%s" [static]

Definition at line 114 of file indexGen.py.

tuple indexGen::infoNotFoundTemplate = ifile.read() [static]

Definition at line 173 of file indexGen.py.

indexGen::macro = options.macro [static]

Definition at line 81 of file indexGen.py.

tuple indexGen::macroLink = processFile(macro, outputDir ) [static]

Definition at line 133 of file indexGen.py.

tuple indexGen::ofile = open( '%s/index.html' % outputDir, 'w' ) [static]

Definition at line 168 of file indexGen.py.

Referenced by CalibrationHistosUsingDb::create(), ImpactParameterCalibration::endJob(), and edm::MadGraphSource::MadGraphSource().

tuple indexGen::ofile2 = open( '%s/infoNotFound.html' % outputDir, 'w' ) [static]

Definition at line 176 of file indexGen.py.

indexGen::outputDir = title [static]

Definition at line 119 of file indexGen.py.

Referenced by SiPixelHistoricInfoEDAClient::endJob(), and SiPixelHistoricInfoEDAClient::endRun().

tuple indexGen::parser = OptionParser() [static]

Definition at line 39 of file indexGen.py.

Referenced by reco::modules::CandCombinerBase::CandCombinerBase(), pool::TrivialFileCatalog::connect(), DDTokenize2(), L1GtTriggerMenuXmlParser::initXML(), edm::InputFileCatalog::InputFileCatalog(), cscdqm::Configuration::load(), cscdqm::Collection::load(), CSCMonitorModule::loadCollection(), HcalPatternSource::loadPatternFile(), reco::modules::NamedCandCombinerBase::NamedCandCombinerBase(), MuonAlignmentInputXML::newAlignableMuon(), RPCPatternsParser::parse(), edm::service::SiteLocalConfigService::parse(), DTFakeT0ESProducer::parseDDD(), L1GtTriggerMenuXmlParser::parseXmlFile(), MiscalibReaderFromXML::parseXMLMiscalibFile(), PoolData::PoolData(), cond::XMLAuthenticationService::XMLAuthenticationService::processFile(), RPCTriggerConfig::produce(), HcalTopologyIdealEP::produce(), IgXMLReader::read(), popcon::L1RPCConfigSourceHandler::readConfig(), RPCPacData::RPCPacData(), and XMLIdealGeometryESSource::XMLIdealGeometryESSource().

list indexGen::pictures = [] [static]

Definition at line 91 of file indexGen.py.

indexGen::recipe = options.recipe [static]

Definition at line 77 of file indexGen.py.

tuple indexGen::recipeLink = processFile( recipe, outputDir ) [static]

Definition at line 129 of file indexGen.py.

tuple indexGen::s = Template(indexTemplate) [static]

Definition at line 151 of file indexGen.py.

tuple indexGen::s2 = Template(infoNotFoundTemplate) [static]

Definition at line 174 of file indexGen.py.

tuple indexGen::showTags = os.popen( 'showtags -t -r') [static]

Definition at line 87 of file indexGen.py.

indexGen::simConfig = options.pySim [static]

Definition at line 79 of file indexGen.py.

tuple indexGen::simConfigLink = processFile( simConfig, outputDir ) [static]

Definition at line 131 of file indexGen.py.

tuple indexGen::subst [static]

Initial value:

s.substitute(title = title,
                     recipe = recipe,
                     recipeLink = recipeLink,
                     genConfig = os.path.basename(genConfig),
                     genConfigLink = genConfigLink,
                     simConfig = os.path.basename(simConfig),
                     simConfigLink = simConfigLink,
                     benchmarkConfig = os.path.basename(benchmarkConfig),
                     benchmarkConfigLink = benchmarkConfigLink,
                     macro =  os.path.basename(macro), 
                     macroLink = macroLink, 
                     comments = comments,
                     cmssw = cmssw,
                     showTags = showTags,
                     images = images, 
                     )

Definition at line 152 of file indexGen.py.

tuple indexGen::subst2 = s2.substitute( username = os.environ['USER'] ) [static]

Definition at line 175 of file indexGen.py.

list indexGen::templates = args[1] [static]

Definition at line 75 of file indexGen.py.

Referenced by L1GtVhdlWriterCore::makeFirmware().

tuple indexGen::title = os.path.basename( os.getcwd() ) [static]

Definition at line 118 of file indexGen.py.

Referenced by VisG4TwigOps::actionAppearance(), VisG4TwigOps::actionApplyFilter(), VisG4TwigOps::actionShowMaterial(), AlCaHOCalibProducer::AlCaHOCalibProducer(), CalibrationAlgorithm::analyse(), CkfDebugger::analyseCompatibleMeasurements(), EcalPnGraphs::analyze(), HLTJetMETDQMSource::analyze(), FourVectorHLT::analyze(), HLTMuonDQMSource::beginJob(), HLTMuonL1DQMSource::beginJob(), HLTMuonRecoDQMSource::beginJob(), HLTJetMETDQMSource::beginJob(), MuonIdDQM::beginJob(), DTOccupancyTest::beginJob(), HLTMuonIsoDQMSource::beginJob(), L1GctValidation::beginJob(), FourVectorHLT::beginJob(), MuonIdVal::beginJob(), FourVectorHLTOffline::beginRun(), FourVectorHLTOnline::beginRun(), FedTimingTask::book(), FineDelayTask::book(), CalibrationTask::book(), DaqScopeModeTask::book(), CSCMonitorModule::book(), OptoScanTask::book(), AlignmentMonitorTemplate::book(), LatencyTask::book(), PedestalsTask::book(), ConfigurableHisto::book(), AlignmentMonitorMuonHIP::book(), AlignmentMonitorTracksFromTrajectories::book(), PedsOnlyTask::book(), VpspScanTask::book(), NoiseTask::book(), FastFedCablingTask::book(), MaterialBudgetHcalHistos::book(), ApvTimingTask::book(), cscdqm::Collection::book(), FedCablingTask::book(), AlignmentMonitorMuonHIP::bookByAli(), SiStripQualityHotStripIdentifierRoot::bookHistos(), CalibrationTask::checkAndSave(), CalibrationScanTask::checkAndSave(), CkfDebugger::CkfDebugger(), HTrackVariables::computeEfficiency(), CommissioningHistograms::copyCustomInformation(), CommissioningHistograms::createCollations(), CSCValidation::doADCTiming(), CSCValidation::doAFEBTiming(), CSCValidation::doCompTiming(), CSCValidation::doGasGain(), EcalSelectiveReadoutValidation::EcalSelectiveReadoutValidation(), EcalTrigPrimAnalyzer::EcalTrigPrimAnalyzer(), PedestalsAlgorithm::extract(), CalibrationAlgorithm::extract(), FastFedCablingAlgorithm::extract(), DaqScopeModeAlgorithm::extract(), ApvLatencyAlgorithm::extract(), ApvTimingAlgorithm::extract(), OptoScanAlgorithm::extract(), PedsOnlyAlgorithm::extract(), VpspScanAlgorithm::extract(), SamplingAlgorithm::extract(), FedCablingAlgorithm::extract(), NoiseAlgorithm::extract(), FedTimingAlgorithm::extract(), CommissioningAlgorithm::extractFedKey(), CommissioningHistograms::extractHistograms(), getAnyHisto(), getAnyIMG(), getHisto(), getHisto2(), getHistoTH3F(), getHistoTProfile(), getHistoTProfile2D(), getIMG(), getIMG2(), getIMGTProfile(), HcalTB02Histo::HcalTB02Histo(), hInit(), OptTOA::histogram_t::histogram_t(), pat::HistoGroup< PHYS_OBJECT >::HistoGroup(), HOCalibAnalyzer::HOCalibAnalyzer(), evf::WebGUI::htmlHead(), L1ScalersClient::L1ScalersClient(), main(), makeGifHists(), pat::PhysVarHisto::makeTH1(), MonitorElementsDb::MonitorElementsDb(), root::plot(), root::plotTF1(), UtilsClient::printBadChannels(), IgOnCrashService::printFatalException(), SiPixelTemplate::pushfile(), MonitorElement::qualityTagString(), CommissioningHistograms::runNumber(), CommissioningHistograms::runType(), HcalEEUSMonitor::setup(), MultiTrackValidatorBase::setUpVectors(), SplittingConfigurableHisto::SplittingConfigurableHisto(), edm::service::ELoutput::summarization(), edm::ELlog4cplus::summarization(), edm::service::ELfwkJobReport::summarization(), PedsOnlyAnalysis::summary(), VpspScanAnalysis::summary(), PedestalsAnalysis::summary(), NoiseAnalysis::summary(), OptoScanAnalysis::summary(), FastFedCablingAnalysis::summary(), CommissioningAnalysis::summary(), TmTestWidget::TmTestWidget(), TPGCheck::TPGCheck(), cscdqm::Summary::Write(), cscdqm::Summary::WriteMap(), and CkfDebugger::~CkfDebugger().

tuple indexGen::tmppictures = os.listdir( dirPlots ) [static]

Definition at line 94 of file indexGen.py.


Generated on Tue Jun 9 18:47:45 2009 for CMSSW by  doxygen 1.5.4