1 import FWCore.ParameterSet.Config
as cms
2 import Validation.RecoTau.ValidationUtils
as Utils
6 proc = cms.Process(
'helper')
8 proc.load(
'Validation.RecoTau.dataTypes.ValidateTausOnZEE_cff')
10 procAttributes =
dir(proc)
17 zttModifier = ApplyFunctionToSequence(zttLabeler)
18 proc.TauValNumeratorAndDenominatorZEEFastSim.visit(zttModifier)
21 proc.efficienciesZEEFastSim.plots = Utils.SetPlotSequence(proc.TauValNumeratorAndDenominatorZEEFastSim)
24 newProcAttributes = [x
for x
in dir(proc)
if (x
not in procAttributes)
and (x.find(
'FastSim') != -1)]
27 for newAttr
in newProcAttributes:
28 locals()[newAttr] = getattr(proc,newAttr)
30 produceDenominator = cms.Sequence(produceDenominatorZEEFastSim)
32 runTauValidationBatchMode = cms.Sequence(
33 produceDenominatorZEEFastSim
34 +TauValNumeratorAndDenominatorZEEFastSim
37 runTauValidation = cms.Sequence(
38 runTauValidationBatchMode
39 +TauEfficienciesZEEFastSim
def cloneProcessingSnippet(process, sequence, postfix, removePostfix="", noClones=[], addToTask=False)
def SetValidationExtention(module, extension)