Last active
October 23, 2019 14:49
-
-
Save nsahoo/58c4e8d86868d83f5bbca14c9d53f383 to your computer and use it in GitHub Desktop.
first_ganga_job
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
j = Job(name='First Ganga job') | |
myApp = GaudiExec() | |
myApp.directory = "./DaVinciDev_v45r1" | |
j.application = myApp | |
j.application.options = ['ntuple_options.py'] | |
j.application.platform = 'x86_64-centos7-gcc8-opt' | |
bkPath = '/MC/2016/Beam6500GeV-2016-MagDown-Nu1.6-25ns-Pythia8/Sim09c/Trig0x6138160F/Reco16/Turbo03/Stripping28r1NoPrescalingFlagged/27163002/ALLSTREAMS.DST' | |
data = BKQuery(bkPath, dqflag=['OK']).getDataset() | |
j.inputdata = data[0:2] | |
j.backend = Dirac() | |
j.splitter = SplitByFiles(filesPerJob=1) | |
j.outputfiles = [LocalFile('DVntuple.root')] | |
j.submit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment