CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
timingPdfMaker Namespace Reference

Functions

def get_plot1
 
def get_plot2
 
def main
 
def maininfo
 
def moduleinfo
 
def pathsinfo
 
def specificpathinfo
 
def usage
 

Variables

tuple allnames = k.ReadObj()
 
 call_maininfo = False
 
 call_modulesinfo = False
 
 call_pathsinfo = False
 
 call_specificinfo = False
 
tuple can = TCanvas('can', '', 800,600)
 
tuple excludefile = open(infile.replace('.root','')+'-summary.txt', 'r')
 
tuple file = TFile(infile,'read')
 
tuple file1 = TFile(infile,'read')
 
tuple histo = file1.Get('moduleInPathTimeSummary_'+pathnames)
 
 infile = None
 
tuple label = histo.GetXaxis()
 
int mean = 1
 
string modname = ''
 
tuple names = sorted(names1.keys())
 
dictionary names1 = {}
 
tuple names2 = dict(sorted(names1.items(), key=operator.itemgetter(1),reverse=True)[:10])
 
tuple names3 = sorted(names2, key=names2.get, reverse=True)
 
dictionary names4 = {}
 
tuple names5 = dict(sorted(names4.items(), key=operator.itemgetter(1),reverse=True)[:10])
 
tuple names6 = sorted(names5, key=names5.get, reverse=True)
 
 outfile = None
 
 path = None
 
string pathname = '_'
 
dictionary specific = {}
 
tuple texfile = open(outfile+'-main.tex', 'w')
 
tuple texfile1 = open(outfile+'-modules.tex', 'w')
 
tuple texfile2 = open(outfile+'-runningModules.tex', 'w')
 
list texpreamble
 

Function Documentation

def timingPdfMaker.get_plot1 (   file,
  allnames 
)
Function to create the plot and save it as.png file 

Definition at line 305 of file timingPdfMaker.py.

Referenced by specificpathinfo().

306 def get_plot1(file,allnames):
''' Function to create the plot and save it as.png file '''
def timingPdfMaker.get_plot2 (   infile,
  allnames 
)
Function to create the plot and save it as.png file 

Definition at line 322 of file timingPdfMaker.py.

323 def get_plot2(infile,allnames):
''' Function to create the plot and save it as.png file '''
def timingPdfMaker.main (   argv)

Definition at line 343 of file timingPdfMaker.py.

References print().

def main(argv):
def timingPdfMaker.maininfo (   infile,
  outfile 
)
Creates main info tex file

Definition at line 56 of file timingPdfMaker.py.

56 
57 def maininfo(infile, outfile):
''' Creates main info tex file'''
def timingPdfMaker.moduleinfo (   infile,
  outfile 
)
Create the paths info tex file

Definition at line 191 of file timingPdfMaker.py.

192 def moduleinfo(infile,outfile):
'''Create the paths info tex file'''
def timingPdfMaker.pathsinfo (   infile,
  outfile 
)
Create the paths info tex file

Definition at line 131 of file timingPdfMaker.py.

132 def pathsinfo(infile,outfile):
'''Create the paths info tex file'''
def timingPdfMaker.specificpathinfo (   infile,
  outfile,
  path 
)
Creates an specific path info tex file

Definition at line 246 of file timingPdfMaker.py.

References get_plot1(), and join().

247 def specificpathinfo(infile, outfile, path):
''' Creates an specific path info tex file'''
def timingPdfMaker.usage ( )

Definition at line 36 of file timingPdfMaker.py.

References print().

36 
def usage():

Variable Documentation

tuple timingPdfMaker.allnames = k.ReadObj()

Definition at line 80 of file timingPdfMaker.py.

timingPdfMaker.call_maininfo = False

Definition at line 352 of file timingPdfMaker.py.

timingPdfMaker.call_modulesinfo = False

Definition at line 354 of file timingPdfMaker.py.

timingPdfMaker.call_pathsinfo = False

Definition at line 353 of file timingPdfMaker.py.

timingPdfMaker.call_specificinfo = False

Definition at line 355 of file timingPdfMaker.py.

tuple timingPdfMaker.can = TCanvas('can', '', 800,600)

Definition at line 310 of file timingPdfMaker.py.

Referenced by CastorHardcodeGeometryLoader.makeCell(), EcalMipGraphs.selectHits(), and EcalDisplaysByEvent.selectHits().

tuple timingPdfMaker.excludefile = open(infile.replace('.root','')+'-summary.txt', 'r')

Definition at line 98 of file timingPdfMaker.py.

tuple timingPdfMaker.file = TFile(infile,'read')

Definition at line 152 of file timingPdfMaker.py.

tuple timingPdfMaker.file1 = TFile(infile,'read')

Definition at line 78 of file timingPdfMaker.py.

