CMS 3D CMS Logo

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.

00307                             :
        ''' 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.

00324                               :
        ''' Function to create the plot and save it as.png file '''
def timingPdfMaker::main (   argv)

Definition at line 344 of file timingPdfMaker.py.

00345 :
###############################################################
def timingPdfMaker::maininfo (   infile,
  outfile 
)
Creates main info tex file

Definition at line 55 of file timingPdfMaker.py.

00056                              :
        ''' Creates main info tex file'''
def timingPdfMaker::moduleinfo (   infile,
  outfile 
)
Create the paths info tex file

Definition at line 191 of file timingPdfMaker.py.

00192                               :
        '''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.

00131                              :
        '''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.

00248                                            :
        ''' Creates an specific path info tex file'''
def timingPdfMaker::usage ( )

Definition at line 35 of file timingPdfMaker.py.

00036 :
###############################################################

Variable Documentation

tuple timingPdfMaker::allnames = k.ReadObj()

Definition at line 79 of file timingPdfMaker.py.

Definition at line 353 of file timingPdfMaker.py.

Definition at line 355 of file timingPdfMaker.py.

Definition at line 354 of file timingPdfMaker.py.

Definition at line 356 of file timingPdfMaker.py.

tuple timingPdfMaker::can = TCanvas('can', '', 800,600)
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')
tuple timingPdfMaker::histo = file1.Get('moduleInPathTimeSummary_'+pathnames)

Definition at line 279 of file timingPdfMaker.py.

Referenced by SiStripCalibLorentzAngle::algoBeginJob(), DTSegment4DQuality::analyze(), ESSummaryClient::analyze(), EETrendClient::analyze(), DTTriggerCheck::analyze(), EBTrendClient::analyze(), DTTTrigWriter::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), anlzrname::anlzrname(), ESDaqInfoTask::beginJob(), ESDcsInfoTask::beginJob(), ESSummaryClient::beginJob(), L1TEventInfoClient::beginJob(), ESDataCertificationTask::beginJob(), BeamMonitor::beginJob(), RPCMonitorRaw::beginJob(), HLTEventInfoClient::beginJob(), DTLocalTriggerTask::beginLuminosityBlock(), DTChamberEfficiencyTask::beginLuminosityBlock(), DTDigiForNoiseTask::beginLuminosityBlock(), DTEfficiencyTask::beginLuminosityBlock(), DTResolutionAnalysisTask::beginLuminosityBlock(), SiStripDQMProfileToTkMapConverter::beginRun(), JPTJetAnalyzer::book2DHistogram(), JPTJetAnalyzer::bookHistogram(), JPTJetAnalyzer::bookProfile(), CaloTowersValidation::CaloTowersValidation(), HMassResolutionVSPart::Clear(), HCovarianceVSParts::Clear(), MuScleFitBase::clearHistoMap(), Digi2Raw2Digi::Digi2Raw2Digi(), DTOccupancyClusterBuilder::drawClusters(), DTTriggerCheck::DTTriggerCheck(), EcalBarrelDigisValidation::EcalBarrelDigisValidation(), EcalBarrelRecHitsValidation::EcalBarrelRecHitsValidation(), EcalBarrelSimHitsValidation::EcalBarrelSimHitsValidation(), EcalDigisValidation::EcalDigisValidation(), EcalEndcapDigisValidation::EcalEndcapDigisValidation(), EcalEndcapRecHitsValidation::EcalEndcapRecHitsValidation(), EcalEndcapSimHitsValidation::EcalEndcapSimHitsValidation(), EcalMixingModuleValidation::EcalMixingModuleValidation(), EcalPreshowerDigisValidation::EcalPreshowerDigisValidation(), EcalPreshowerNoiseDistrib::EcalPreshowerNoiseDistrib(), EcalPreshowerRecHitsValidation::EcalPreshowerRecHitsValidation(), EcalPreshowerSimHitsValidation::EcalPreshowerSimHitsValidation(), EcalRecHitsValidation::EcalRecHitsValidation(), EcalSimHitsValidation::EcalSimHitsValidation(), DTNoiseComputation::endJob(), DTCreateSummaryHistos::endJob(), ESSummaryClient::endLumiAnalyze(), DTtTrigCalibrationTest::endLuminosityBlock(), DTEfficiencyTest::endLuminosityBlock(), DTOccupancyTest::endLuminosityBlock(), DTNoiseAnalysisTest::endLuminosityBlock(), DTResolutionTest::endLuminosityBlock(), AlcaBeamMonitor::endLuminosityBlock(), MuonAlignmentSummary::endRun(), MuonTrackResidualsTest::endRun(), ESOccupancyTask::ESOccupancyTask(), ESTimingTask::ESTimingTask(), CommissioningHistograms::extractHistograms(), L1TOccupancyClient::getAvrg(), UtilsClient::getBinStatistics(), SiPixelActionExecutor::getData(), DTTTrigT0SegCorrection::getHisto(), DTVDriftSegment::getHisto(), DTTTrigResidualCorrection::getHisto(), DTOccupancyCluster::getHisto(), getHisto(), getHisto2(), getHistoTH3F(), getHistoTProfile(), getHistoTProfile2D(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalSimHitsValidation::HcalSimHitsValidation(), HcalSubdetDigiMonitor::HcalSubdetDigiMonitor(), CommissioningTask::HistoSet::histo(), SummaryGenerator::histo1D(), SummaryGenerator::histo2DScatter(), SummaryGenerator::histo2DSum(), LikelihoodPdf::initFromDB(), DQMGenericClient::limitedFit(), SiStripHistoPlotter::makeCondDBPlots(), SiPixelHistoPlotter::makePlot(), SiStripHistoPlotter::makePlot(), NoiseRates::NoiseRates(), DTSegmentAnalysisTest::performClientDiagnostic(), FlavourHistograms< T >::plot(), cond::PayLoadInspector< DataT >::plot(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), PixelVertexProducerMedian::produce(), HIPixelMedianVtxProducer::produce(), SummaryGenerator::profile1D(), SiStripNoisesDQMService::readNoises(), SiStripPedestalsDQMService::readPedestals(), DTResolutionAnalysisTest::resetMEs(), L1TOccupancyClientHistogramService::setMaskedBins(), HcalBaseMonitor::setMinMaxHists1D(), HcalBaseMonitor::setMinMaxHists2D(), DTLocalTriggerBaseTask::setQLabels(), DTLocalTriggerTask::setQLabels(), EETrendClient::setup(), ESIntegrityClient::setup(), ESFEDIntegrityTask::setup(), ESIntegrityTask::setup(), EEClusterTaskExtras::setup(), EBTrendClient::setup(), ESRawDataTask::setup(), ESTrendTask::setup(), EBClusterTaskExtras::setup(), SiPixelRecHitsValid::SiPixelRecHitsValid(), SiStripDigiValid::SiStripDigiValid(), SiStripRecHitsValid::SiStripRecHitsValid(), SiStripTrackingRecHitsValid::SiStripTrackingRecHitsValid(), PedestalsTask::update(), PedsOnlyTask::update(), NoiseTask::update(), PedsFullNoiseTask::update(), MuonMillepedeAlgorithm::updateInfo(), HMassResolutionVSPart::Write(), HCovarianceVSParts::Write(), ResolutionAnalyzer::writeHistoMap(), MuScleFitPlotter::writeHistoMap(), MuScleFitBase::writeHistoMap(), HCovarianceVSParts::~HCovarianceVSParts(), and HMassResolutionVSPart::~HMassResolutionVSPart().

Definition at line 350 of file timingPdfMaker.py.

tuple timingPdfMaker::label = histo.GetXaxis()

Definition at line 281 of file timingPdfMaker.py.

Definition at line 154 of file timingPdfMaker.py.

Referenced by ParameterMgr::addRandomFlatParameter(), ParameterMgr::addRandomGaussParameter(), ApvTimingAlgorithm::analyse(), FedTimingAlgorithm::analyse(), DTT0CalibrationNew::analyze(), EcalTrigPrimAnalyzerMIPs::analyze(), DTClusterer::buildClusters(), BasicMultiTrajectoryState::combine(), GsfBetheHeitlerUpdator::correctedFirstMean(), DTTTrigResidualCorrection::correction(), PFClient::createResolutionPlots(), TwoTrackMinimumDistance::crossingPoint(), MuonTestSummary::doResidualsTests(), QTestConfigure::EnableMeanWithinExpectedTest(), HFLightCalRand::endJob(), DTTPAnalyzer::endJob(), HOCalibAnalyzer::endJob(), SiStripCMMonitorPlugin::endJob(), HFLightCal::endJob(), DTResolutionTest::endLuminosityBlock(), ZeeCalibration::endOfJob(), DTResolutionAnalysisTest::endRun(), RPCBxTest::endRun(), MuonTrackResidualsTest::endRun(), EcalZmassClient::endRun(), DTMeanTimerFitter::evaluateVDriftAndReso(), RPCMultiplicityTest::fillGlobalME(), LA_Filler_Fitter::find_rebin(), SiPixelLorentzAngle::findMean(), MuonResidualsPositionFitter::fit(), MuonResidualsBfieldAngleFitter::fit(), MuonResidualsAngleFitter::fit(), BeamMonitor::FitAndFill(), TrackerOfflineValidation::fitResiduals(), TrackerOfflineValidationSummary::fitResiduals(), DTTimeBoxFitter::fitTimeBox(), fnc_gaussalpha(), fnc_gaussalpha1alpha2(), RandomEngine::gaussShoot(), DTMuonMillepede::getbqcMatrix(), DTTimeBoxFitter::getInteractiveFitSeeds(), pftools::CaloEllipse::getMajorMinorAxes(), TMom::getMean(), SiStripCorrelateNoise::getMeanNoise(), SiStripCorrelateBadStripAndNoise::getMeanNoise(), GetMPV(), pftools::CaloEllipse::getTheta(), CSCOfflineMonitor::harvestChamberMeans(), HcalSiPM::hitCells(), EcalEndcapRecHitsMaker::init(), EcalBarrelRecHitsMaker::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::TimingClient::producePlots(), ecaldqm::PresampleClient::producePlots(), SusyPostProcessor::QuantilePlots(), EcalEndcapRecHitsMaker::randomNoisifier(), EcalBarrelRecHitsMaker::randomNoisifier(), hcaltb::HcalTBTDCUnpacker::reconstructWC(), MuonTestSummary::ResidualCheck(), RPCLinkSynchroStat::SynchroCounts::rms(), SiPixelDQMRocLevelAnalyzer::RocSumOneModule(), DTFineDelayCorr::runClientDiagnostic(), ecaldqm::PedestalTask::runOnDigis(), ecaldqm::PresampleTask::runOnDigis(), ecaldqm::PNPresampleTask::runOnPnDigis(), ecaldqm::PedestalTask::runOnPnDigis(), ContentsWithinExpected::runTest(), MeanWithinExpected::runTest(), MonPNMGPADat::setADCMeanG1(), MonPNIRedDat::setADCMeanG1(), MonPNLed1Dat::setADCMeanG1(), MonTestPulseDat::setADCMeanG1(), MonPNLed2Dat::setADCMeanG1(), MonPNBlueDat::setADCMeanG1(), MonPNGreenDat::setADCMeanG1(), MonPNRedDat::setADCMeanG1(), MonPedestalsOnlineDat::setADCMeanG12(), MonTestPulseDat::setADCMeanG12(), MonPNMGPADat::setADCMeanG16(), MonPNLed1Dat::setADCMeanG16(), MonPNBlueDat::setADCMeanG16(), MonPNIRedDat::setADCMeanG16(), MonPNRedDat::setADCMeanG16(), MonPNGreenDat::setADCMeanG16(), MonPNLed2Dat::setADCMeanG16(), MonTestPulseDat::setADCMeanG6(), MonPNIRedDat::setADCRMSG1(), MonPNRedDat::setADCRMSG1(), MonPNMGPADat::setADCRMSG1(), MonPNGreenDat::setADCRMSG1(), MonPNBlueDat::setADCRMSG1(), MonPNLed2Dat::setADCRMSG1(), MonPNLed1Dat::setADCRMSG1(), MonPNGreenDat::setADCRMSG16(), MonPNBlueDat::setADCRMSG16(), MonPNRedDat::setADCRMSG16(), MonPNIRedDat::setADCRMSG16(), MonPNMGPADat::setADCRMSG16(), MonPNLed1Dat::setADCRMSG16(), MonPNLed2Dat::setADCRMSG16(), MonLaserBlueDat::setAPDMean(), MonLaserIRedDat::setAPDMean(), MonLaserRedDat::setAPDMean(), MonLaserGreenDat::setAPDMean(), MonLaserIRedDat::setAPDOverPNMean(), MonLaserRedDat::setAPDOverPNMean(), MonLaserBlueDat::setAPDOverPNMean(), MonLaserGreenDat::setAPDOverPNMean(), UpdateTProfile::setBinContents(), MonDelaysTTDat::setDelayMean(), MeanWithinExpected::setExpectedMean(), FEConfigFgrEEStripDat::setLutFg(), FEConfigFgrEEStripDat::setLUTFgr(), FEConfigFgrEEStripDat::setLutFgr(), FEConfigFgrEETowerDat::setLutValue(), FEConfigFgrEETowerDat::setLUTValue(), function::ZMuTrackFunction::setParameters(), function::ZMuStandaloneScaledFunction::setParameters(), function::ZMuTrackScaledFunction::setParameters(), MonPNLed2Dat::setPedMeanG1(), MonPNRedDat::setPedMeanG1(), MonPNIRedDat::setPedMeanG1(), MonPNBlueDat::setPedMeanG1(), MonPNGreenDat::setPedMeanG1(), MonPedestalsDat::setPedMeanG1(), FEConfigPedDat::setPedMeanG1(), MonPNMGPADat::setPedMeanG1(), MonPNLed1Dat::setPedMeanG1(), MonPNPedDat::setPedMeanG1(), MonPedestalsDat::setPedMeanG12(), FEConfigPedDat::setPedMeanG12(), MonPNBlueDat::setPedMeanG16(), MonPNIRedDat::setPedMeanG16(), MonPNGreenDat::setPedMeanG16(), MonPNRedDat::setPedMeanG16(), MonPNPedDat::setPedMeanG16(), MonPNMGPADat::setPedMeanG16(), MonPNLed2Dat::setPedMeanG16(), MonPNLed1Dat::setPedMeanG16(), MonPedestalsDat::setPedMeanG6(), FEConfigPedDat::setPedMeanG6(), MonPNIRedDat::setPedRMSG1(), MonPNRedDat::setPedRMSG1(), MonPNPedDat::setPedRMSG1(), MonPNMGPADat::setPedRMSG1(), MonPNLed2Dat::setPedRMSG1(), MonPNLed1Dat::setPedRMSG1(), MonPNGreenDat::setPedRMSG1(), MonPNBlueDat::setPedRMSG1(), MonPNRedDat::setPedRMSG16(), MonPNMGPADat::setPedRMSG16(), MonPNIRedDat::setPedRMSG16(), MonPNPedDat::setPedRMSG16(), MonPNBlueDat::setPedRMSG16(), MonPNLed1Dat::setPedRMSG16(), MonPNGreenDat::setPedRMSG16(), MonPNLed2Dat::setPedRMSG16(), FEConfigSlidingDat::setSliding(), FEConfigFgrEEStripDat::setThreshold(), ITimingDat::setTimingMean(), MonLed1Dat::setVPTMean(), MonLed2Dat::setVPTMean(), MonLed1Dat::setVPTOverPNMean(), MonLed2Dat::setVPTOverPNMean(), MonitorElement::ShiftFillLast(), QcdLowPtDQM::trackletVertexUnbinned(), PedestalsTask::update(), PedsFullNoiseTask::update(), edm::Lumi3DReWeighting::weight3D_init(), and reweight::LumiReWeighting::weight3D_init().

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.

Definition at line 351 of file timingPdfMaker.py.

Definition at line 352 of file timingPdfMaker.py.

dictionary timingPdfMaker::specific = {}
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.

Initial value:
00001 ['\documentclass[10pt,a5paper,landscape]{report}\n',
00002                         '\usepackage{graphicx}\n',
00003                         '\usepackage[a5paper,vmargin={5mm,2mm},hmargin={5mm,5mm}]{geometry}\n',
00004                         '\usepackage[linktocpage]{hyperref}\n',
00005                         '\hypersetup{backref, colorlinks=true}\n',
00006                         '\\title{ \\textbf{\Huge{HLT Timing Summary}} \\footnote{\large{Documentation at \url{https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideHLTTimingSummary}}} \\\\ Main Info }\n',
00007                         '\\author{\Large{CMS Experiment}}\n',
00008                         '\date{\\today}\n',
00009                         '\\begin{document}\n',
00010                         '\maketitle\n',
00011                         '\\newpage\n',
00012                         '\clearpage\n'
00013                         '\\tableofcontents\n',
00014                         '\\newpage\n',
00015                         '\\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.