1 if not hasattr(prefiltSeq,
'xAODCnv'):
2 from xAODTruthCnv.xAODTruthCnvConf
import xAODMaker__xAODTruthCnvAlg
3 prefiltSeq += xAODMaker__xAODTruthCnvAlg(
'xAODCnv',WriteTruthMetaData=
False)
4 prefiltSeq.xAODCnv.AODContainerName =
'GEN_EVENT'
6 if not hasattr(prefiltSeq,
"PUTruthParticleSlimmer"):
7 from GeneratorFilters.GeneratorFiltersConf
import PileupTruthParticleSlimmer
8 prefiltSeq += PileupTruthParticleSlimmer(
'PUTruthParticleSlimmer')