12 selectMuons = cms.EDProducer(
14 src = cms.InputTag(
"genParticles"),
22 selectStableMuons = genParticlesForJets.clone(src = cms.InputTag(
"selectMuons"))
24 kinematicSelectedTauValDenominatorZMM = cms.EDFilter(
25 "TauValGenPRefSelector",
26 src = cms.InputTag(
'selectStableMuons'),
27 cut = kinematicSelectedTauValDenominatorCut,
28 filter = cms.bool(
False)
31 procAttributes =
dir(proc)
38 zttModifier = ApplyFunctionToSequence(zttLabeler)
39 proc.TauValNumeratorAndDenominatorZMM.visit(zttModifier)
42 proc.efficienciesZMM.plots = Utils.SetPlotSequence(proc.TauValNumeratorAndDenominatorZMM)
45 newProcAttributes =
filter(
lambda x: (x
not in procAttributes)
and (x.find(
'ZMM') != -1),
dir(proc) )
48 for newAttr
in newProcAttributes:
49 locals()[newAttr] = getattr(proc,newAttr)
51 produceDenominatorZMM = cms.Sequence(
55 +kinematicSelectedTauValDenominatorZMM
58 produceDenominator = cms.Sequence(produceDenominatorZMM)
60 runTauValidationBatchMode = cms.Sequence(
62 +TauValNumeratorAndDenominatorZMM
65 runTauValidation = cms.Sequence(
66 runTauValidationBatchMode
def cloneProcessingSnippet
def massSearchReplaceAnyInputTag
def SetValidationExtention