12 selectElectrons = cms.EDProducer(
14 src = cms.InputTag(
"genParticles"),
22 selectStableElectrons = genParticlesForJets.clone(src = cms.InputTag(
"selectElectrons"))
27 kinematicSelectedTauValDenominatorZEE = cms.EDFilter(
28 "TauValGenPRefSelector",
29 src = cms.InputTag(
'selectStableElectrons'),
30 cut = kinematicSelectedTauValDenominatorCut,
31 filter = cms.bool(
False)
34 procAttributes =
dir(proc)
41 zttModifier = ApplyFunctionToSequence(zttLabeler)
42 proc.TauValNumeratorAndDenominatorZEE.visit(zttModifier)
45 proc.efficienciesZEE.plots = Utils.SetPlotSequence(proc.TauValNumeratorAndDenominatorZEE)
48 newProcAttributes =
filter(
lambda x: (x
not in procAttributes)
and (x.find(
'ZEE') != -1),
dir(proc) )
51 for newAttr
in newProcAttributes:
52 locals()[newAttr] = getattr(proc,newAttr)
54 produceDenominatorZEE = cms.Sequence(
56 selectStableElectrons*
57 kinematicSelectedTauValDenominatorZEE
60 produceDenominator = produceDenominatorZEE
62 runTauValidationBatchMode = cms.Sequence(
63 produceDenominatorZEE*
64 TauValNumeratorAndDenominatorZEE
67 runTauValidation = cms.Sequence(
68 runTauValidationBatchMode*
def cloneProcessingSnippet
def massSearchReplaceAnyInputTag
def SetValidationExtention