Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004
00005
00006
00007 higenp = cms.EDFilter("PdgIdAndStatusCandViewSelector",
00008 status = cms.vint32(3),
00009 src = cms.InputTag("hiGenParticles"),
00010 pdgId = cms.vint32(22)
00011 )
00012
00013 hifiducial = cms.EDFilter("EtaPtMinCandViewSelector",
00014 src = cms.InputTag("higenp"),
00015 etaMin = cms.double(-2.5),
00016 etaMax = cms.double(2.5),
00017 ptMin = cms.double(2.0)
00018 )
00019
00020 hltlabel = "HLT"
00021
00022 from Validation.RecoHI.HLT_HIPhoton15_DQM_cfi import *
00023 HLT_HIPhoton15_DQM.cutcollection = cms.InputTag("hifiducial")
00024 HLT_HIPhoton15_DQM.cutnum = cms.int32(1)
00025 HLT_HIPhoton15_DQM.pdgGen = cms.int32(22)
00026 HLT_HIPhoton15_DQM.triggerobject.setProcessName(hltlabel)
00027
00028 for filterpset in HLT_HIPhoton15_DQM.filters:
00029 getattr(filterpset,'HLTCollectionLabels').setProcessName(hltlabel)
00030 for isocollections in getattr(filterpset,'IsoCollections'):
00031 isocollections.setProcessName(hltlabel)
00032
00033
00034 hiEgammaPrevalidationSequence = cms.Sequence( higenp * hifiducial )
00035
00036
00037 hiEgammaValidationSequence = cms.Sequence( HLT_HIPhoton15_DQM )