13 samples.names = [
'Wenu',
29 'HLT_Ele17_SW_TighterEleIdIsol_L1RDQM',
31 'HLT_Ele10_LW_L1RDQM',
32 'HLT_Ele15_SW_L1RDQM',
33 'HLT_Ele10_LW_EleId_L1RDQM'
36 paths.Zee = paths.Wenu + [
'HLT_DoubleEle5_SW_L1RDQM']
38 paths.GammaJet = [
'HLT_Photon15_TrackIso_L1R_DQM',
39 'HLT_Photon10_L1R_DQM']
41 paths.DiGamma = paths.GammaJet
48 tmp = cms.SequencePlaceholder(
"tmp")
49 egammaValidationSequenceReco = cms.Sequence(tmp)
52 for samplenum
in range(len(samples.names)):
55 for trig
in getattr(paths,samples.names[samplenum]):
56 trigname = trig + samples.names[samplenum]
58 filename =
"HLTriggerOffline.Egamma."+trig+
"_cfi"
59 trigdef =__import__( filename )
61 globals()[trigname] = getattr(sys.modules[filename],trig).
clone()
62 setattr(globals()[trigname],
"_TypedParameterizable__type",
"EmDQMReco")
64 setattr(globals()[trigname],
"cutnum",cms.int32( samples.num[samplenum] ))
65 setattr(globals()[trigname],
"pdgGen",cms.int32( samples.pdgid[samplenum]))
66 egammaValidationSequenceReco *= globals()[trigname]
69 egammaValidationSequenceReco.remove(tmp)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)