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.ValidateTausOnZTT_cff')
10 procAttributes =
dir(proc)
17 zttModifier = ApplyFunctionToSequence(zttLabeler)
18 proc.TauValNumeratorAndDenominatorZTTFastSim.visit(zttModifier)
21 proc.efficienciesZTTFastSim.plots = Utils.SetPlotSequence(proc.TauValNumeratorAndDenominatorZTTFastSim)
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(produceDenominatorZTTFastSim)
32 runTauValidationBatchMode = cms.Sequence(
33 produceDenominatorZTTFastSim
34 +TauValNumeratorAndDenominatorZTTFastSim
37 runTauValidation = cms.Sequence(
38 runTauValidationBatchMode
39 +TauEfficienciesZTTFastSim
def cloneProcessingSnippet(process, sequence, postfix, removePostfix="", noClones=[], addToTask=False)
def SetValidationExtention(module, extension)