Functions | |
def | compare |
def | compareBarrel |
def | compareBarrelBorder |
def | compareEndcap |
def | compareEndcapBorder |
def | dumpXML |
def | getObject |
def | getToken |
def | histo |
def | listIovs |
def | listTags |
def | makedist |
def | plot |
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().
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(), EcalTPGCrystalStatusXMLTranslator.writeXML(), EcalTPGLinearizationConstXMLTranslator.writeXML(), EcalTimeBiasCorrectionsXMLTranslator.writeXML(), EcalClusterLocalContCorrXMLTranslator.writeXML(), EcalTPGStripStatusXMLTranslator.writeXML(), EcalTPGTowerStatusXMLTranslator.writeXML(), ESGainXMLTranslator.writeXML(), EcalPulseShapesXMLTranslator.writeXML(), EcalPulseSymmCovariancesXMLTranslator.writeXML(), EcalDCSTowerStatusXMLTranslator.writeXML(), EcalDAQTowerStatusXMLTranslator.writeXML(), EcalPedestalsXMLTranslator.writeXML(), EcalChannelStatusXMLTranslator.writeXML(), EcalLinearCorrectionsXMLTranslator.writeXML(), EcalClusterCrackCorrXMLTranslator.writeXML(), EcalLaserAPDPNRatiosXMLTranslator.writeXML(), EcalGainRatiosXMLTranslator.writeXML(), EcalAlignmentXMLTranslator.writeXML(), EcalWeightGroupXMLTranslator.writeXML(), EcalClusterEnergyCorrectionXMLTranslator.writeXML(), EcalClusterEnergyCorrectionObjectSpecificXMLTranslator.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.
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.
def EcalCondTools.listIovs | ( | db, | |
tag | |||
) |
List all available iovs for a given tag
Definition at line 31 of file EcalCondTools.py.
References print().
def EcalCondTools.listTags | ( | db | ) |
List all available tags for a given db
Definition at line 20 of file EcalCondTools.py.
References print().
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.