if options.data: importOptions(options.data) ## Moore settings app = LHCbApp() app.EvtMax = options.nevents app.CondDBtag = 'sim-20131023-vc-md100' app.DDDBtag = 'dddb-20130929-1' app.DataType = '2015' app.Simulation = True ApplicationMgr().HistogramPersistency = "ROOT" PhysConf(EnableUnpack = ["Reconstruction", "Stripping"]) DstConf(EnableUnpack = ["Reconstruction", "Stripping"]) if app.getProp('Simulation'): from Configurables import SimConf SimConf(EnableUnpack = True, EnablePack = False) EventSelector().PrintFreq = 100 eos_dir = '/eos/lhcb/grid/prod/lhcb/MC/Dev/XDST/00034704/0000' p = subprocess.Popen(['/afs/cern.ch/project/eos/installation/0.3.15/bin/eos.select', 'ls', eos_dir], stdout = subprocess.PIPE, stderr = subprocess.STDOUT) o, e = p.communicate() input_files = sorted(['root://eoslhcb.cern.ch/' + os.path.join(eos_dir, f.strip()) for f in o.split()]) seq = GaudiSequencer( "TopSequence" ) from Configurables import ( DecodeVeloRawBuffer, RawBankToSTLiteClusterAlg, FastVeloTracking, L0Conf,