Skip to content
Snippets Groups Projects
Commit b500b02e authored by Charles Burton's avatar Charles Burton
Browse files

Add code test for TEfficiency

parent 3df0f1a2
No related branches found
No related tags found
9 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!28528Revert 63f845ae,!27054Atr20369 210,!26342Monopole: Handle fractionally charged particles,!21780Support TEfficiency in AthenaMonitoring
......@@ -35,5 +35,9 @@ class Test( unittest.TestCase ):
with self.assertRaises(AssertionError):
defineHistogram('var', 'TH1F', path='EXPERT', labels='l1:l2')
def test_efficiency( self ):
s = defineHistogram('var', 'TEfficiency', 'EXPERT', 'title', 10, 0.0, 10.0)
self.assertEqual(s, 'EXPERT, TEfficiency, var, title, 10, 0.000000, 10.000000')
if __name__ == '__main__':
unittest.main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment