示例#1
0
muonSaveTool = DelphesSaveChargedParticles(
    "muons", delphesArrayName="MuonIsolation/muons")
apply_paths(muonSaveTool, out_names["muons"])

eleSaveTool = DelphesSaveChargedParticles(
    "electrons", delphesArrayName="ElectronIsolation/electrons")
apply_paths(eleSaveTool, out_names["electrons"])

chhadSaveTool = DelphesSaveChargedParticles(
    "charged",
    delphesArrayName="ChargedHadronMomentumSmearing/chargedHadrons",
    saveIsolation=False)
apply_paths(chhadSaveTool, out_names["charged"])

neuthadSaveTool = DelphesSaveNeutralParticles(
    "neutral",
    delphesArrayName="HCal/eflowNeutralHadrons",
    saveIsolation=False)
apply_paths(neuthadSaveTool, out_names["neutral"])

photonsSaveTool = DelphesSaveNeutralParticles(
    "photons", delphesArrayName="PhotonIsolation/photons")
apply_paths(photonsSaveTool, out_names["photons"])

genJetSaveTool = DelphesSaveGenJets("genJets",
                                    delphesArrayName="GenJetFinder/jets")
apply_paths(genJetSaveTool, out_names["genJets"])

jetSaveTool = DelphesSaveJets("jets", delphesArrayName="JetEnergyScale/jets")
apply_paths(jetSaveTool, out_names["jets"])

metSaveTool = DelphesSaveMet("met",
示例#2
0
podioEvent=FCCDataSvc("EventDataSvc")

############################################################
#
# Expert: Configure individual modules (algorithms)
#
############################################################
# Define all output tools that convert the Delphes collections to FCC-EDM:

muonSaveTool = DelphesSaveChargedParticles("genMuons", delphesArrayName="GenMuonFilter/muons")
apply_paths(muonSaveTool, out_names["muons"])

eleSaveTool = DelphesSaveChargedParticles("genElectrons", delphesArrayName="GenElectronFilter/electrons")
apply_paths(eleSaveTool, out_names["electrons"])

photonsSaveTool = DelphesSaveNeutralParticles("genPhotons", delphesArrayName="GenPhotonFilter/photons")
apply_paths(photonsSaveTool, out_names["photons"])

nonPropagatedGenJetSaveTool = DelphesSaveGenJets("nonPropagatedGenJets", delphesArrayName="NonPropagatedGenJetFinder/jets")
apply_paths(nonPropagatedGenJetSaveTool, out_names["nonPropagatedGenJets"])

propagatedGenJetSaveTool = DelphesSaveGenJets("propagatedGenJets", delphesArrayName="PropagatedGenJetFinder/jets")
apply_paths(propagatedGenJetSaveTool, out_names["propagatedGenJets"])

nonPropagatedGenJetSaveToolPileUp = DelphesSaveGenJets("nonPropagatedGenJetsPileUp", delphesArrayName="NonPropagatedGenJetFinderPileUp/jets")
apply_paths(nonPropagatedGenJetSaveToolPileUp, out_names["nonPropagatedGenJetsPileUp"])

propagatedGenJetSaveToolPileUp = DelphesSaveGenJets("propagatedGenJetsPileUp", delphesArrayName="PropagatedGenJetFinderPileUp/jets")
apply_paths(propagatedGenJetSaveToolPileUp, out_names["propagatedGenJetsPileUp"])

metSaveTool = DelphesSaveMet("genMET", delphesMETArrayName="GenMissingET/momentum", delphesSHTArrayName="GenScalarHT/energy")
#
# Expert: Configure individual modules (algorithms)
#
############################################################
# Define all output tools that convert the Delphes collections to FCC-EDM:

muonSaveTool = DelphesSaveChargedParticles("muons", delphesArrayName="MuonMomentumSmearing/muons")
apply_paths(muonSaveTool, out_names["muons"])

eleSaveTool = DelphesSaveChargedParticles("electrons", delphesArrayName="ElectronFilter/electrons")
apply_paths(eleSaveTool, out_names["electrons"])

chhadSaveTool = DelphesSaveChargedParticles("pfcharged", delphesArrayName="ChargedHadronFilter/chargedHadrons", saveIsolation=False)
apply_paths(chhadSaveTool, out_names["pfcharged"])

neuthadSaveTool = DelphesSaveNeutralParticles("pfneutrals", delphesArrayName="HCal/eflowNeutralHadrons", saveIsolation=False)
apply_paths(neuthadSaveTool, out_names["pfneutrals"])

pfphotonsSaveTool = DelphesSaveNeutralParticles("pfphotons", delphesArrayName="ECal/eflowPhotons", saveIsolation=False)
apply_paths(pfphotonsSaveTool, out_names["pfphotons"])

photonsSaveTool = DelphesSaveNeutralParticles("photons", delphesArrayName="PhotonEfficiency/photons")
apply_paths(photonsSaveTool, out_names["photons"])

genJetSaveTool = DelphesSaveGenJets("genJets", delphesArrayName="GenJetFinder/jets")
apply_paths(genJetSaveTool, out_names["genJets"])

jetSaveTool = DelphesSaveJets("jets", delphesArrayName="JetEnergyScale/jets")
apply_paths(jetSaveTool, out_names["jets"])

fatjetSaveTool = DelphesSaveJets("fatjets", delphesArrayName="FatJetFinder/jets", saveSubstructure=True)
示例#4
0
eleSaveTool.delphesArrayName = "ElectronFilter/electrons"
eleSaveTool.particles.Path      = "electrons"
eleSaveTool.mcAssociations.Path = "electronsToMC"
eleSaveTool.isolationTags.Path  = "electronITags"

chhadSaveTool = DelphesSaveChargedParticles("efcharged")
chhadSaveTool.delphesArrayName = "Calorimeter/eflowTracks"
chhadSaveTool.saveIsolation = False
chhadSaveTool.particles.Path      = "efcharged"
chhadSaveTool.mcAssociations.Path = "efchargedToMC"


from Configurables import DelphesSaveNeutralParticles

# Particle-Flow Photons output tool
pfphotonsSaveTool = DelphesSaveNeutralParticles("efphotons")
pfphotonsSaveTool.delphesArrayName="Calorimeter/eflowPhotons"
pfphotonsSaveTool.saveIsolation=False
pfphotonsSaveTool.particles.Path      = "efphotons"
pfphotonsSaveTool.mcAssociations.Path = "efphotonsToMC"
pfphotonsSaveTool.isolationTags.Path  = "efphotonITags"

# Photons output tool
photonsSaveTool = DelphesSaveNeutralParticles("photons")
photonsSaveTool.delphesArrayName = "PhotonEfficiency/photons"
photonsSaveTool.particles.Path      = "photons"
photonsSaveTool.mcAssociations.Path = "photonsToMC"
photonsSaveTool.isolationTags.Path  = "photonITags"

# Particle-Flow Neutral Hadrons output tool
neuthadSaveTool = DelphesSaveNeutralParticles("efneutrals")