36 alg = config.createAlgorithm(
'CP::ParticleLevelChargeDecoratorAlg',
37 'ParticleLevelChargeDecoratorElectrons',
42 alg = config.createAlgorithm(
'CP::ParticleLevelIsolationAlg',
43 'ParticleLevelIsolationElectrons',
48 alg.checkType =
'IsoElectron'
56 if ParticleLevelElectronsBlock.get_instance_count() == 1
or 'pt' not in config.getOutputVars(self.
containerName):
59 [
'eta_dressed',
'eta'],
60 [
'phi_dressed',
'phi'],
63 [
'classifierParticleType',
'type'],
64 [
'classifierParticleOrigin',
'origin'],
67 outputVars += [[
'uid',
'uid']]
68 for decoration, branch
in outputVars:
69 config.addOutputVar (self.
containerName, decoration, branch, noSys=
True)