Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-09-28 07:02:38

0001 #!/usr/bin/env python
0002 # dump simulation output TBranch names, together with their PODIO data type
0003 
0004 import sys, ROOT
0005 infile_name = 'out/sim.edm4hep.root' if len(sys.argv)<=1 else sys.argv[1]
0006 infile = ROOT.TFile(infile_name)
0007 tr = infile.Get("metadata")
0008 tr.SetScanField(0)
0009 tr.Scan("*","","colsize=30")