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 |
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.
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.
def timingPdfMaker::main | ( | argv | ) |
Definition at line 344 of file timingPdfMaker.py.
def timingPdfMaker::maininfo | ( | infile, | |
outfile | |||
) |
Creates main info tex file
Definition at line 55 of file timingPdfMaker.py.
def timingPdfMaker::moduleinfo | ( | infile, | |
outfile | |||
) |
Create the paths info tex file
Definition at line 191 of file timingPdfMaker.py.
def timingPdfMaker::pathsinfo | ( | infile, | |
outfile | |||
) |
Create the paths info tex file
Definition at line 130 of file timingPdfMaker.py.
def timingPdfMaker::specificpathinfo | ( | infile, | |
outfile, | |||
path | |||
) |
Creates an specific path info tex file
Definition at line 247 of file timingPdfMaker.py.
def timingPdfMaker::usage | ( | ) |
Definition at line 35 of file timingPdfMaker.py.
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.
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(), HcalPedestalClient::htmlOutput(), HcalDetDiagLEDClient::htmlOutput(), HcalDetDiagPedestalClient::htmlOutput(), CastorHardcodeGeometryLoader::makeCell(), EcalDisplaysByEvent::selectHits(), and EcalMipGraphs::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(), 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(), RooTwoETwoMuMassRes::evaluate(), RooFourEMassRes::evaluate(), RooFourMuMassRes::evaluate(), 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(), cacheutils::CachingSimNLL::SimpleGaussianConstraint::getLogValFast(), 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(), 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 FourVectorHLTriggerOffline::beginRun(), HLTJetMETDQMSource::beginRun(), FourVectorHLTOffline::beginRun(), JetMETHLTOfflineSource::beginRun(), BTagHLTOfflineSource::beginRun(), FourVectorHLTOnline::beginRun(), TrigResRateMon::bookTestHisto(), MEtoMEComparitor::compare(), FourVectorHLTOnline::countHLTGroupBXHitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupBXHitsEndLumiBlock(), TrigResRateMon::countHLTGroupBXHitsEndLumiBlock(), TrigResRateMon::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOnline::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOnline::countHLTGroupL1HitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupL1HitsEndLumiBlock(), TrigResRateMon::countHLTGroupL1HitsEndLumiBlock(), TrigResRateMon::countHLTPathHitsEndLumiBlock(), FourVectorHLTOffline::countHLTPathHitsEndLumiBlock(), FourVectorHLTOnline::countHLTPathHitsEndLumiBlock(), DQMHistNormalizer::endRun(), JetMETHLTOfflineSource::fillMEforEffWrtMBTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMuTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTriggerwrtMuonTrigger(), JetMETHLTOfflineSource::fillMEforMonTriggerSummary(), TrigResRateMon::filltestHisto(), EDMtoMEConverter::getData(), TrigResRateMon::getThresholdFromName(), FourVectorHLTOffline::hasL1Passed(), FastTimerService::postBeginJob(), lumi::HLTV32DB::retrieveData(), lumi::HLTDummy2DB::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(), PFSpecificAlgo::addInfo(), GenSpecificAlgo::addInfo(), HLTHcalMETNoiseCleaner::BuildCaloMet(), PFTauToJetProducer::produce(), JetPlusTrackProducerAA::produce(), JetPlusTrackProducer::produce(), TauGenJetProducer::produce(), PFJetToCaloProducer::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.
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.