CMS 3D CMS Logo

Classes | Functions | Variables

matplotRender Namespace Reference

Classes

class  matplotRender

Functions

def destroy

Variables

tuple a = fig.add_subplot(111)
 batchonly = False
tuple fig = Figure(figsize=(5,5),dpi=100)
tuple m = matplotRender(fig)
tuple root = Tk.Tk()
tuple s = numpy.sin(2*numpy.pi*t)
tuple t = numpy.arange(0.0,3.0,0.01)

Detailed Description

This module is graphical API using pymatplotlib.
Specs:
-- We use matplotlib OO class level api, we do not use its high-level helper modules. Favor endured stability over simplicity. 
-- use TkAgg for interactive mode. Beaware of Tk,pyTk installation defects in various cern distributions.
-- PNG as default batch file format
-- we support https mode by sending string buf via meme type image/png. Sending a premade static plot to webserver is considered a uploading process instead of https dynamic graphical mode. Therefore covered in this module.

Function Documentation

def matplotRender::destroy (   e)

Definition at line 42 of file matplotRender.py.

Referenced by edm::OwnVector< T, P >::clear(), and edm::OwnVector< T, P >::~OwnVector().

00043                :
00044     sys.exit()
    

Variable Documentation

tuple matplotRender::a = fig.add_subplot(111)

Definition at line 568 of file matplotRender.py.

Definition at line 14 of file matplotRender.py.

tuple matplotRender::fig = Figure(figsize=(5,5),dpi=100)

Definition at line 567 of file matplotRender.py.

Definition at line 572 of file matplotRender.py.

tuple matplotRender::root = Tk.Tk()

Definition at line 25 of file matplotRender.py.

tuple matplotRender::s = numpy.sin(2*numpy.pi*t)

Definition at line 570 of file matplotRender.py.

tuple matplotRender::t = numpy.arange(0.0,3.0,0.01)

Definition at line 569 of file matplotRender.py.

