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 91 of file EcalCondTools.py.
References compareBarrel(), compareBarrelBorder(), compareEndcap(), compareEndcapBorder(), EcalPyUtils.fromXML(), 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 429 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 454 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 475 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 511 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 44 of file EcalCondTools.py.
Referenced by EcalFloatCondObjectContainerXMLTranslator.dumpXML(), EcalCondDB.usage(), EcalTPGCrystalStatusXMLTranslator.writeXML(), EcalTPGLinearizationConstXMLTranslator.writeXML(), EcalTimeBiasCorrectionsXMLTranslator.writeXML(), EcalClusterLocalContCorrXMLTranslator.writeXML(), EcalTPGStripStatusXMLTranslator.writeXML(), EcalTPGTowerStatusXMLTranslator.writeXML(), ESGainXMLTranslator.writeXML(), EcalDAQTowerStatusXMLTranslator.writeXML(), EcalPedestalsXMLTranslator.writeXML(), EcalPulseShapesXMLTranslator.writeXML(), EcalPulseSymmCovariancesXMLTranslator.writeXML(), EcalDCSTowerStatusXMLTranslator.writeXML(), EcalLinearCorrectionsXMLTranslator.writeXML(), EcalChannelStatusXMLTranslator.writeXML(), EcalClusterCrackCorrXMLTranslator.writeXML(), EcalGainRatiosXMLTranslator.writeXML(), EcalAlignmentXMLTranslator.writeXML(), EcalLaserAPDPNRatiosXMLTranslator.writeXML(), EcalClusterEnergyCorrectionObjectSpecificXMLTranslator.writeXML(), EcalWeightGroupXMLTranslator.writeXML(), EcalClusterEnergyCorrectionXMLTranslator.writeXML(), EcalADCToGeVXMLTranslator.writeXML(), EcalTimeOffsetXMLTranslator.writeXML(), EcalTBWeightsXMLTranslator.writeXML(), EcalWeightSetXMLTranslator.writeXML(), and EcalFloatCondObjectContainerXMLTranslator.writeXML().
def EcalCondTools.getObject | ( | db, | |
tag, | |||
since | |||
) |
Return payload object for a given iov, tag, db
Definition at line 350 of file EcalCondTools.py.
def EcalCondTools.getToken | ( | db, | |
tag, | |||
since | |||
) |
Return payload token for a given iov, tag, db
Definition at line 334 of file EcalCondTools.py.
Referenced by uploadConditions.ConditionsUploader.signIn().
def EcalCondTools.histo | ( | db, | |
tag, | |||
since, | |||
filename = 'histo.root' |
|||
) |
Make histograms and save to file. tag can be an xml file
Definition at line 237 of file EcalCondTools.py.
References EcalPyUtils.fromXML(), makedist(), print(), and str.
Referenced by EcalCondDB.usage().
def EcalCondTools.listIovs | ( | db, | |
tag | |||
) |
List all available iovs for a given tag
Definition at line 31 of file EcalCondTools.py.
References print().
Referenced by EcalCondDB.usage().
def EcalCondTools.listTags | ( | db | ) |
List all available tags for a given db
Definition at line 20 of file EcalCondTools.py.
References print().
Referenced by EcalCondDB.usage().
def EcalCondTools.makedist | ( | coeff_barl, | |
coeff_endc | |||
) |
Definition at line 377 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 66 of file EcalCondTools.py.
References compare(), print(), and str.
Referenced by EcalCondDB.usage().