|
ATLAS Offline Software
|
◆ PFCfg()
def PFRun3Config.PFCfg |
( |
|
inputFlags, |
|
|
** |
kwargs |
|
) |
| |
Definition at line 61 of file PFRun3Config.py.
61 def PFCfg(inputFlags,**kwargs):
66 PFLeptonSelectorFactory=CompFactory.PFLeptonSelector
67 PFLeptonSelector = PFLeptonSelectorFactory(
"PFLeptonSelector")
68 PFLeptonSelector.selectElectrons=
False
69 PFLeptonSelector.selectMuons=
False
70 result.addEventAlgo(PFLeptonSelector)
72 from eflowRec.PFCfg
import PFTrackSelectorAlgCfg
75 if inputFlags.Input.Format
is Format.POOL
and "StreamRDO" not in inputFlags.Input.ProcessingTags:
79 from eflowRec.PFCfg
import getOfflinePFAlgorithm
82 from eflowRec.PFCfg
import getChargedFlowElementCreatorAlgorithm,getNeutralFlowElementCreatorAlgorithm,getLCNeutralFlowElementCreatorAlgorithm
88 if not inputFlags.PF.EOverPMode:
89 if inputFlags.PF.useElPhotLinks:
90 from eflowRec.PFCfg
import getEGamFlowElementAssocAlgorithm
93 if inputFlags.PF.useMuLinks
and inputFlags.Detector.GeometryMuon:
94 from eflowRec.PFCfg
import getMuonFlowElementAssocAlgorithm
97 from OutputStreamAthenaPool.OutputStreamConfig
import addToAOD, addToESD
99 if(inputFlags.PF.EOverPMode):
100 toESDAndAOD = [
"xAOD::FlowElementContainer#EOverPChargedParticleFlowObjects",
"xAOD::FlowElementAuxContainer#EOverPChargedParticleFlowObjectsAux."]
101 toESDAndAOD += [
"xAOD::FlowElementContainer#EOverPNeutralParticleFlowObjects",
"xAOD::FlowElementAuxContainer#EOverPNeutralParticleFlowObjectsAux."]
103 toESDAndAOD = [
"xAOD::FlowElementContainer#JetETMissChargedParticleFlowObjects",
"xAOD::FlowElementAuxContainer#JetETMissChargedParticleFlowObjectsAux."]
104 toESDAndAOD += [
"xAOD::FlowElementContainer#JetETMissNeutralParticleFlowObjects",
"xAOD::FlowElementAuxContainer#JetETMissNeutralParticleFlowObjectsAux.-FEShowerSubtractedClusterLink"]
105 toESDAndAOD += [
"xAOD::FlowElementContainer#JetETMissLCNeutralParticleFlowObjects",
"xAOD::ShallowAuxContainer#JetETMissLCNeutralParticleFlowObjectsAux."]
107 if inputFlags.PF.addCPData:
110 toESDAndAOD += [
"xAOD::CaloClusterContainer#PFCaloCluster",
"xAOD::CaloClusterAuxContainer#PFCaloClusterAux."]
113 PFClusterWidthDecorator = CompFactory.PFClusterWidthDecorator()
114 result.addEventAlgo(PFClusterWidthDecorator)
116 from TrigGepPerf.KeepCellsConfig
import KeepCellsCfg
118 toESDAndAOD += [
"CaloCellContainer#AllCalo"]
120 result.merge(
addToESD(inputFlags, toESDAndAOD))
121 result.merge(
addToAOD(inputFlags, toESDAndAOD))
125 if inputFlags.PF.doThinning:
126 from ThinningUtils.ThinNegativeEnergyNeutralPFOCfg
import ThinNegativeEnergyNeutralPFOCfg
◆ PFFullCfg()
def PFRun3Config.PFFullCfg |
( |
|
inputFlags, |
|
|
|
runTauReco = False , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 8 of file PFRun3Config.py.
8 def PFFullCfg(inputFlags,runTauReco=False,**kwargs):
12 StoreGateSvc=CompFactory.StoreGateSvc
16 from SGComps.AddressRemappingConfig
import InputRenameCfg
17 result.merge(
InputRenameCfg(
"xAOD::CaloClusterContainer",
"CaloCalTopoClusters",
""))
20 from MagFieldServices.MagFieldServicesConfig
import AtlasFieldCacheCondAlgCfg
24 from CaloRec.CaloTopoClusterConfig
import CaloTopoClusterCfg
27 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
32 from TrackToCalo.CaloExtensionBuilderAlgCfg
import CaloExtensionBuilderAlgCfg
39 from OutputStreamAthenaPool.OutputStreamConfig
import addToAOD, addToESD
42 toESDAndAOD = [
"xAOD::TrackParticleContainer#InDetTrackParticles",
"xAOD::TrackParticleAuxContainer#InDetTrackParticlesAux."]
43 if inputFlags.PF.useElPhotLinks:
44 toESDAndAOD += [
"xAOD::ElectronContainer#Electrons",
"xAOD::ElectronAuxContainer#ElectronsAux."]
45 toESDAndAOD += [
"xAOD::PhotonContainer#Photons",
"xAOD::PhotonAuxContainer#PhotonsAux."]
46 if inputFlags.PF.useMuLinks:
47 toESDAndAOD += [
"xAOD::MuonContainer#Muons",
"xAOD::MuonAuxContainer#MuonsAux."]
51 toESDAndAOD += [
"xAOD::TauJetContainer#TauJets",
"xAOD::TauJetAuxContainer#TauJetsAux."]
53 result.merge(
addToESD(inputFlags, toESDAndAOD))
54 result.merge(
addToAOD(inputFlags, toESDAndAOD))
56 result.merge(
PFCfg(inputFlags))
◆ PFRun3ConfigTest()
def PFRun3Config.PFRun3ConfigTest |
( |
|
flags = None | ) |
|
Definition at line 141 of file PFRun3Config.py.
144 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
147 from AthenaConfiguration.TestDefaults
import defaultTestFiles, defaultConditionsTags
148 flags.Input.Files = defaultTestFiles.ESD_RUN3_MC
149 flags.IOVDb.GlobalTag = defaultConditionsTags.RUN3_MC
150 flags.Output.doWriteAOD=
True
151 flags.Output.AODFileName=
"output_AOD.root"
156 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
159 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
163 from eflowRec.PFRun3Remaps
import ListRemaps
166 for mapping
in list_remaps:
◆ PFTauFELinkCfg()
def PFRun3Config.PFTauFELinkCfg |
( |
|
inputFlags, |
|
|
** |
kwargs |
|
) |
| |
Definition at line 134 of file PFRun3Config.py.
136 from eflowRec.PFCfg
import getTauFlowElementAssocAlgorithm
def getOfflinePFAlgorithm(inputFlags)
def PFFullCfg(inputFlags, runTauReco=False, **kwargs)
def KeepCellsCfg(flags, streamName='StreamAOD')
def PFCfg(inputFlags, **kwargs)
def getNeutralFlowElementCreatorAlgorithm(inputFlags, neutralFlowElementOutputName, nameSuffix="", eflowCaloObjectContainerName="eflowCaloObjects")
def PFTrackSelectorAlgCfg(inputFlags, algName, useCaching=True)
The Athena Transient Store API.
def PFTauFELinkCfg(inputFlags, **kwargs)
def CaloNoiseCondAlgCfg(flags, noisetype="totalNoise")
def MainServicesCfg(flags, LoopMgr='AthenaEventLoopMgr')
def getChargedFlowElementCreatorAlgorithm(inputFlags, chargedFlowElementOutputName, nameSuffix="", eflowCaloObjectContainerName="eflowCaloObjects")
def getEGamFlowElementAssocAlgorithm(inputFlags, algName="", **kwargs)
def getMuonFlowElementAssocAlgorithm(inputFlags, algName="", **kwargs)
def getLCNeutralFlowElementCreatorAlgorithm(inputFlags, neutralFlowElementOutputName)
def addToESD(flags, itemOrList, **kwargs)
def getTauFlowElementAssocAlgorithm(inputFlags, algName="", **kwargs)
def CaloTopoClusterCfg(flags, cellsname="AllCalo", clustersname=None, clustersnapname="CaloTopoClusters")
def addToAOD(flags, itemOrList, **kwargs)
def PFRun3ConfigTest(flags=None)
def AtlasFieldCacheCondAlgCfg(flags, **kwargs)
def ThinNegativeEnergyNeutralPFOCfg(flags, StreamName="StreamAOD")
def InputRenameCfg(type, from_name, to_name)