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.

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

Definition at line 279 of file timingPdfMaker.py.

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(), EcalTrigPrimAnalyzerMIPs.analyze(), DTClusterer.buildClusters(), BasicMultiTrajectoryState.combine(), GsfBetheHeitlerUpdator.correctedFirstMean(), DTTTrigResidualCorrection.correction(), PFClient.createResolutionPlots(), TwoTrackMinimumDistance.crossingPoint(), MuonTestSummary.doResidualsTests(), QTestConfigure.EnableMeanWithinExpectedTest(), HFLightCal.endJob(), HFLightCalRand.endJob(), DTTPAnalyzer.endJob(), SiStripCMMonitorPlugin.endJob(), HOCalibAnalyzer.endJob(), DTResolutionTest.endLuminosityBlock(), ZeeCalibration.endOfJob(), RPCBxTest.endRun(), DTResolutionAnalysisTest.endRun(), MuonTrackResidualsTest.endRun(), EcalZmassClient.endRun(), DTMeanTimerFitter.evaluateVDriftAndReso(), RPCMultiplicityTest.fillGlobalME(), LA_Filler_Fitter.find_rebin(), SiPixelLorentzAngle.findMean(), MuonResidualsAngleFitter.fit(), MuonResidualsBfieldAngleFitter.fit(), MuonResidualsPositionFitter.fit(), BeamMonitor.FitAndFill(), PrimaryVertexValidation.fitResiduals(), TrackerOfflineValidationSummary.fitResiduals(), TrackerOfflineValidation.fitResiduals(), DTTimeBoxFitter.fitTimeBox(), fnc_gaussalpha(), fnc_gaussalpha1alpha2(), RandomEngine.gaussShoot(), DTMuonMillepede.getbqcMatrix(), DTTimeBoxFitter.getInteractiveFitSeeds(), cacheutils::CachingSimNLL::SimpleGaussianConstraint.getLogValFast(), pftools::CaloEllipse.getMajorMinorAxes(), TMom.getMean(), SiStripCorrelateNoise.getMeanNoise(), SiStripCorrelateBadStripAndNoise.getMeanNoise(), GetMPV(), pftools::CaloEllipse.getTheta(), CSCOfflineMonitor.harvestChamberMeans(), HcalSiPM.hitCells(), EcalBarrelRecHitsMaker.init(), EcalEndcapRecHitsMaker.init(), TMom.init(), MLP_PrintInputStat(), evf::BU.monitoring(), evf::rb_statemachine::SharedResources.monitoring(), HcalRecHitsMaker.noisifySubdet(), EcalPreshowerRecHitsMaker.noisifySubdet(), 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(), ecaldqm::PresampleClient.producePlots(), ecaldqm::TimingClient.producePlots(), SusyPostProcessor.QuantilePlots(), EcalBarrelRecHitsMaker.randomNoisifier(), EcalEndcapRecHitsMaker.randomNoisifier(), hcaltb::HcalTBTDCUnpacker.reconstructWC(), MuonTestSummary.ResidualCheck(), RPCLinkSynchroStat::SynchroCounts.rms(), SiPixelDQMRocLevelAnalyzer.RocSumOneModule(), DTFineDelayCorr.runClientDiagnostic(), ecaldqm::PresampleTask.runOnDigis(), ecaldqm::PedestalTask.runOnDigis(), ecaldqm::PedestalTask.runOnPnDigis(), ecaldqm::PNPresampleTask.runOnPnDigis(), ContentsWithinExpected.runTest(), MeanWithinExpected.runTest(), MonPNIRedDat.setADCMeanG1(), MonPNLed1Dat.setADCMeanG1(), MonPNMGPADat.setADCMeanG1(), MonPNRedDat.setADCMeanG1(), MonTestPulseDat.setADCMeanG1(), MonPNBlueDat.setADCMeanG1(), MonPNLed2Dat.setADCMeanG1(), MonPNGreenDat.setADCMeanG1(), MonPedestalsOnlineDat.setADCMeanG12(), MonTestPulseDat.setADCMeanG12(), MonPNIRedDat.setADCMeanG16(), MonPNLed1Dat.setADCMeanG16(), MonPNLed2Dat.setADCMeanG16(), MonPNMGPADat.setADCMeanG16(), MonPNRedDat.setADCMeanG16(), MonPNBlueDat.setADCMeanG16(), MonPNGreenDat.setADCMeanG16(), MonTestPulseDat.setADCMeanG6(), MonPNIRedDat.setADCRMSG1(), MonPNLed1Dat.setADCRMSG1(), MonPNMGPADat.setADCRMSG1(), MonPNLed2Dat.setADCRMSG1(), MonPNBlueDat.setADCRMSG1(), MonPNRedDat.setADCRMSG1(), MonPNGreenDat.setADCRMSG1(), MonPNMGPADat.setADCRMSG16(), MonPNBlueDat.setADCRMSG16(), MonPNGreenDat.setADCRMSG16(), MonPNLed1Dat.setADCRMSG16(), MonPNIRedDat.setADCRMSG16(), MonPNRedDat.setADCRMSG16(), MonPNLed2Dat.setADCRMSG16(), MonLaserBlueDat.setAPDMean(), MonLaserGreenDat.setAPDMean(), MonLaserIRedDat.setAPDMean(), MonLaserRedDat.setAPDMean(), MonLaserRedDat.setAPDOverPNMean(), MonLaserGreenDat.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(), MonPNRedDat.setPedMeanG1(), MonPNMGPADat.setPedMeanG1(), MonPNLed1Dat.setPedMeanG1(), MonPNLed2Dat.setPedMeanG1(), MonPNBlueDat.setPedMeanG1(), MonPNGreenDat.setPedMeanG1(), MonPedestalsDat.setPedMeanG12(), FEConfigPedDat.setPedMeanG12(), MonPNPedDat.setPedMeanG16(), MonPNIRedDat.setPedMeanG16(), MonPNLed2Dat.setPedMeanG16(), MonPNMGPADat.setPedMeanG16(), MonPNRedDat.setPedMeanG16(), MonPNGreenDat.setPedMeanG16(), MonPNBlueDat.setPedMeanG16(), MonPNLed1Dat.setPedMeanG16(), MonPedestalsDat.setPedMeanG6(), FEConfigPedDat.setPedMeanG6(), MonPNPedDat.setPedRMSG1(), MonPNLed1Dat.setPedRMSG1(), MonPNMGPADat.setPedRMSG1(), MonPNGreenDat.setPedRMSG1(), MonPNLed2Dat.setPedRMSG1(), MonPNBlueDat.setPedRMSG1(), MonPNIRedDat.setPedRMSG1(), MonPNRedDat.setPedRMSG1(), MonPNPedDat.setPedRMSG16(), MonPNGreenDat.setPedRMSG16(), MonPNLed2Dat.setPedRMSG16(), MonPNBlueDat.setPedRMSG16(), MonPNMGPADat.setPedRMSG16(), MonPNLed1Dat.setPedRMSG16(), MonPNIRedDat.setPedRMSG16(), MonPNRedDat.setPedRMSG16(), FEConfigSlidingDat.setSliding(), FEConfigFgrEEStripDat.setThreshold(), ITimingDat.setTimingMean(), MonLed1Dat.setVPTMean(), MonLed2Dat.setVPTMean(), MonLed1Dat.setVPTOverPNMean(), MonLed2Dat.setVPTOverPNMean(), MonitorElement.ShiftFillLast(), TauValidation.spinEffectsZH(), MarkovChainMC.stationarityTest(), 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 HLTJetMETDQMSource.beginRun(), BTagHLTOfflineSource.beginRun(), JetMETHLTOfflineSource.beginRun(), FourVectorHLTOnline.beginRun(), FourVectorHLTriggerOffline.beginRun(), FourVectorHLTOffline.beginRun(), TrigResRateMon.bookTestHisto(), MEtoMEComparitor.compare(), FourVectorHLTOnline.countHLTGroupBXHitsEndLumiBlock(), TrigResRateMon.countHLTGroupBXHitsEndLumiBlock(), FourVectorHLTOffline.countHLTGroupBXHitsEndLumiBlock(), FourVectorHLTOnline.countHLTGroupHitsEndLumiBlock(), TrigResRateMon.countHLTGroupHitsEndLumiBlock(), FourVectorHLTOffline.countHLTGroupHitsEndLumiBlock(), FourVectorHLTOnline.countHLTGroupL1HitsEndLumiBlock(), TrigResRateMon.countHLTGroupL1HitsEndLumiBlock(), FourVectorHLTOffline.countHLTGroupL1HitsEndLumiBlock(), FourVectorHLTOnline.countHLTPathHitsEndLumiBlock(), TrigResRateMon.countHLTPathHitsEndLumiBlock(), FourVectorHLTOffline.countHLTPathHitsEndLumiBlock(), DQMHistNormalizer.endRun(), JetMETHLTOfflineSource.fillMEforEffWrtMBTrigger(), JetMETHLTOfflineSource.fillMEforEffWrtMuTrigger(), JetMETHLTOfflineSource.fillMEforMonAllTriggerwrtMuonTrigger(), JetMETHLTOfflineSource.fillMEforMonTriggerSummary(), TrigResRateMon.filltestHisto(), EDMtoMEConverter.getData(), FourVectorHLTOffline.getHltThresholdFromName(), TrigResRateMon.getThresholdFromName(), TrigResRateMon.hasL1Passed(), FourVectorHLTOffline.hasL1Passed(), FastTimerService.preBeginRun(), lumi::HLTDummy2DB.retrieveData(), lumi::HLTV32DB.retrieveData(), edm::messagedrop::StringProducerPath.set(), BTagHLTOfflineSource.validPathHLT(), JetMETHLTOfflineSource.validPathHLT(), and lumi::HLTV32DB.writeHltData().

dictionary timingPdfMaker.specific = {}

Definition at line 76 of file timingPdfMaker.py.

Referenced by CaloSpecificAlgo.addInfo(), GenSpecificAlgo.addInfo(), PFSpecificAlgo.addInfo(), HLTHcalMETNoiseCleaner.BuildCaloMet(), PFJetToCaloProducer.produce(), PFTauToJetProducer.produce(), TauGenJetProducer.produce(), JetPlusTrackProducer.produce(), JetPlusTrackProducerAA.produce(), METManager.recomputePFMET(), PFRootEventManager.reconstructGenJets(), PFRootEventManager.reconstructPFJets(), 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.