1 import FWCore.ParameterSet.Config
as cms
10 kinematicSelectedTauValDenominatorQCD = cms.EDFilter(
12 src = cms.InputTag(
'ak4GenJets'),
13 cut = kinematicSelectedTauValDenominatorCut,
14 filter = cms.bool(
False)
18 procAttributes =
dir(proc)
21 helpers.massSearchReplaceAnyInputTag(proc.TauValNumeratorAndDenominatorQCD,
'kinematicSelectedTauValDenominator',
'kinematicSelectedTauValDenominatorQCD')
25 zttModifier = ApplyFunctionToSequence(zttLabeler)
26 proc.TauValNumeratorAndDenominatorQCD.visit(zttModifier)
29 proc.efficienciesQCD.plots = Utils.SetPlotSequence(proc.TauValNumeratorAndDenominatorQCD)
32 newProcAttributes = [x
for x
in dir(proc)
if (x
not in procAttributes)
and (x.find(
'QCD') != -1)]
35 for newAttr
in newProcAttributes:
36 locals()[newAttr] = getattr(proc,newAttr)
39 produceDenominatorQCD = cms.Sequence(
40 kinematicSelectedTauValDenominatorQCD
43 produceDenominator = cms.Sequence(produceDenominatorQCD)
45 runTauValidationBatchMode = cms.Sequence(
47 +TauValNumeratorAndDenominatorQCD
50 runTauValidation = cms.Sequence(
51 runTauValidationBatchMode
def cloneProcessingSnippet(process, sequence, postfix, removePostfix="", noClones=[], addToTask=False)
def SetValidationExtention(module, extension)