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 89 of file EcalCondTools.py.
References compareBarrel(), compareBarrelBorder(), compareEndcap(), compareEndcapBorder(), EcalPyUtils.fromXML(), and harvestTrackValidationPlots.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 427 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 452 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 473 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 509 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 42 of file EcalCondTools.py.
References harvestTrackValidationPlots.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 348 of file EcalCondTools.py.
References harvestTrackValidationPlots.str.
def EcalCondTools.getToken | ( | db, | |
tag, | |||
since | |||
) |
Return payload token for a given iov, tag, db
Definition at line 332 of file EcalCondTools.py.
References harvestTrackValidationPlots.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 235 of file EcalCondTools.py.
References EcalPyUtils.fromXML(), makedist(), and harvestTrackValidationPlots.str.
Referenced by EcalCondDB.usage().
def EcalCondTools.listIovs | ( | db, | |
tag | |||
) |
List all available iovs for a given tag
Definition at line 29 of file EcalCondTools.py.
Referenced by EcalCondDB.usage().
def EcalCondTools.listTags | ( | db | ) |
List all available tags for a given db
Definition at line 18 of file EcalCondTools.py.
Referenced by EcalCondDB.usage().
def EcalCondTools.makedist | ( | coeff_barl, | |
coeff_endc | |||
) |
Definition at line 375 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 64 of file EcalCondTools.py.
References compare(), and harvestTrackValidationPlots.str.
Referenced by EcalCondDB.usage().