Referenced by SurveyInputCSCfromPins.analyze(), RegressionHelper.checkSetup(), DatabasePDG.DatabasePDG(), main(), and CaloTPGTranscoderULUTs.produce().

tuple timingPdfMaker.histo = file1.Get('moduleInPathTimeSummary_'+pathnames)

Definition at line 278 of file timingPdfMaker.py.

Referenced by SiStripCalibLorentzAngle.algoBeginJob(), HcalTestAnalyzer.analyze(), DTTTrigWriter.analyze(), AverageRunMultiplicity(), ESDataCertificationTask.beginJob(), ESDaqInfoTask.beginJob(), ESDcsInfoTask.beginJob(), DTEfficiencyTask.beginLuminosityBlock(), DTChamberEfficiencyTask.beginLuminosityBlock(), DTLocalTriggerBaseTask.beginLuminosityBlock(), DTLocalTriggerTask.beginLuminosityBlock(), SiStripCommissioningOfflineClient.beginRun(), ESSummaryClient.book(), ESIntegrityClient.book(), HistogramManager.book(), ESOccupancyTask.bookHistograms(), ESFEDIntegrityTask.bookHistograms(), RPCMonitorRaw.bookHistograms(), ESIntegrityTask.bookHistograms(), SiStripDigiValid.bookHistograms(), ESRawDataTask.bookHistograms(), ESTrendTask.bookHistograms(), ESTimingTask.bookHistograms(), EcalPreshowerNoiseDistrib.bookHistograms(), CaloTowersValidation.bookHistograms(), SiPixelRecHitsValid.bookHistograms(), TICLPFValidation.bookHistograms(), EcalPreshowerDigisValidation.bookHistograms(), EcalBarrelSimHitsValidation.bookHistograms(), BeamMonitor.bookHistograms(), EcalEndcapSimHitsValidation.bookHistograms(), EcalPreshowerSimHitsValidation.bookHistograms(), FakeBeamMonitor.bookHistograms(), EcalPreshowerRecHitsValidation.bookHistograms(), EcalSimHitsValidation.bookHistograms(), EcalBarrelDigisValidation.bookHistograms(), EcalEndcapRecHitsValidation.bookHistograms(), NoiseRates.bookHistograms(), CaloTowersAnalyzer.bookHistograms(), EcalEndcapDigisValidation.bookHistograms(), EcalBarrelRecHitsValidation.bookHistograms(), HcalSimHitsValidation.bookHistograms(), PFClusterValidation.bookHistograms(), HcalNoiseRates.bookHistograms(), CaloParticleValidation.bookHistograms(), TICLTrackstersEdgesValidation.bookHistograms(), EcalDigisValidation.bookHistograms(), EcalRecHitsValidation.bookHistograms(), HcalRecHitsValidation.bookHistograms(), HcalRecHitsAnalyzer.bookHistograms(), EcalMixingModuleValidation.bookHistograms(), DTDataIntegrityTask.bookHistos(), HcalDigisValidation.booking(), HCovarianceVSParts.Clear(), HMassResolutionVSPart.Clear(), MuScleFitBase.clearHistoMap(), compileDMRTrends(), ConvertToHist(), TICLPFValidation.dqmAnalyze(), DTSegment4DQuality.dqmAnalyze(), CaloParticleValidation.dqmAnalyze(), TICLTrackstersEdgesValidation.dqmAnalyze(), SiStripPopConNoisesHandlerFromDQM.dqmEndJob(), SiStripPopConPedestalsHandlerFromDQM.dqmEndJob(), TriggerRatesMonitorClient.dqmEndJob(), DTNoiseAnalysisTest.dqmEndLuminosityBlock(), DTOccupancyTest.dqmEndLuminosityBlock(), DTOccupancyTestML.dqmEndLuminosityBlock(), DTResolutionTest.dqmEndLuminosityBlock(), DTEfficiencyTest.dqmEndLuminosityBlock(), MuonTrackResidualsTest.dqmEndRun(), DTOccupancyClusterBuilder.drawClusters(), DTNoiseComputation.endJob(), HistogramManager.executePerEventHarvesting(), CommissioningHistograms.extractHistograms(), HistogramManager.fill(), MuonPFAnalyzer.fillInRange(), ESSummaryClient.fillReportSummary(), Phase2ITRecHitHarvester.gausFitslices(), L1TOccupancyClient.getAvrg(), dtCalibration::DTVDriftSegment.getHisto(), dtCalibration::DTTTrigT0SegCorrection.getHisto(), dtCalibration::DTTTrigResidualCorrection.getHisto(), DTOccupancyCluster.getHisto(), OnlineBeamMonitor.globalEndLuminosityBlock(), AlcaBeamMonitor.globalEndLuminosityBlock(), CommissioningTask::HistoSet.histo(), SummaryGenerator.histo1D(), SummaryGenerator.histo2DScatter(), SummaryGenerator.histo2DSum(), DQMGenericClient.limitedFit(), HistogramManager.loadFromDQMStore(), main(), SiStripHistoPlotter.makeCondDBPlots(), SiStripHistoPlotter.makePlot(), makePlots(), DTSegmentAnalysisTest.performClientDiagnostic(), PixelResolutionHistograms.PixelResolutionHistograms(), FlavourHistograms< T >.plot(), FlavourHistograms2D< T, G >.plot(), PixelVertexProducerMedian.produce(), HIPixelMedianVtxProducer.produce(), SummaryGenerator.profile1D(), Phase1PixelMaps.rescaleAllBarrel(), Phase1PixelMaps.rescaleAllForward(), DTResolutionAnalysisTest.resetMEs(), dqm::DQMFileSaverPB.savePB(), Phase1PixelMaps.setBarrelScale(), MuonPFAnalyzer.setCodeLabels(), Phase1PixelMaps.setForwardScale(), L1TOccupancyClientHistogramService.setMaskedBins(), DTLocalTriggerTask.setQLabels(), DTLocalTriggerBaseTask.setQLabels(), DTLocalTriggerBaseTask.setQLabelsPh2(), DTLocalTriggerTask.setQLabelsTheta(), DTLocalTriggerBaseTask.setQLabelsTheta(), PedestalsTask.update(), PedsOnlyTask.update(), PedsFullNoiseTask.update(), DaqScopeModeTask.update(), NoiseTask.update(), HCovarianceVSParts.Write(), HMassResolutionVSPart.Write(), SummaryOutputProducer.writeHistograms(), MuScleFitBase.writeHistoMap(), MuScleFitPlotter.writeHistoMap(), ResolutionAnalyzer.writeHistoMap(), HCovarianceVSParts.~HCovarianceVSParts(), and HMassResolutionVSPart.~HMassResolutionVSPart().

