from StandardParticles import StdAllNoPIDsMuons as loosemuons from PhysSelPython.Wrappers import SimpleSelection, MergedSelection, DataOnDemand, Selection from GaudiConfUtils.ConfigurableGenerators import FilterDesktop, CombineParticles from commonSelections import * from PhysSelPython.Wrappers import SelectionSequence Z_seq = SelectionSequence('Z_Seq', TopSelection=Zs) # Create the generated jets. from Configurables import McParticleFlow, McJetBuilder genPF = McParticleFlow('genPF') genPF.Inputs = [ ['PID', 'ban', '12,-12,14,-14,16,-16'], ['PID', 'particle', '321,211,130,3222,310,3122,3112,3312,3322,' '-321,-211,-130,-3222,-310,-3122,-3112,-3312,-3322'], ['MCParticle', 'daughters', 'MC/Particles'] ] genPF.Output = 'Phys/PF/MCParticles' genJB = McJetBuilder('genJB') genJB.JetPtMin = JetPtMin genJB.JetR = 0.5 genJB.ChrVrt = True genJB.NeuVrt = True genJB.Inputs = [genPF.Output] genJB.Output = 'Phys/JB/MCParticles'
m4_ifdef(`TEST', from GaudiConf import IOHelper) m4_ifdef(`TEST', IOHelper('ROOT').inputFiles(['/data/zjet/00103400_00000032_1.ew.dst'],clear = True)) from StandardParticles import StdAllNoPIDsMuons as loosemuons from PhysSelPython.Wrappers import SimpleSelection, MergedSelection, DataOnDemand, Selection from GaudiConfUtils.ConfigurableGenerators import FilterDesktop, CombineParticles from commonSelections import * from PhysSelPython.Wrappers import SelectionSequence Z_seq = SelectionSequence('Z_Seq', TopSelection=Zs) # Create the generated jets. from Configurables import McParticleFlow, McJetBuilder genPF = McParticleFlow('genPF') genPF.Inputs = [ ['PID', 'ban', '12,-12,14,-14,16,-16'], ['PID', 'particle', '321,211,130,3222,310,3122,3112,3312,3322,' '-321,-211,-130,-3222,-310,-3122,-3112,-3312,-3322'], ['MCParticle', 'daughters', 'MC/Particles'] ] genPF.Output = 'Phys/PF/MCParticles' genJB = McJetBuilder('genJB') genJB.JetPtMin = JetPtMin genJB.JetR = 0.5 genJB.ChrVrt = True genJB.NeuVrt = True genJB.Inputs = [genPF.Output] genJB.Output = 'Phys/JB/MCParticles'