########################################################################## # Make the protons # Hlt2NoCutsProtons = Hlt2NoCutsPions.clone("Hlt2NoCutsProtons") Hlt2NoCutsProtons.Output = 'Hlt2/Hlt2NoCutsProtons/Particles' Hlt2NoCutsProtons.Particle = "proton" ########################################################################## # Make the Muons # Hlt2Muons = CombinedParticleMaker("Hlt2Muons") Hlt2Muons.Particle = "muon" Hlt2Muons.addTool(ProtoParticleMUONFilter('Muon')) Hlt2Muons.Muon.Selection = ["RequiresDet='MUON' IsMuon=True"] Hlt2Muons.Input = muonProtos.outputSelection() Hlt2Muons.Output = 'Htl2/Hlt2Muons/Particles' Hlt2Muons.WriteP2PVRelations = False ########################################################################## # Make the electrons # Hlt2Electrons = CombinedParticleMaker("Hlt2Electrons") Hlt2Electrons.Particle = "electron" Hlt2Electrons.Input = caloProtos.outputSelection() Hlt2Electrons.Output = 'Hlt2/Hlt2Electrons/Particles' Hlt2Electrons.addTool(ProtoParticleCALOFilter('Electron')) Hlt2Electrons.Electron.Selection = ["RequiresDet='CALO' CombDLL(e-pi)>'-2.0'"] Hlt2Electrons.WriteP2PVRelations = False ########################################################################## # Make the photons # Hlt2Photons = PhotonMakerAlg("Hlt2Photons") Hlt2Photons.addTool(PhotonMaker)
# Charged protoparticles -> pulls all the pid # caloProtos = Hlt2BiKalmanFittedForwardTracking.hlt2ChargedCaloProtos() muonWithCaloProtos = Hlt2BiKalmanFittedForwardTracking.hlt2ChargedMuonWithCaloProtos( ) muonTTProtos = Hlt2MuonTTTracking.hlt2ProbeMuonProtos() velomuonProtos = Hlt2VeloMuonTracking.hlt2ProbeMuonProtos() fulldownProtos = Hlt2FullDownstreamTracking.hlt2ProbeMuonProtos() ########################################################################## # Make the pions # Hlt2TagAndProbePions = CombinedParticleMaker("Hlt2TagAndProbePions") Hlt2TagAndProbePions.Input = caloProtos.outputSelection() Hlt2TagAndProbePions.Output = 'Hlt2/Hlt2TagAndProbePions/Particles' Hlt2TagAndProbePions.Particle = "pion" Hlt2TagAndProbePions.WriteP2PVRelations = False ########################################################################## # Make the Muons # Hlt2TagAndProbeMuons = CombinedParticleMaker("Hlt2TagAndProbeMuons") Hlt2TagAndProbeMuons.Particle = "muon" Hlt2TagAndProbeMuons.addTool(ProtoParticleMUONFilter('Muon')) Hlt2TagAndProbeMuons.Muon.Selection = ["RequiresDet='MUON' IsMuon=True"] Hlt2TagAndProbeMuons.Input = muonWithCaloProtos.outputSelection() Hlt2TagAndProbeMuons.Output = 'Hlt2/Hlt2TagAndProbeMuons/Particles' Hlt2TagAndProbeMuons.WriteP2PVRelations = False ########################################################################## # # No PID muon particles, for association with probe track # ##########################################################################