Esempio n. 1
0
    "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",
                             delphesMETArrayName="MissingET/momentum",
                             delphesSHTArrayName="ScalarHT/energy")
apply_paths(metSaveTool, out_names["met"])

## Pythia generator
from Configurables import PythiaInterface

pythia8gen = PythiaInterface(Filename=pythiaConfFile,
                             OutputLevel=messageLevelPythia)
Esempio n. 2
0
#
# 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")
apply_paths(metSaveTool, out_names["met"])

#### Pythia generator