Referenced by RunManager::abortEvent(), popcon::PopConSourceHandler< CastorPedestals >::add(), VertexUpdator< 5 >::add(), CachingSeedCleanerByHitPosition::add(), CachingSeedCleanerBySharedInput::add(), HcalDetDiagLaserData::add_statistics(), HcalDetDiagLEDData::add_statistics(), CrossingFrame< T >::addPileups(), fireworks::addRhoZEnergyProjection(), DeDxDiscriminatorLearnerFromCalibTree::algoAnalyzeTheTree(), CkfDebugger::analyseCompatibleMeasurements(), EcalSelectiveReadoutValidation::analyze(), ValidationMisalignedTracker::analyze(), PrimaryVertexAnalyzer4PU::analyze(), WValidation::analyze(), L1Scalers::analyze(), LaserSorter::analyze(), PrimaryVertexAnalyzer::analyze(), DrellYanValidation::analyze(), ElectronSeedAnalyzer::analyze(), L1TDTTPG::analyze(), HcalRecHitsValidation::analyze(), TrackingTruthValid::analyze(), myFastSimVal::analyze(), HLTMonBTagIPSource::analyze(), TrackParameterAnalyzer::analyze(), L1TFED::analyze(), HLTMonBTagMuSource::analyze(), BeamMonitor::analyze(), myJetAna::analyze(), TrackingMaterialAnalyser::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), PrimaryVertexAnalyzer4PU::analyzeVertexCollection(), edm::HepMCProduct::applyVtxGen(), EZArrayFL< GlobalPoint >::assign(), EZMgrFL< EBDetId >::assign(), EZMgrVL< T >::assign(), EZArrayVL< T >::assign(), helper::SimpleJetTrackAssociator::associate(), JetCrystalsAssociator::associate(), TrackAssociatorByHits::associateRecoToSim(), TrackAssociatorByHits::associateSimToReco(), helper::SimpleJetTrackAssociator::associateTransient(), DTDigitizer::asymGausSmear(), PhiSymmetryCalibration::beginJob(), EEDcsInfoTask::beginLuminosityBlock(), EEDaqInfoTask::beginLuminosityBlock(), LumiCalculator::beginRun(), binop(), PrimaryVertexAnalyzer4PU::bookVertexHistograms(), FWVertexWithTracksProxyBuilder::build(), FWPFCandidate3DProxyBuilder::build(), FWPFPatJet3DProxyBuilder< T >::build(), FWTrackingParticleProxyBuilder::build(), FWSecVertexProxyBuilder::build(), gen::HydjetHadronizer::build_hyjet_vertex(), TouchableToHistory::buildAll(), CmsTrackerDetIdBuilder::buildId(), TrackerGeomBuilderFromGeometricDet::buildPixel(), SiStripDetVOffBuilder::buildPSUdetIdMap(), TrackerGeomBuilderFromGeometricDet::buildSilicon(), Averages::calc(), CSCStripAmpResponse::calculateAmpResponse(), JetPlusTrackProducerAA::calculateBGtracksJet(), PerformancePayloadFromTFormula::check(), CSCDCCExaminer::check(), reco::checkMethod(), MixingWorker::checkSignal(), edm::MixingWorker< T >::checkSignal(), SimTrackManager::cleanTracksWithHistory(), edm::CopyPolicy< T >::clone(), LaserSorter::closeOutStream(), FWEveViewManager::colorsChanged(), EcalSelectiveReadoutValidation::compareSrfColl(), EMShower::compute(), converter::SuperClusterToCandidate::convert(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), copyObject(), CSCStripElectronicsSim::createDigi(), LMFRunTag::createObject(), LMFSeqVers::createObject(), LMFIOV::createObject(), LMFTrigType::createObject(), LMFPrimVers::createObject(), LMFCorrVers::createObject(), MuonSeedCreator::createSeed(), CosmicMuonSeedGenerator::createSeed(), MuonSeedFromRecHits::createSeed(), TrackingTruthProducer::createTrackingTruth(), cscClassPackerCompare(), d2str(), edm::service::d2str(), MaterialBudgetData::dataPerStep(), gen::TauolaInterface::decay(), FWLiteESSource::delaySettingRecords(), EMShower::deposit(), IntegralOverPhiFunction::DoEval(), reco::parser::AnyMethodArgumentFixup::doInt(), DDEcalPreshowerAlgo::doLadders(), DTConfigTraco::DTConfigTraco(), EcalHitMaker::ecalCellLine(), EcalSelectiveReadoutValidation::EcalSelectiveReadoutValidation(), HLTMonBTagClient::efficiency(), edm::TestMixedSource::endJob(), EEDataCertificationTask::endLuminosityBlock(), LumiCalculator::endLuminosityBlock(), EEDataCertificationTask::endRun(), PFEnergyCalibration::energyEmHad(), RooCBExGaussShape::evaluate(), AlignmentMonitorGeneric::event(), FWEveViewManager::eventBegin(), FWEveViewManager::eventEnd(), edm::eventsetup::EventSetupRecord::get< fwliteeswriter::Handle >(), TFParams::f3deg(), EcalCondDBInterface::fetchDCSDataSet(), SimG4HcalValidation::fetchHits(), LMFLmrSubIOV::fetchIdSql(), FBaseSimEvent::fill(), PhiSymmetryCalibration_step2_SM::fillHistos(), PhiSymmetryCalibration_step2::fillHistos(), HcalTestHistoClass::fillHits(), FastL1GlobalAlgo::FillL1RegionsTP(), TopDecaySubset::fillListing(), EEDcsInfoTask::fillMonitorElements(), EEDaqInfoTask::fillMonitorElements(), TopInitSubset::fillOutput(), HcalRecHitsValidation::fillRecHitsTmp(), ProtonTaggerFilter::filter(), HSCParticleProducer::filter(), RPCRecHitFilter::filter(), cms::BHFilter::filter(), PhotonMCTruthFinder::find(), DTCombinatorialPatternReco::findCompatibleHits(), reco::findMethod(), TopDecaySubset::findTops(), CSCXonStrip_MatchGatti::findXOnStrip(), sistrip::LinearFit::fit(), sistrip::MeanAndStdDev::fit(), TFParams::fitpj(), CSCFindPeakTime::fivePoleFitCharge(), fnc_gaussalpha(), fnc_gaussalpha1alpha2(), edm::service::ELstatistics::formSummary(), cond::time::from_boost(), lumi::from_string(), HcalDbOmds::from_string(), cond::time::from_timeval(), FWCollectionSummaryModelCellRenderer::FWCollectionSummaryModelCellRenderer(), FWCollectionSummaryWidget::FWCollectionSummaryWidget(), FWGeoMaterialValidator::FWGeoMaterialValidator(), HepMCValidationHelper::genMet(), edm::helper::CandMasterKeyReference::get(), edm::helper::AssociationIdenticalKeyReference::get(), fwlite::Record::get(), edm::get_final_type(), edm::service::MessageLoggerScribe::getAparameter(), TShapeAnalysis::getDateStart(), TShapeAnalysis::getDateStop(), LMFRunIOV::getDBInsertionTime(), stor::MonitoredQuantity::Stats::getDuration(), globcontrol::getfunction(), L1TauAnalyzer::getGenObjects(), HSCParticleProducer::getHSCPSeedCollection(), WatcherStreamFileReader::getInputFile(), edm::JobReport::JobReportImpl::getInputFileForToken(), LMFLmrSubIOV::getIOVIDsLaterThan(), LMFDat::getKeyTypes(), PhiSymmetryCalibration::getKfactors(), EcalLaserDbService::getLaserCorrection(), fireworks::getLocalTime(), TouchableToHistory::getNavStory(), SiStripPulseShape::getNormalizedValue(), edm::JobReport::JobReportImpl::getOutputFileForToken(), LMFLmrSubIOV::getParameters(), DataReducer< T >::getReducedDataList(), PerformancePayloadFromTFormula::getResult(), stor::MonitoredQuantity::Stats::getSampleCount(), stor::MonitoredQuantity::Stats::getSampleLatency(), stor::MonitoredQuantity::Stats::getSampleRate(), LMFSeqDat::getSequenceStart(), LMFSeqDat::getSequenceStop(), PrimaryVertexAnalyzer4PU::getSimEvents(), PrimaryVertexAnalyzer::getSimPVs(), PrimaryVertexAnalyzer4PU::getSimTrkParameters(), LMFRunIOV::getSubRunEnd(), LMFRunIOV::getSubRunStart(), LMFLmrSubIOV::getTime(), fireworks::getTimeGMT(), FWPFTrackUtils::getTrack(), stor::MonitoredQuantity::Stats::getValueAverage(), stor::MonitoredQuantity::Stats::getValueMax(), stor::MonitoredQuantity::Stats::getValueMin(), stor::MonitoredQuantity::Stats::getValueRate(), stor::MonitoredQuantity::Stats::getValueRMS(), stor::MonitoredQuantity::Stats::getValueSum(), CSCDriftSim::getWireHit(), reco::GhostTrackPrediction::GhostTrackPrediction(), FWEveViewManager::globalEnergyScaleChanged(), CachingSeedCleanerByHitPosition::good(), CachingSeedCleanerBySharedInput::good(), FWEveViewManager::haveViewForBit(), QualityCutsAnalyzer::histogram_element_t::histogram_element_t(), CSCMake2DRecHit::hitFromStripAndWire(), i2str(), edm::service::i2str(), gen::Pythia6Hadronizer::imposeProperTime(), TMatacq::init(), Thrust::init(), edm::EventSelector::init(), edm::BranchDescription::initFromDictionary(), HBHEHitMap::insert(), edm::DetSetVector< T >::insert(), ThreadSingleton< T, F >::instance(), lumi::TRGWBM2DB::int2str(), lumi::TRG2DB::int2str(), CastorPulseShapes::Shape::integrate(), HcalPulseShapes::Shape::integrate(), LinearGridInterpolator3D::interpolate(), MatacqDataFormatter::interpretRawData(), ROOT::Math::Transform3DPJ::Inverse(), ShallowGainCalibration::IsFarFromBorder(), DeDxDiscriminatorTools::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), PerformancePayloadFromTable::isInPayload(), PerformancePayloadFromTFormula::isOk(), CMSMidpointAlgorithm::iterateCone(), SimG4HcalValidation::jetAnalysis(), L1RPCConeDefinitionProducer::L1RPCConeDefinitionProducer(), LMFSeqDat::LMFSeqDat(), FSimEvent::load(), G4SimEvent::load(), HcalDetDiagLaserMonitor::LoadDataset(), HcalDetDiagPedestalMonitor::LoadDataset(), HcalNumberingFromDDD::loadGeometry(), HcalDetDiagLEDMonitor::LoadReference(), HcalDetDiagLaserMonitor::LoadReference(), HcalDetDiagPedestalMonitor::LoadReference(), HLTPerformanceInfo::longestModuleCPUTime(), HLTPerformanceInfo::longestModuleCPUTimeName(), HLTPerformanceInfo::longestModuleTime(), HLTPerformanceInfo::longestModuleTimeName(), TFileDirectory::make(), edm::eventsetup::DataKey::makeCopyOfMemory(), FWRPZViewGeometry::makeShape(), PerformancePayloadFromTable::matches(), PrimaryVertexAnalyzer4PU::matchRecTracksToVertex(), DTTime2DriftParametrization::MB_DT_delta_x(), RadialStripTopology::measurementError(), TFParams::mixShape(), Conv::mkbins(), FWEventItem::modelInfo(), MuonSensitiveDetector::newHit(), FWEveViewManager::newItem(), pat::Muon::normChi2(), ora::NullTypeHandler::NullTypeHandler(), pat::Muon::numberOfValidHits(), SimG4HcalValidation::nxNAnalysis(), FWDetailViewManager::openDetailViewFor(), DCUTag::operator!=(), MonRunTag::operator!=(), RunTag::operator!=(), cscdqm::HWStandbyType::operator!=(), CaliTag::operator!=(), ROOT::Math::Transform3DPJ::operator()(), reco::parser::AnyMethodArgument2VoidPtr::operator()(), reco::parser::AnyMethodArgumentFixup::operator()(), ROOT::Math::Transform3DPJ::operator*(), operator*(), Vector2DBase< float, GlobalTag >::operator*=(), Basic3DVector< align::Scalar >::operator*=(), Basic3DVector< long double >::operator*=(), Basic2DVector< TmpType >::operator*=(), VectorDoublet< Vector3D, Vector3D >::operator*=(), Vector3DBase< Scalar, GlobalTag >::operator*=(), Signal::operator,(), operator/(), VectorDoublet< Vector3D, Vector3D >::operator/=(), Basic3DVector< long double >::operator/=(), Basic3DVector< align::Scalar >::operator/=(), Vector3DBase< Scalar, GlobalTag >::operator/=(), Vector2DBase< float, GlobalTag >::operator/=(), Basic2DVector< TmpType >::operator/=(), edm::LogImportant::operator<<(), cscdqm::LogCout::operator<<(), edm::LogWarning::operator<<(), edm::LogProblem::operator<<(), edm::LogAbsolute::operator<<(), edm::LogInfo::operator<<(), edm::LogDebug_::operator<<(), operator<<(), edm::LogTrace_::operator<<(), edm::LogPrint::operator<<(), edm::LogVerbatim::operator<<(), edm::LogError::operator<<(), edm::MessageSender::operator<<(), edm::edmmltest::LogWarningThatSuppressesLikeLogInfo::operator<<(), edm::LogSystem::operator<<(), bostream_iterator< T >::operator=(), cscdqm::DDUHistoDef::operator=(), cscdqm::CSCHistoDef::operator=(), ora::Ptr< T >::operator=(), ora::UniqueRef< T >::operator=(), operator==(), ext::basic_omemstream< Item_t, Traits_t, Allocator_t >::overflow(), cond::time::pack(), perp2(), InnerDeltaPhi::phiRange(), DTPosNegType::pnCode(), DTPosNeg::pnCode(), DDStreamer::pos_read(), edm::postIndexIntoFilePrintEventLists(), edm::service::Timing::postModule(), evf::TimeProfilerService::postModule(), CSCChipSpeedCorrectionDBConditions::prefillDBChipSpeedCorrection(), fireworks::prepareCandidate(), EMShower::prepareSteps(), fireworks::prepareTrack(), PerformancePayloadFromTFormula::printFormula(), PrimaryVertexAnalyzer4PU::printPVTrks(), PrimaryVertexAnalyzer4PU::printRecTrks(), PrimaryVertexAnalyzer::printSimTrks(), PrimaryVertexAnalyzer4PU::printSimTrks(), EcalSelectiveReadoutProducer::printSrFlags(), MultiVertexFitter::printWeights(), EgammaHLTPixelMatchElectronAlgo::process(), ora::PrimitiveMapping::process(), JetCrystalsAssociator::produce(), HcalHitSelection::produce(), HcalForwardLibWriter::produce(), EcalDetIdToBeRecoveredProducer::produce(), JetTracksAssociationDRCalo::produce(), JetTracksAssociationDRVertex::produce(), JetVetoedTracksAssociationDRVertex::produce(), InclusiveVertexFinder::produce(), ISRGammaWeightProducer::produce(), ReducedRecHitCollectionProducer::produce(), BSCTrigger::produce(), ReducedESRecHitCollectionProducer::produce(), Strip1DMeasurementTransformator::projectionMatrix(), ora::Ptr< T >::Ptr(), GsfTrackProducerBase::putInEvt(), KfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), CocoaToDDLMgr::pv(), ClusterShapeTrajectoryFilter::qualityFilter(), TtFullLepKinSolver::quartic(), HepMCValidationHelper::removeIsolatedLeptons(), L1GctGlobalHfSumAlgos::resetPipelines(), reco::returnType(), gen::PyquenHadronizer::rotateEvtPlane(), CSCDigiValidator::sanitizeWireDigis(), TagProbeFitter::saveEfficiencyPlots(), HcalDetDiagLaserMonitor::SaveRaddamData(), HcalDetDiagNoiseMonitor::SaveRates(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), edm::service::SimpleMemoryCheck::SignificantEvent::set(), FEDTrailer::set(), TFHeaderDescription::setBunchCrossing(), HLTPerformanceInfo::Module::setCPUTime(), CaloTower::setEcalTime(), TFHeaderDescription::setFedEventNumber(), TFHeaderDescription::setFedId(), TFHeaderDescription::setFedType(), reco::Muon::setGlobalTrack(), CaloTower::setHcalTime(), FWTableWidget::SetHeaderBackgroundColor(), FWTableWidget::SetHeaderForegroundColor(), RunDCSHVDat::setHV(), RunDCSHVDat::setHVNominal(), reco::Muon::setInnerTrack(), reco::CaloMuon::setInnerTrack(), FWTableWidget::SetLineSeparatorColor(), RunDCSLVDat::setLV(), RunDCSLVDat::setLVNominal(), RunDCSMagnetDat::setMagnetCurrent(), TFHeaderDescription::setNumberOfChannels(), TFHeaderDescription::setNumberOfSamples(), reco::Muon::setOuterTrack(), pat::Muon::setPickyMuon(), stor::ExpirableQueue< T, Policy >::setStalenessInterval(), RunDCSHVDat::setStatus(), RunDCSLVDat::setStatus(), pftools::Exercises3::setTarget(), pftools::CalibCompare::setTarget(), RunPTMTempDat::setTemperature(), TotemG4Hit::setThetaAtEntry(), BscG4Hit::setThetaAtEntry(), FP420G4Hit::setThetaAtEntry(), PCaloHit::setTime(), HFShowerG4Hit::setTime(), FiberG4Hit::setTime(), HLTPerformanceInfo::Module::setTime(), edm::ConfigurableInputSource::setTime(), RunDCSHVDat::setTimeStatus(), RunDCSLVDat::setTimeStatus(), Tm::setToCurrentGMTime(), Tm::setToCurrentLocalTime(), Tm::setToMicrosTime(), pat::Muon::setTpfmsMuon(), CurrentG4Track::setTrack(), CoreSimTrack::setTrackId(), SubTaskSummaryStatus::Setup(), FWGeoTopNode::setupBuffMtx(), TrackingParticle::setVertex(), BscG4Hit::setVx(), FP420G4Hit::setVx(), TotemG4Hit::setVx(), FP420G4Hit::setVy(), TotemG4Hit::setVy(), BscG4Hit::setVy(), FP420G4Hit::setVz(), TotemG4Hit::setVz(), BscG4Hit::setVz(), TotemG4Hit::setX(), BscG4Hit::setX(), FP420G4Hit::setX(), TotemG4Hit::setY(), BscG4Hit::setY(), FP420G4Hit::setY(), TotemG4Hit::setZ(), BscG4Hit::setZ(), FP420G4Hit::setZ(), DDStreamer::solids_read(), sqr(), RKCurvilinearDistance< T, N >::sqr(), edm::CPUTimer::stop(), MuonSensitiveDetector::storeVolumeAndTrack(), ConfigFile::string_as_T(), cscdqm::stringToNumber(), edm::service::ELstatistics::summaryForJobReport(), CSCAnalogSignal::superimpose(), PrimaryVertexAnalyzer4PU::supf(), ConfigFile::T_as_string(), ME::time_low(), HcalHitCorrection::timeBin(), CastorHitCorrection::timeBin(), cond::to_string(), FWCollectionSummaryWidget::toggleShowHide(), cscdqm::toString(), HLTPerformanceInfo::totalCPUTime(), HLTPerformanceInfo::totalPathCPUTime(), HLTPerformanceInfo::totalPathTime(), HLTPerformanceInfo::totalTime(), TPGCheck::TPGCheck(), TrackProducerFP420::trackFinderSophisticated(), MuonTrackAnalyzer::tracksAnalysis(), reco::JetTracksAssociation::tracksP4(), CosmicMuonTrajectoryBuilder::trajectories(), ShallowTree::TypedBranchConnector< T >::TypedBranchConnector(), AlignableObjectId::typeToName(), ora::UniqueRef< T >::UniqueRef(), fwlite::RecordWriter::update(), DummyVertexTrackUpdator< N >::update(), EcalSelectiveReadoutValidation::updateL1aRate(), PrimaryVertexMonitor::vertexPlots(), TrimmedVertexFinder::vertices(), writeABIOFileHeader(), writeABSRFFileHeader(), writeABTTFFileHeader(), FEConfigWeightGroupDat::writeArrayDB(), FEConfigFgrParamDat::writeArrayDB(), MonPNGreenDat::writeArrayDB(), MonPNBlueDat::writeArrayDB(), MonPNLed1Dat::writeArrayDB(), MonPNLed2Dat::writeArrayDB(), FEConfigParamDat::writeArrayDB(), MonTTConsistencyDat::writeArrayDB(), MonTestPulseDat::writeArrayDB(), MonPNRedDat::writeArrayDB(), MonPNMGPADat::writeArrayDB(), DCULVRVoltagesDat::writeArrayDB(), MonPedestalsDat::writeArrayDB(), MonPNIRedDat::writeArrayDB(), MonMemTTConsistencyDat::writeArrayDB(), FEConfigFgrGroupDat::writeArrayDB(), Histograms::writeHistograms(), EcalDccWeightBuilder::writeWeightToRootFile(), xy(), z(), and MatacqProducer::~MatacqProducer().