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 =
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(produceDenominatorZEEFastSim)
32 runTauValidationBatchMode = cms.Sequence(
33 produceDenominatorZEEFastSim
34 +TauValNumeratorAndDenominatorZEEFastSim
37 runTauValidation = cms.Sequence(
38 runTauValidationBatchMode
39 +TauEfficienciesZEEFastSim
def cloneProcessingSnippet
def SetValidationExtention