timingPdfMaker.infile = None

Definition at line 349 of file timingPdfMaker.py.

Referenced by AlCaHcalHBHEMuonProducer.AlCaHcalHBHEMuonProducer(), HcalLutAnalyzer.analyze(), TrackerMap.build(), APVValidationPlots.endJob(), HcalQIEManager.getHfQieTable(), HcalLutManager.getLutSetFromFile(), SiStripBadStripFromASCIIFile.getNewObject(), SiStripGainFromAsciiFile.getNewObject(), HcalQIEManager.getQIETableFromFile(), evf::EvFDaqDirector.grabNextJsonFile(), HcalHBHEMuonAnalyzer.HcalHBHEMuonAnalyzer(), HcalHBHEMuonHighEtaAnalyzer.HcalHBHEMuonHighEtaAnalyzer(), HcalTBObjectUnpacker.parseCalib(), evf::EvFDaqDirector.parseFRDFileHeader(), EcalTrigPrimESProducer.parseTextFile(), evf::EvFDaqDirector.rawFileHasHeader(), PtLUTReader.read(), SectorProcessorLUT.read_cppf_file(), SectorProcessorLUT.read_file(), HBHEDarkening.readDoseMap(), HGCalRadiationMap.readDosePars(), CaloMeanResponse.readResponse(), HGCalSciNoiseMap.readSipmPars(), HCalSD.readWeightFromFile(), RecAnalyzerMinbias.RecAnalyzerMinbias(), SiPixelDigiSource.SiPixelDigiSource(), SurveyPxbImageReader< T >.SurveyPxbImageReader(), edm::Lumi3DReWeighting.weight3D_init(), and reweight::LumiReWeighting.weight3D_set().

tuple timingPdfMaker.label = histo.GetXaxis()

Definition at line 280 of file timingPdfMaker.py.

int timingPdfMaker.mean = 1

Definition at line 155 of file timingPdfMaker.py.

string timingPdfMaker.modname = ''

Definition at line 217 of file timingPdfMaker.py.

Referenced by CmsMTDConstruction< FilteredView >.buildBTLModule(), PileupJetIDVarProducer.fillDescriptions(), LeptonInJetProducer< T >.fillDescriptions(), EGMEnergyVarProducer< T >.fillDescriptions(), VIDNestedWPBitmapProducer< T >.fillDescriptions(), BetaStarVarProducer< T >.fillDescriptions(), LeptonJetVarProducer< T >.fillDescriptions(), IsoValueMapProducer< T >.fillDescriptions(), BJetEnergyRegressionVarProducer< T >.fillDescriptions(), and BaseMVAValueMapProducer< T >.fillDescriptions().

dictionary timingPdfMaker.names = sorted(names1.keys())

Definition at line 160 of file timingPdfMaker.py.

dictionary timingPdfMaker.names1 = {}

Definition at line 75 of file timingPdfMaker.py.

