def EcalCondTools.compare | ( | tag1, | |
db1, | |||
since1, | |||
tag2, | |||
db2, | |||
since2, | |||
filename = 'compare.root' |
|||
) |
Produce comparison plots for two records. Save plots to file \ according to format. tag can be an xml file
Definition at line 65 of file EcalCondTools.py.
References compareBarrel(), compareBarrelBorder(), compareEndcap(), compareEndcapBorder(), EcalPyUtils.fromXML(), and getObject().
Referenced by TTUTrackingAlg.alignTracks(), muonisolation::CaloExtractorByAssociator.deposits(), and plot().
def EcalCondTools.compareBarrel | ( | coeff_barl_1, | |
coeff_barl_2 | |||
) |
Return an histogram and a map of the differences
Definition at line 365 of file EcalCondTools.py.
References EcalPyUtils.unhashEBIndex().
Referenced by compare().
def EcalCondTools.compareBarrelBorder | ( | coeff_barl_1, | |
coeff_barl_2 | |||
) |
Return an histogram and a map of the differences
Definition at line 390 of file EcalCondTools.py.
References abs, and EcalPyUtils.unhashEBIndex().
Referenced by compare().
def EcalCondTools.compareEndcap | ( | coeff_endc_1, | |
coeff_endc_2 | |||
) |
Return an histogram and a map of the differences for each endcap
Definition at line 411 of file EcalCondTools.py.
References mathSSE.sqrt(), and EcalPyUtils.unhashEEIndex().
Referenced by compare().
def EcalCondTools.compareEndcapBorder | ( | coeff_endc_1, | |
coeff_endc_2 | |||
) |
Return an histogram and a map of the differences for each endcap
Definition at line 447 of file EcalCondTools.py.
References EcalPyUtils.unhashEEIndex().
Referenced by compare().
def EcalCondTools.dumpXML | ( | db, | |
tag, | |||
since, | |||
filename = 'dump.xml' |
|||
) |
Dump record in XML format for a given tag
Definition at line 37 of file EcalCondTools.py.
References getToken().
Referenced by EcalAlignmentXMLTranslator.writeXML(), EcalTBWeightsXMLTranslator.writeXML(), EcalPedestalsXMLTranslator.writeXML(), EcalDAQTowerStatusXMLTranslator.writeXML(), EcalDCSTowerStatusXMLTranslator.writeXML(), EcalADCToGeVXMLTranslator.writeXML(), EcalLaserAPDPNRatiosXMLTranslator.writeXML(), EcalChannelStatusXMLTranslator.writeXML(), EcalGainRatiosXMLTranslator.writeXML(), EcalFloatCondObjectContainerXMLTranslator.writeXML(), EcalWeightGroupXMLTranslator.writeXML(), and EcalWeightSetXMLTranslator.writeXML().
def EcalCondTools.getObject | ( | db, | |
tag, | |||
since | |||
) |
Return payload object for a given iov, tag, db
Definition at line 295 of file EcalCondTools.py.
Referenced by compare(), and histo().
def EcalCondTools.getToken | ( | db, | |
tag, | |||
since | |||
) |
Return payload token for a given iov, tag, db
Definition at line 279 of file EcalCondTools.py.
Referenced by dumpXML(), and plot().
def EcalCondTools.histo | ( | db, | |
tag, | |||
since, | |||
filename = 'histo.root' |
|||
) |
Make histograms and save to file. tag can be an xml file
Definition at line 188 of file EcalCondTools.py.
References EcalPyUtils.fromXML(), getObject(), and makedist().
def EcalCondTools.listIovs | ( | db, | |
tag | |||
) |
def EcalCondTools.listTags | ( | db | ) |
def EcalCondTools.makedist | ( | coeff_barl, | |
coeff_endc | |||
) |
Definition at line 313 of file EcalCondTools.py.
References abs, mathSSE.sqrt(), EcalPyUtils.unhashEBIndex(), and EcalPyUtils.unhashEEIndex().
Referenced by histo().
def EcalCondTools.plot | ( | db, | |
tag, | |||
since, | |||
filename = 'plot.root' |
|||
) |
Invoke the plot function from the wrapper and save to the specified \ file. The file format will reflect the extension given.
Definition at line 49 of file EcalCondTools.py.
References compare(), and getToken().
Referenced by TaggingVariablePlotter.analyzeTag(), DQMHistPlotter.DQMHistPlotter(), SiPixelHistoricInfoReader.endJob(), DQMHistEffProducer.endJob(), DQMHistPlotter.endJob(), DTNoiseAnalysisTest.endLuminosityBlock(), HLTTauDQMSource.endLuminosityBlock(), FlavourHistograms< T >.epsPlot(), SummaryPlotXmlParser.parseXML(), DQMHistPlotter::cfgEntryDrawJob.print(), runInspector(), and TaggingVariablePlotter::VariableConfig.VariableConfig().