# here we load the shared library created using the Makefile
from ROOT import gSystem
gSystem.Load("Analysis.so")

# now we can create instance of the class EventLoop
from ROOT import EventLoop
eventLoop = EventLoop()

import sys
fname = sys.argv[1]

# set the attributes. All public attributes are accessible
eventLoop.treeName = "tree"

# The data are stored in multiple files
eventLoop.inputFiles.push_back('SURF_datastore/' + fname)
#eventLoop.inputFiles.push_back('Pre-SURF_datatest/testdata/' + fname)

# initialize and execute the event loop
eventLoop.initialize()
eventLoop.execute()

# here we load the shared library created using the Makefile
from ROOT import gSystem
gSystem.Load("Analysis.so")

# now we can create instance of the class EventLoop
from ROOT import EventLoop
eventLoop = EventLoop()

import sys
fname = sys.argv[1]

# set the attributes. All public attributes are accessible
eventLoop.treeName = "tree"

# The data are stored in multiple files
eventLoop.inputFiles.push_back('SURF_datastore/' + fname)
#eventLoop.inputFiles.push_back('Pre-SURF_datatest/testdata/' + fname)

# initialize and execute the event loop
eventLoop.initialize()
eventLoop.execute()

# here we load the shared library created using the Makefile # now we can create instance of the class EventLoop # set the attributes. All public attributes are accessible # The data are stored in multiple files #eventLoop.inputFiles.push_back('Pre-SURF_datatest/testdata/' + fname) # initialize and execute the event loop