CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 = names1.keys()
 
dictionary names1 = {}
 
tuple names2 = dict(sorted(names1.iteritems(), key=operator.itemgetter(1),reverse=True)[:10])
 
tuple names3 = sorted(names2, key=names2.get, reverse=True)
 
dictionary names4 = {}
 
tuple names5 = dict(sorted(names4.iteritems(), 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 306 of file timingPdfMaker.py.

Referenced by specificpathinfo().

307 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 323 of file timingPdfMaker.py.

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

Definition at line 344 of file timingPdfMaker.py.

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

Definition at line 55 of file timingPdfMaker.py.

55 
56 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 130 of file timingPdfMaker.py.

131 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 247 of file timingPdfMaker.py.

References get_plot1(), and join().

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

Definition at line 35 of file timingPdfMaker.py.

35 
def usage():

Variable Documentation

tuple timingPdfMaker.allnames = k.ReadObj()

Definition at line 79 of file timingPdfMaker.py.

timingPdfMaker.call_maininfo = False

Definition at line 353 of file timingPdfMaker.py.

timingPdfMaker.call_modulesinfo = False

Definition at line 355 of file timingPdfMaker.py.

timingPdfMaker.call_pathsinfo = False

Definition at line 354 of file timingPdfMaker.py.

timingPdfMaker.call_specificinfo = False

Definition at line 356 of file timingPdfMaker.py.

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

Definition at line 311 of file timingPdfMaker.py.

Referenced by getAnyIMG(), getIMG(), getIMG2(), getIMGTProfile(), HcalDetDiagLEDClient.htmlOutput(), HcalDetDiagLaserClient.htmlOutput(), HcalDetDiagPedestalClient.htmlOutput(), CastorHardcodeGeometryLoader.makeCell(), EcalMipGraphs.selectHits(), and EcalDisplaysByEvent.selectHits().

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

Definition at line 97 of file timingPdfMaker.py.

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

Definition at line 151 of file timingPdfMaker.py.

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

Definition at line 77 of file timingPdfMaker.py.

Referenced by SurveyInputCSCfromPins.analyze(), RegressionHelper.checkSetup(), cond::persistency.compareTags(), DatabasePDG.DatabasePDG(), and CaloTPGTranscoderULUTs.produce().

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

Definition at line 279 of file timingPdfMaker.py.

Referenced by __class__< T >.__class__(), SiStripCalibLorentzAngle.algoBeginJob(), DTTTrigWriter.analyze(), DTSegment4DQuality.analyze(), GlobalTrackerMuonAlignment.analyzeTrackTrack(), GlobalTrackerMuonAlignment.analyzeTrackTrajectory(), AverageRunMultiplicity(), ESDataCertificationTask.beginJob(), ESDaqInfoTask.beginJob(), ESDcsInfoTask.beginJob(), BeamMonitor.beginJob(), DTEfficiencyTask.beginLuminosityBlock(), DTResolutionAnalysisTask.beginLuminosityBlock(), DTChamberEfficiencyTask.beginLuminosityBlock(), DTLocalTriggerTask.beginLuminosityBlock(), ESSummaryClient.book(), ESIntegrityClient.book(), Digi2Raw2Digi.bookHistograms(), ESIntegrityTask.bookHistograms(), ESOccupancyTask.bookHistograms(), ESFEDIntegrityTask.bookHistograms(), SiStripDigiValid.bookHistograms(), ESTrendTask.bookHistograms(), RPCMonitorRaw.bookHistograms(), ESRawDataTask.bookHistograms(), ESTimingTask.bookHistograms(), EcalPreshowerNoiseDistrib.bookHistograms(), CaloTowersValidation.bookHistograms(), CaloTowersAnalyzer.bookHistograms(), SiPixelRecHitsValid.bookHistograms(), EcalPreshowerDigisValidation.bookHistograms(), NoiseRates.bookHistograms(), EcalPreshowerRecHitsValidation.bookHistograms(), EcalBarrelDigisValidation.bookHistograms(), EcalEndcapDigisValidation.bookHistograms(), HcalSimHitsValidation.bookHistograms(), EcalEndcapRecHitsValidation.bookHistograms(), EcalBarrelRecHitsValidation.bookHistograms(), HcalNoiseRates.bookHistograms(), EcalRecHitsValidation.bookHistograms(), EcalDigisValidation.bookHistograms(), HcalRecHitsAnalyzer.bookHistograms(), HcalRecHitsValidation.bookHistograms(), EcalMixingModuleValidation.bookHistograms(), HcalDigisValidation.booking(), HCovarianceVSParts.Clear(), HMassResolutionVSPart.Clear(), MuScleFitBase.clearHistoMap(), MuonAlignmentSummary.dqmEndJob(), MuonTrackResidualsTest.dqmEndJob(), DTNoiseAnalysisTest.dqmEndLuminosityBlock(), DTOccupancyTest.dqmEndLuminosityBlock(), DTResolutionTest.dqmEndLuminosityBlock(), DTEfficiencyTest.dqmEndLuminosityBlock(), DTOccupancyClusterBuilder.drawClusters(), EcalBarrelSimHitsValidation.EcalBarrelSimHitsValidation(), EcalEndcapSimHitsValidation.EcalEndcapSimHitsValidation(), EcalPreshowerSimHitsValidation.EcalPreshowerSimHitsValidation(), EcalSimHitsValidation.EcalSimHitsValidation(), DTNoiseComputation.endJob(), AlcaBeamMonitor.endLuminosityBlock(), CommissioningHistograms.extractHistograms(), MuonPFAnalyzer.fillInRange(), ESSummaryClient.fillReportSummary(), L1TOccupancyClient.getAvrg(), dtCalibration::DTVDriftSegment.getHisto(), dtCalibration::DTTTrigT0SegCorrection.getHisto(), dtCalibration::DTTTrigResidualCorrection.getHisto(), DTOccupancyCluster.getHisto(), getHisto(), getHisto2(), getHistoTH3F(), getHistoTProfile(), getHistoTProfile2D(), HcalSubdetDigiMonitor.HcalSubdetDigiMonitor(), CommissioningTask::HistoSet.histo(), SummaryGenerator.histo1D(), SummaryGenerator.histo2DScatter(), SummaryGenerator.histo2DSum(), LikelihoodPdf.initFromDB(), DQMGenericClient.limitedFit(), SiStripHistoPlotter.makeCondDBPlots(), SiStripHistoPlotter.makePlot(), makePlots(), DTSegmentAnalysisTest.performClientDiagnostic(), FlavourHistograms< T >.plot(), cond::PayLoadInspector< DataT >.plot(), PixelVertexProducerMedian.produce(), HIPixelMedianVtxProducer.produce(), SummaryGenerator.profile1D(), SiStripNoisesDQMService.readNoises(), SiStripPedestalsDQMService.readPedestals(), DTResolutionAnalysisTest.resetMEs(), MuonPFAnalyzer.setCodeLabels(), L1TOccupancyClientHistogramService.setMaskedBins(), HcalBaseMonitor.setMinMaxHists1D(), HcalBaseMonitor.setMinMaxHists2D(), DTLocalTriggerTask.setQLabels(), DTLocalTriggerBaseTask.setQLabels(), PedestalsTask.update(), PedsOnlyTask.update(), NoiseTask.update(), PedsFullNoiseTask.update(), MuonMillepedeAlgorithm.updateInfo(), HCovarianceVSParts.Write(), HMassResolutionVSPart.Write(), MuScleFitBase.writeHistoMap(), MuScleFitPlotter.writeHistoMap(), ResolutionAnalyzer.writeHistoMap(), HCovarianceVSParts.~HCovarianceVSParts(), and HMassResolutionVSPart.~HMassResolutionVSPart().

timingPdfMaker.infile = None

Definition at line 350 of file timingPdfMaker.py.

tuple timingPdfMaker.label = histo.GetXaxis()

Definition at line 281 of file timingPdfMaker.py.

int timingPdfMaker.mean = 1

Definition at line 154 of file timingPdfMaker.py.

Referenced by ParameterMgr.addRandomFlatParameter(), ParameterMgr.addRandomGaussParameter(), FedTimingAlgorithm.analyse(), ApvTimingAlgorithm.analyse(), DTT0CalibrationNew.analyze(), DTClusterer.buildClusters(), PixelLumiDQM.calculateBunchMask(), BasicMultiTrajectoryState.combine(), EMShower.compute(), GsfBetheHeitlerUpdator.correctedFirstMean(), PFClusterEMEnergyCorrector.correctEnergies(), dtCalibration::DTTTrigResidualCorrection.correction(), PFClient_JetRes.createResolutionPlots(), PFClient.createResolutionPlots(), TwoTrackMinimumDistance.crossingPoint(), MuonTestSummary.doResidualsTests(), EcalZmassClient.dqmEndJob(), MuonTrackResidualsTest.dqmEndJob(), DTResolutionAnalysisTest.dqmEndJob(), DTResolutionTest.dqmEndLuminosityBlock(), QTestConfigure.EnableMeanWithinExpectedTest(), DTTPAnalyzer.endJob(), HOCalibAnalyzer.endJob(), ZeeCalibration.endOfJob(), RPCBxTest.endRun(), DTMeanTimerFitter.evaluateVDriftAndReso(), RPCMultiplicityTest.fillGlobalME(), LA_Filler_Fitter.find_rebin(), analyzer::SiPixelLorentzAngle.findMean(), MuonResidualsAngleFitter.fit(), MuonResidualsBfieldAngleFitter.fit(), MuonResidualsPositionFitter.fit(), BeamMonitor.FitAndFill(), PrimaryVertexValidation.fitResiduals(), TrackerOfflineValidationSummary.fitResiduals(), TrackerOfflineValidation.fitResiduals(), DTTimeBoxFitter.fitTimeBox(), fnc_gaussalpha(), fnc_gaussalpha1alpha2(), RandomEngineAndDistribution.gaussShoot(), DTMuonMillepede.getbqcMatrix(), DTTimeBoxFitter.getInteractiveFitSeeds(), pftools::CaloEllipse.getMajorMinorAxes(), TMom.getMean(), SiStripCorrelateNoise.getMeanNoise(), SiStripCorrelateBadStripAndNoise.getMeanNoise(), HCALResponse.getMIPfraction(), GetMPV(), pftools::CaloEllipse.getTheta(), HcalSiPM.hitCells(), TMom.init(), HCALResponse.interEM(), HCALResponse.interHD(), HCALResponse.interMU(), MLP_PrintInputStat(), NormalizeInputs(), reco::tau::RecoTauDiscriminantInvariantWidth.operator()(), jpt::Efficiency.outOfConeCorr(), DQMClientExample.performClient(), PhiBorderFinder.PhiBorderFinder(), CSCCrosstalkConditions.prefillCrosstalk(), CSCFakeDBCrosstalk.prefillDBCrosstalk(), CSCFakeDBGains.prefillDBGains(), CSCGasGainCorrectionDBConditions.prefillDBGasGainCorrection(), CSCGainsConditions.prefillGains(), RPCLinkSynchroStat::SynchroCounts.print(), SiStripNoises.printSummary(), TH2Analyzer.ProcessSlices(), CastorFastTowerProducer.produce(), QjetsAdder.produce(), ecaldqm::PedestalClient.producePlots(), ecaldqm::PresampleClient.producePlots(), ecaldqm::TimingClient.producePlots(), projectProfile2DAlongX(), projectProfile2DAlongY(), SusyPostProcessor.QuantilePlots(), hcaltb::HcalTBTDCUnpacker.reconstructWC(), MuonTestSummary.ResidualCheck(), HCALResponse.responseHCAL(), RPCLinkSynchroStat::SynchroCounts.rms(), SiPixelDQMRocLevelAnalyzer.RocSumOneModule(), ecaldqm::LaserWriter.run(), ecaldqm::PedestalWriter.run(), ecaldqm::PresampleWriter.run(), ecaldqm::TestPulseWriter.run(), ecaldqm::TimingWriter.run(), ContentsWithinExpected.runTest(), MeanWithinExpected.runTest(), UrbanMscModel93.SampleCosineTheta(), MonPNLed1Dat.setADCMeanG1(), MonPNMGPADat.setADCMeanG1(), MonPNRedDat.setADCMeanG1(), MonPNLed2Dat.setADCMeanG1(), MonTestPulseDat.setADCMeanG1(), MonPNBlueDat.setADCMeanG1(), MonPNGreenDat.setADCMeanG1(), MonPNIRedDat.setADCMeanG1(), MonPedestalsOnlineDat.setADCMeanG12(), MonTestPulseDat.setADCMeanG12(), MonPNIRedDat.setADCMeanG16(), MonPNLed1Dat.setADCMeanG16(), MonPNLed2Dat.setADCMeanG16(), MonPNRedDat.setADCMeanG16(), MonPNMGPADat.setADCMeanG16(), MonPNBlueDat.setADCMeanG16(), MonPNGreenDat.setADCMeanG16(), MonTestPulseDat.setADCMeanG6(), MonPNMGPADat.setADCRMSG1(), MonPNLed1Dat.setADCRMSG1(), MonPNRedDat.setADCRMSG1(), MonPNLed2Dat.setADCRMSG1(), MonPNBlueDat.setADCRMSG1(), MonPNGreenDat.setADCRMSG1(), MonPNIRedDat.setADCRMSG1(), MonPNLed1Dat.setADCRMSG16(), MonPNGreenDat.setADCRMSG16(), MonPNRedDat.setADCRMSG16(), MonPNLed2Dat.setADCRMSG16(), MonPNBlueDat.setADCRMSG16(), MonPNMGPADat.setADCRMSG16(), MonPNIRedDat.setADCRMSG16(), MonLaserGreenDat.setAPDMean(), MonLaserIRedDat.setAPDMean(), MonLaserRedDat.setAPDMean(), MonLaserBlueDat.setAPDMean(), MonLaserGreenDat.setAPDOverPNMean(), MonLaserRedDat.setAPDOverPNMean(), MonLaserIRedDat.setAPDOverPNMean(), MonLaserBlueDat.setAPDOverPNMean(), UpdateTProfile.setBinContents(), MonDelaysTTDat.setDelayMean(), MeanWithinExpected.setExpectedMean(), FEConfigFgrEEStripDat.setLutFg(), FEConfigFgrEEStripDat.setLUTFgr(), FEConfigFgrEEStripDat.setLutFgr(), FEConfigFgrEETowerDat.setLUTValue(), FEConfigFgrEETowerDat.setLutValue(), MonPedestalsDat.setPedMeanG1(), MonPNPedDat.setPedMeanG1(), FEConfigPedDat.setPedMeanG1(), MonPNIRedDat.setPedMeanG1(), MonPNLed1Dat.setPedMeanG1(), MonPNMGPADat.setPedMeanG1(), MonPNRedDat.setPedMeanG1(), MonPNBlueDat.setPedMeanG1(), MonPNLed2Dat.setPedMeanG1(), MonPNGreenDat.setPedMeanG1(), MonPedestalsDat.setPedMeanG12(), FEConfigPedDat.setPedMeanG12(), MonPNPedDat.setPedMeanG16(), MonPNLed1Dat.setPedMeanG16(), MonPNMGPADat.setPedMeanG16(), MonPNRedDat.setPedMeanG16(), MonPNIRedDat.setPedMeanG16(), MonPNBlueDat.setPedMeanG16(), MonPNLed2Dat.setPedMeanG16(), MonPNGreenDat.setPedMeanG16(), MonPedestalsDat.setPedMeanG6(), FEConfigPedDat.setPedMeanG6(), MonPNPedDat.setPedRMSG1(), MonPNMGPADat.setPedRMSG1(), MonPNRedDat.setPedRMSG1(), MonPNLed2Dat.setPedRMSG1(), MonPNIRedDat.setPedRMSG1(), MonPNLed1Dat.setPedRMSG1(), MonPNBlueDat.setPedRMSG1(), MonPNGreenDat.setPedRMSG1(), MonPNPedDat.setPedRMSG16(), MonPNIRedDat.setPedRMSG16(), MonPNLed2Dat.setPedRMSG16(), MonPNRedDat.setPedRMSG16(), MonPNMGPADat.setPedRMSG16(), MonPNLed1Dat.setPedRMSG16(), MonPNGreenDat.setPedRMSG16(), MonPNBlueDat.setPedRMSG16(), FEConfigSlidingDat.setSliding(), FEConfigFgrEEStripDat.setThreshold(), ITimingDat.setTimingMean(), MonLed2Dat.setVPTMean(), MonLed1Dat.setVPTMean(), MonLed1Dat.setVPTOverPNMean(), MonLed2Dat.setVPTOverPNMean(), MonitorElement.ShiftFillLast(), ecaldqm::DQWorkerClient.towerAverage_(), QcdLowPtDQM.trackletVertexUnbinned(), PedestalsTask.update(), PedsFullNoiseTask.update(), edm::Lumi3DReWeighting.weight3D_init(), and reweight::LumiReWeighting.weight3D_init().

string timingPdfMaker.modname = ''

Definition at line 217 of file timingPdfMaker.py.

dictionary timingPdfMaker.names = names1.keys()

Definition at line 159 of file timingPdfMaker.py.

dictionary timingPdfMaker.names1 = {}

Definition at line 74 of file timingPdfMaker.py.

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

Definition at line 89 of file timingPdfMaker.py.

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

Definition at line 90 of file timingPdfMaker.py.

dictionary timingPdfMaker.names4 = {}

Definition at line 75 of file timingPdfMaker.py.

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

Definition at line 91 of file timingPdfMaker.py.

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

Definition at line 92 of file timingPdfMaker.py.

tuple timingPdfMaker.outfile = None

Definition at line 351 of file timingPdfMaker.py.

timingPdfMaker.path = None

Definition at line 352 of file timingPdfMaker.py.

string timingPdfMaker.pathname = '_'

Definition at line 81 of file timingPdfMaker.py.

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

dictionary timingPdfMaker.specific = {}

Definition at line 76 of file timingPdfMaker.py.

Referenced by GenSpecificAlgo.addInfo(), CaloSpecificAlgo.addInfo(), HLTHcalMETNoiseCleaner.BuildCaloMet(), GenSpecificAlgo.mkSpecificGenMETData(), BasicToPFJet.produce(), PFTauToJetProducer.produce(), PFJetToCaloProducer.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 94 of file timingPdfMaker.py.

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

Definition at line 224 of file timingPdfMaker.py.

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

Definition at line 235 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 58 of file timingPdfMaker.py.