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) ## Write the HepMC::GenEvent to the data service pythia8gen.DataOutputs.hepmc.Path = "hepmc" ## Delphes simulator -> define objects to be written out from Configurables import DelphesSimulation delphessim = DelphesSimulation(DelphesCard=delphesCard, ROOTOutputFile=delphesRootOutFile,
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 from Configurables import PythiaInterface from Configurables import PoissonPileUp from Configurables import HepMCFullMerge from Configurables import GaussSmearVertex from FCCPileupScenarios import FCCPhase1PileupConf as pileupconf pythia8gentool = PythiaInterface(Filename=pythiaConfFile, OutputLevel=messageLevelPythia) ## Write the HepMC::GenEvent to the data service from Configurables import GenAlg pythia8gen = GenAlg("Pythia8", SignalProvider=pythia8gentool) pythia8gen.hepmc.Path = "hepmc"