ATLAS Offline Software
AddPileupTruthParticles.py
Go to the documentation of this file.
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'
5 
6 if not hasattr(prefiltSeq, "PUTruthParticleSlimmer"):
7  from GeneratorFilters.GeneratorFiltersConf import PileupTruthParticleSlimmer
8  prefiltSeq += PileupTruthParticleSlimmer('PUTruthParticleSlimmer')
9 
10