Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:11

0001 #! /usr/bin/env python3
0002 import ROOT
0003 from DataFormats.FWLite import Events, Handle
0004 
0005 events = Events (['good_a.root'])
0006 
0007 handleGP  = Handle ("edmtest::Thing")
0008 labelGP = ("Thing")
0009 
0010 for event in events:
0011     if event.getByLabel (labelGP, handleGP) :
0012         prod = handleGP.product()