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 =
filter(
lambda x: (x
not in procAttributes)
and (x.find(
'FastSim') != -1),
dir(proc) )
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
def SetValidationExtention