tuple timingPdfMaker.names2 = dict(sorted(names1.items(), key=operator.itemgetter(1),reverse=True)[:10])

Definition at line 90 of file timingPdfMaker.py.

tuple timingPdfMaker.names3 = sorted(names2, key=names2.get, reverse=True)

Definition at line 91 of file timingPdfMaker.py.

dictionary timingPdfMaker.names4 = {}

Definition at line 76 of file timingPdfMaker.py.

tuple timingPdfMaker.names5 = dict(sorted(names4.items(), key=operator.itemgetter(1),reverse=True)[:10])

Definition at line 92 of file timingPdfMaker.py.

tuple timingPdfMaker.names6 = sorted(names5, key=names5.get, reverse=True)

Definition at line 93 of file timingPdfMaker.py.

tuple timingPdfMaker.outfile = None

Definition at line 350 of file timingPdfMaker.py.

Referenced by MillePedeAlignmentAlgorithm.addPxbSurvey(), TkAlCaSkimTreeMerger.endJob(), ExternalLHEAsciiDumper.endRun(), popcon::EcalSRPHandler.getNewObjects(), popcon::EcalChannelStatusHandler.getNewObjects(), evf::EvFDaqDirector.grabNextJsonFile(), evf::EvFDaqDirector.grabNextJsonFromRaw(), listbadmodule(), ls_cert(), lsbs_cert(), main(), modulediff(), DeepDoubleXONNXJetTagsProducer.produce(), PatternOptimizerBase.savePatternsInRoot(), edm::Lumi3DReWeighting.weight3D_init(), reweight::LumiReWeighting.weight3D_init(), PtLUTWriter.write(), and pos::PixelFEDCard.writeASCII().

timingPdfMaker.path = None

Definition at line 351 of file timingPdfMaker.py.

string timingPdfMaker.pathname = '_'

Definition at line 82 of file timingPdfMaker.py.

Referenced by HLTInclusiveVBFSource.analyze(), HLTInclusiveVBFSource.bookHistograms(), BTVHLTOfflineSource.dqmBeginRun(), JetMETHLTOfflineSource.dqmBeginRun(), DQMHistNormalizer.endRun(), JetMETHLTOfflineSource.fillMEforMonTriggerSummary(), EDMtoMEConverter.getData(), lumi::HLTDummy2DB.retrieveData(), lumi::HLTV32DB.retrieveData(), edm::messagedrop::StringProducerPath.set(), HLTInclusiveVBFSource.validPathHLT(), JetMETHLTOfflineSource.validPathHLT(), and lumi::HLTV32DB.writeHltData().

dictionary timingPdfMaker.specific = {}

Definition at line 77 of file timingPdfMaker.py.

Referenced by GenSpecificAlgo.addInfo(), CaloSpecificAlgo.addInfo(), HLTHcalMETNoiseCleaner.BuildCaloMet(), GenSpecificAlgo.mkSpecificGenMETData(), BasicToPFJet.produce(), PFJetToCaloProducer.produce(), PFTauToJetProducer.produce(), TauGenJetProducer.produce(), JetPlusTrackProducer.produce(), JetPlusTrackProducerAA.produce(), cms::PFMETProducer.produce(), PFSpecificAlgo.run(), and reco.writeSpecific().

tuple timingPdfMaker.texfile = open(outfile+'-main.tex', 'w')

Definition at line 95 of file timingPdfMaker.py.

tuple timingPdfMaker.texfile1 = open(outfile+'-modules.tex', 'w')

Definition at line 223 of file timingPdfMaker.py.

tuple timingPdfMaker.texfile2 = open(outfile+'-runningModules.tex', 'w')

Definition at line 234 of file timingPdfMaker.py.

list timingPdfMaker.texpreamble
Initial value:
1 = ['\documentclass[10pt,a5paper,landscape]{report}\n',
2  '\\usepackage{graphicx}\n',
3  '\\usepackage[a5paper,vmargin={5mm,2mm},hmargin={5mm,5mm}]{geometry}\n',
4  '\\usepackage[linktocpage]{hyperref}\n',
5  '\hypersetup{backref, colorlinks=true}\n',
6  '\\title{ \\textbf{\Huge{HLT Timing Summary}} \\footnote{\large{Documentation at \\url{https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideHLTTimingSummary}}} \\\\ Main Info }\n',
7  '\\author{\Large{CMS Experiment}}\n',
8  '\date{\\today}\n',
9  '\\begin{document}\n',
10  '\maketitle\n',
11  '\\newpage\n',
12  '\clearpage\n'
13  '\\tableofcontents\n',
14  '\\newpage\n',
15  '\\newpage \chapter{Total time for all modules per event} \\newpage \centering \includegraphics[scale=0.6]{totalTimetemp.png}\n']

Definition at line 59 of file timingPdfMaker.py.