Ejemplo n.º 1
0
    # Missing transverse energy output tool
    "met": {
        "missingEt": "met"
    }
}

## Data event model based on Podio
podioEvent = FCCDataSvc("EventDataSvc")

############################################################
#
# Expert: Configure individual modules (algorithms)
#
############################################################
# Define all output tools that convert the Delphes collections to FCC-EDM:
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",
Ejemplo n.º 2
0
    "propagatedGenJetsPileUp": {"genJets": "propagatedGenJetsPileUp", "genJetsFlavorTagged": "propagatedGenJetsPileUpFlavor"},
    # Missing transverse energy output tool
    "met": {"missingEt": "genMET"}
    }

## Data event model based on Podio
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")
Ejemplo n.º 3
0
pythia8gen.hepmc.Path = "hepmc"
ApplicationMgr().TopAlg += [pythia8gen]

### Reads an HepMC::GenEvent from the data service and writes a collection of EDM Particles
from Configurables import HepMCToEDMConverter
hepmc_converter = HepMCToEDMConverter("Converter")
hepmc_converter.hepmc.Path = "hepmc"
hepmc_converter.genparticles.Path = "genParticles"
hepmc_converter.genvertices.Path = "genVertices"
ApplicationMgr().TopAlg += [hepmc_converter]

# Define all output tools that convert the Delphes collections to FCC-EDM:

from Configurables import DelphesSaveChargedParticles

muonSaveTool = DelphesSaveChargedParticles("muons")
muonSaveTool.delphesArrayName = "MuonMomentumSmearing/muons"
muonSaveTool.particles.Path      = "muons"
muonSaveTool.mcAssociations.Path = "muonsToMC"
muonSaveTool.isolationTags.Path  = "muonITags"

eleSaveTool = DelphesSaveChargedParticles("electrons")
eleSaveTool.delphesArrayName = "ElectronFilter/electrons"
eleSaveTool.particles.Path      = "electrons"
eleSaveTool.mcAssociations.Path = "electronsToMC"
eleSaveTool.isolationTags.Path  = "electronITags"

chhadSaveTool = DelphesSaveChargedParticles("pfcharged")
chhadSaveTool.delphesArrayName = "ChargedHadronFilter/chargedHadrons"
chhadSaveTool.saveIsolation = False
chhadSaveTool.particles.Path      = "pfcharged"
Ejemplo n.º 4
0
    #            },
    # Missing transverse energy output tool
    #"met": {"missingEt": "met"}
}

## Data event model based on Podio
podioEvent = FCCDataSvc("EventDataSvc")

############################################################
#
# 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")
pythia8gen.hepmc.Path = "hepmc"
ApplicationMgr().TopAlg += [pythia8gen]

### Reads an HepMC::GenEvent from the data service and writes a collection of EDM Particles
from Configurables import HepMCToEDMConverter
hepmc_converter = HepMCToEDMConverter("Converter")
hepmc_converter.hepmc.Path = "hepmc"
hepmc_converter.genparticles.Path = "genParticles"
hepmc_converter.genvertices.Path = "genVertices"
ApplicationMgr().TopAlg += [hepmc_converter]

# Define all output tools that convert the Delphes collections to FCC-EDM:

from Configurables import DelphesSaveChargedParticles

muonSaveTool = DelphesSaveChargedParticles("muons")
muonSaveTool.delphesArrayName = "MuonFilter/muons"
muonSaveTool.particles.Path = "muons"
muonSaveTool.particles_trkCov.Path = "muons_trkCov"
muonSaveTool.mcAssociations.Path = "muonsToMC"
muonSaveTool.isolationTags.Path = "muonITags"
muonSaveTool.saveTrkCov = True

eleSaveTool = DelphesSaveChargedParticles("electrons")
eleSaveTool.delphesArrayName = "ElectronFilter/electrons"
eleSaveTool.particles.Path = "electrons"
eleSaveTool.particles_trkCov.Path = "electrons_trkCov"
eleSaveTool.mcAssociations.Path = "electronsToMC"
eleSaveTool.isolationTags.Path = "electronITags"
eleSaveTool.saveTrkCov = True