Functions | |
def | compare (tag1, db1, since1, tag2, db2, since2, filename='compare.root') |
def | compareBarrel (coeff_barl_1, coeff_barl_2) |
def | compareBarrelBorder (coeff_barl_1, coeff_barl_2) |
def | compareEndcap (coeff_endc_1, coeff_endc_2) |
def | compareEndcapBorder (coeff_endc_1, coeff_endc_2) |
def | dumpXML (db, tag, since, filename='dump.xml') |
def | getObject (db, tag, since) |
def | getToken (db, tag, since) |
def | histo (db, tag, since, filename='histo.root') |
def | listIovs (db, tag) |
def | listTags (db) |
def | makedist (coeff_barl, coeff_endc) |
def | plot (db, tag, since, filename='plot.root') |
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 90 of file EcalCondTools.py.
References compareBarrel(), compareBarrelBorder(), compareEndcap(), compareEndcapBorder(), EcalPyUtils.fromXML(), edm.print(), and str.
Referenced by plot(), and EcalCondDB.usage().
def EcalCondTools.compareBarrel | ( | coeff_barl_1, | |
coeff_barl_2 | |||
) |
Return an histogram and a map of the differences
Definition at line 428 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 453 of file EcalCondTools.py.
References funct.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 474 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 510 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 43 of file EcalCondTools.py.
References edm.print(), and str.
Referenced by EcalFloatCondObjectContainerXMLTranslator.dumpXML(), EcalCondDB.usage(), EcalTPGCrystalStatusXMLTranslator.writeXML(), EcalTPGLinearizationConstXMLTranslator.writeXML(), ESGainXMLTranslator.writeXML(), EcalTimeBiasCorrectionsXMLTranslator.writeXML(), EcalClusterLocalContCorrXMLTranslator.writeXML(), EcalTPGStripStatusXMLTranslator.writeXML(), EcalTPGTowerStatusXMLTranslator.writeXML(), EcalAlignmentXMLTranslator.writeXML(), EcalDAQTowerStatusXMLTranslator.writeXML(), EcalPedestalsXMLTranslator.writeXML(), EcalPulseShapesXMLTranslator.writeXML(), EcalPulseSymmCovariancesXMLTranslator.writeXML(), EcalDCSTowerStatusXMLTranslator.writeXML(), EcalChannelStatusXMLTranslator.writeXML(), EcalClusterCrackCorrXMLTranslator.writeXML(), EcalLaserAPDPNRatiosXMLTranslator.writeXML(), EcalLinearCorrectionsXMLTranslator.writeXML(), EcalGainRatiosXMLTranslator.writeXML(), EcalClusterEnergyCorrectionXMLTranslator.writeXML(), EcalWeightGroupXMLTranslator.writeXML(), EcalClusterEnergyCorrectionObjectSpecificXMLTranslator.writeXML(), EcalTimeOffsetXMLTranslator.writeXML(), EcalTBWeightsXMLTranslator.writeXML(), EcalADCToGeVXMLTranslator.writeXML(), EcalWeightSetXMLTranslator.writeXML(), and EcalFloatCondObjectContainerXMLTranslator.writeXML().
def EcalCondTools.getObject | ( | db, | |
tag, | |||
since | |||
) |
Return payload object for a given iov, tag, db
Definition at line 349 of file EcalCondTools.py.
References edm.print(), and str.
def EcalCondTools.getToken | ( | db, | |
tag, | |||
since | |||
) |
Return payload token for a given iov, tag, db
Definition at line 333 of file EcalCondTools.py.
References edm.print(), and str.
Referenced by edm::EventProcessor.processConfiguration().
def EcalCondTools.histo | ( | db, | |
tag, | |||
since, | |||
filename = 'histo.root' |
|||
) |
Make histograms and save to file. tag can be an xml file
Definition at line 236 of file EcalCondTools.py.
References EcalPyUtils.fromXML(), makedist(), edm.print(), and str.
Referenced by EcalCondDB.usage().
def EcalCondTools.listIovs | ( | db, | |
tag | |||
) |
List all available iovs for a given tag
Definition at line 30 of file EcalCondTools.py.
References edm.print().
Referenced by EcalCondDB.usage().
def EcalCondTools.listTags | ( | db | ) |
List all available tags for a given db
Definition at line 19 of file EcalCondTools.py.
References edm.print().
Referenced by EcalCondDB.usage().
def EcalCondTools.makedist | ( | coeff_barl, | |
coeff_endc | |||
) |
Definition at line 376 of file EcalCondTools.py.
References funct.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 65 of file EcalCondTools.py.
References compare(), edm.print(), and str.
Referenced by EcalCondDB.usage().