Functions | |
def | indent (rows, hasHeader=False, headerChar='-', delim='| ', justify='center', separateRows=False, prefix='', postfix='', wrapfunc=lambda x:x) |
Variables | |
data | |
delim | |
False | |
hasHeader | |
headerwidth | |
labels | |
lumidata | |
lumifooter | |
lumiheader | |
postfix | |
prefix | |
rows | |
separateRows | |
True | |
width | |
wrapfunc | |
def tablePrinter.indent | ( | rows, | |
hasHeader = False , |
|||
headerChar = '-' , |
|||
delim = ' | ' , |
|||
justify = 'center' , |
|||
separateRows = False , |
|||
prefix = '' , |
|||
postfix = '' , |
|||
wrapfunc = lambda x:x |
|||
) |
Indents a table by column. - rows: A sequence of sequences of items, one sequence per row. - hadHeader: True if the first row consists of the column's names. - headerChar: Character to be used for the row separator line (if hasHeader==True or separateRows==True). - delim: The column delimiter. - justify: Determines how are data justified in their column. Valid values are 'left','right','center'. - separateRows: True if rows are to be separated by a line of 'headerChar's. - prefix: A string prepended to each printed row. - postfix: A string appended to each printed row. - wrapfunc: A function f(text) for wrapping text; each element in the table is first wrapped by this function.
Definition at line 9 of file tablePrinter.py.
References genParticles_cff.map, SiStripPI.max, split, harvestTrackValidationPlots.str, wrapfunc, and ComparisonHelper.zip().
tablePrinter.data |
Definition at line 52 of file tablePrinter.py.
tablePrinter.delim |
Definition at line 78 of file tablePrinter.py.
Referenced by SimpleSAXParser.getToken(), l1t::Parameter.Parameter(), l1t::XmlConfigParser.readContext(), and EcalDccWeightBuilder.writeWeightToAsciiFile().
tablePrinter.False |
Definition at line 73 of file tablePrinter.py.
tablePrinter.hasHeader |
Definition at line 59 of file tablePrinter.py.
tablePrinter.headerwidth |
Definition at line 72 of file tablePrinter.py.
tablePrinter.labels |
Definition at line 51 of file tablePrinter.py.
Referenced by BTagPerformanceAnalyzerOnData.analyze(), BTagPerformanceAnalyzerMC.analyze(), AlCaElectronsTest.analyze(), SiPixelHitEfficiencySource.analyze(), SiPixelTrackResidualSource.analyze(), HLTPrescaleRecorder.beginRun(), DigiInvestigatorHistogramMaker.book(), ecaldqm::MESetEcal.book(), DigiVtxPosCorrHistogramMaker.book(), DigiVertexCorrHistogramMaker.book(), DigiPileupCorrHistogramMaker.book(), DigiLumiCorrHistogramMaker.book(), DigiBXCorrHistogramMaker< T >.book(), cscdqm::Collection.book(), pat::TauJetCorrFactors.correctionLabels(), pat::JetCorrFactors.correctionLabels(), pat::TauJetCorrFactors.correctionLabelString(), pat::JetCorrFactors.correctionLabelString(), HLTMuonValidator.dqmBeginRun(), HLTMuonOfflineAnalyzer.dqmBeginRun(), TriggerBxMonitor.dqmBeginRun(), TriggerRatesMonitor.dqmBeginRun(), HLTConfigData.dump(), HLTPrescaleRecorder.endRun(), TauDQMHistPlotter.endRun(), GenericTriggerEventFlag.expressionsFromDB(), HLTConfigData.extract(), TrackingNtuple.fillSeeds(), TrackingNtuple.fillTracks(), EcalSimpleUncalibRecHitFilter.filter(), EcalMIPRecHitFilter.filter(), ecaldqm::binning.formAxis(), hcaldqm::quantity::FEDQuantity.getLabels(), hcaldqm::quantity::RunNumber.getLabels(), hcaldqm::quantity::CrateQuantity.getLabels(), hcaldqm::quantity::EventType.getLabels(), hcaldqm::quantity.getLabels_Crate(), hcaldqm::quantity.getLabels_CrateuTCA(), hcaldqm::quantity.getLabels_CrateVME(), hcaldqm::quantity.getLabels_FED(), hcaldqm::quantity.getLabels_FEDuTCA(), hcaldqm::quantity.getLabels_FEDuTCASlot(), hcaldqm::quantity.getLabels_FEDVME(), hcaldqm::quantity.getLabels_FEDVMESpigot(), hcaldqm::quantity.getLabels_FiberCh(), hcaldqm::quantity.getLabels_FiberChuTCATP(), hcaldqm::quantity.getLabels_FiberuTCA(), hcaldqm::quantity.getLabels_FiberuTCAFiberCh(), hcaldqm::quantity.getLabels_FiberuTCATP(), hcaldqm::quantity.getLabels_FiberuTCATPFiberChuTCATP(), hcaldqm::quantity.getLabels_FiberVME(), hcaldqm::quantity.getLabels_FiberVMEFiberCh(), hcaldqm::quantity.getLabels_ieta(), hcaldqm::quantity.getLabels_SLB(), hcaldqm::quantity.getLabels_SLBCh(), hcaldqm::quantity.getLabels_SLBSLBCh(), hcaldqm::quantity.getLabels_SlotuTCA(), hcaldqm::quantity.getLabels_Subdet(), hcaldqm::quantity.getLabels_SubdetPM(), hcaldqm::quantity.getLabels_TTieta(), hcaldqm::quantity.getLabels_TTieta2x3(), hcaldqm::quantity.getLabels_TTSubdet(), hcaldqm::quantity.getLabels_TTSubdetPM(), edm::service::PrescaleService.getPrescaleTable(), HCalSD.HCalSD(), edm::EDConsumerBase.labelsForToken(), rpcdqm::utils.labelYAxisRing(), hitfit.make_constraint_intermed(), edm::PrincipalGetAdapter.makeFailToGetException(), TrackerHitAssociator.makeMaps(), PlotCombiner.makePlot(), B2GSingleLeptonHLTValidation.monitorPath(), B2GDoubleLeptonHLTValidation.monitorPath(), TopSingleLeptonHLTValidation.monitorPath(), B2GHadronicHLTValidation.monitorPath(), TopDiLeptonHLTValidation.monitorPath(), MultiplicityTimeCorrelations.MultiplicityTimeCorrelations(), MultiTrackValidator.MultiTrackValidator(), ecaldqm::binning::AxisSpecs.operator=(), PlotPixelMultVtxPos(), FastTimerService.postBeginJob(), TrackListCombiner.produce(), TrackRefitter.produce(), HIPixelTrackFilterProducer.produce(), ReducedESRecHitCollectionProducer.produce(), GenTrackMatcher.produce(), HIProtoTrackFilterProducer.produce(), EcalEBTrigPrimProducer.produce(), ReducedRecHitCollectionProducer.produce(), EcalTrigPrimProducer.produce(), HITrackClusterRemover.produce(), pat::TriggerObjectStandAlone.psetID(), SingleTopTChannelLepton_miniAOD::MonitorEnsemble.selectionPath(), TopSingleLepton_miniAOD::MonitorEnsemble.selectionPath(), HLTOfflineDQMTopSingleLepton::MonitorSingleLepton.selectionPath(), HLTOfflineDQMTopDiLepton::MonitorDiLepton.selectionPath(), TopSingleLepton::MonitorEnsemble.selectionPath(), SingleTopTChannelLepton::MonitorEnsemble.selectionPath(), TopDiLeptonOffline::MonitorEnsemble.selectionPath(), DTLocalTriggerTask.setQLabels(), DTLocalTriggerBaseTask.setQLabels(), DTLocalTriggerTask.setQLabelsTheta(), DTLocalTriggerBaseTask.setQLabelsTheta(), MVAJetTagPlotter.tagInfoRequirements(), TauDQMHistPlotter.TauDQMHistPlotter(), edm::PrincipalGetAdapter.throwAmbiguousException(), edm::EDConsumerBase.updateLookup(), MeasurementTrackerEventProducer.updatePhase2OT(), MeasurementTrackerEventProducer.updatePixels(), MeasurementTrackerEventProducer.updateStrips(), ecaldqm::binning::AxisSpecs.~AxisSpecs(), and DigiBXCorrHistogramMaker< EventWithHistory >.~DigiBXCorrHistogramMaker().
tablePrinter.lumidata |
Definition at line 65 of file tablePrinter.py.
Referenced by L1TriggerJSONMonitoring.globalBeginLuminosityBlockSummary(), and HLTriggerJSONMonitoring.globalBeginLuminosityBlockSummary().
tablePrinter.lumifooter |
Definition at line 74 of file tablePrinter.py.
tablePrinter.lumiheader |
Definition at line 71 of file tablePrinter.py.
Referenced by lumi::Lumi2DB.retrieveData().
tablePrinter.postfix |
Definition at line 63 of file tablePrinter.py.
Referenced by EmDQMPostProcessor.dqmEndJob(), CmsShowSearchFiles.fileEntryChanged(), CondDBESSource.fillTagCollectionFromDB(), CmsShowSearchFiles.hyperlinkClicked(), main(), and TauTagValidation.stripDiscriminatorLabel().
tablePrinter.prefix |
Definition at line 63 of file tablePrinter.py.
Referenced by MuonGeometrySanityCheck.analyze(), PrimaryVertexAnalyzer4PUSlimmed.bookHistograms(), DQMGenericTnPClient.calculateEfficiency(), PrimaryVertexAnalyzer4PUSlimmed.calculatePurityAndFillHistograms(), ChamberLocationSpec.chamberLocationName(), GeneralHLTOffline.dqmBeginRun(), SusyPostProcessor.dqmEndJob(), MonitorElement.Fill(), SiPixelActionExecutor.fillFEDErrorSummary(), PrimaryVertexAnalyzer4PUSlimmed.fillGenAssociatedRecoVertexHistograms(), SiPixelActionExecutor.fillGrandBarrelSummaryHistos(), SiPixelActionExecutor.fillGrandEndcapSummaryHistos(), FastTimerServiceClient.fillPathSummaryPlots(), PrimaryVertexAnalyzer4PUSlimmed.fillResolutionAndPullHistograms(), SiPixelActionExecutor.fillSummary(), CondDBESSource.fillTagCollectionFromDB(), HcalLaserEventFilter.GetCMSSWVersion(), PhysicsTools::Calibration::VarProcessor.getInstanceName(), L1GtPsbSetupConfigOnlineProd.getRequiredValue(), FWTGeoRecoGeometryESProducer.GetTopHolder(), HcalRecHitsDQMClient.HcalRecHitsEndjob(), FillInfo.is25nsBunchSpacing(), cscdqm::Collection.load(), main(), dqm::DQMFileSaverOnline.makeSnapshot(), MuonGeometrySanityCheck.MuonGeometrySanityCheck(), RawFile.open(), FRDStreamSource.openFile(), MonitorElement.packScalarData(), HcalLedAnalysis.ProcessCalibEvent(), CmsShowSearchFiles.sendToWebBrowser(), ElectronDqmAnalyzerBase.setBookPrefix(), ElectronDqmHarvesterBase.setBookPrefix(), PFBlockAlgo.setLinkers(), CommonAnalyzer.setPrefix(), CmsShowSearchFiles.showPrefixes(), and TauTagValidation.stripDiscriminatorLabel().
tablePrinter.rows |
Definition at line 55 of file tablePrinter.py.
Referenced by SiPixelRecHitsValid.fillBarrel(), SiPixelRecHitsValid.fillForward(), SiPixelActionExecutor.fillSummary(), l1t::Parameter.getColumnIndices(), l1t::Parameter.Parameter(), pos::PixelCalibConfiguration.PixelCalibConfiguration(), presort(), presort_egamma(), MuonResidualsFitter.read(), FWTEveViewer.SaveJpg(), FWTEveViewer.SavePng(), SiPixelCalibConfiguration.SiPixelCalibConfiguration(), and MuonResidualsFitter.write().
tablePrinter.separateRows |
Definition at line 63 of file tablePrinter.py.
tablePrinter.True |
Definition at line 63 of file tablePrinter.py.
tablePrinter.width |
Definition at line 60 of file tablePrinter.py.
tablePrinter.wrapfunc |
Definition at line 63 of file tablePrinter.py.
Referenced by dataformats.indent(), and indent().