CMS 3D CMS Logo

EgammaValidationHI_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
6 
7 higenp = cms.EDFilter("PdgIdAndStatusCandViewSelector",
8  status = cms.vint32(3),
9  src = cms.InputTag("genParticles"),
10  pdgId = cms.vint32(22)
11 )
12 
13 hifiducial = cms.EDFilter("EtaPtMinCandViewSelector",
14  src = cms.InputTag("higenp"),
15  etaMin = cms.double(-2.5),
16  etaMax = cms.double(2.5),
17  ptMin = cms.double(2.0)
18 )
19 
20 hltlabel = "HLT"
21 
23 HLT_HIPhoton15_DQM.cutcollection = cms.InputTag("hifiducial")
24 HLT_HIPhoton15_DQM.cutnum = cms.int32(1)
25 HLT_HIPhoton15_DQM.pdgGen = cms.int32(22)
26 HLT_HIPhoton15_DQM.triggerobject.setProcessName(hltlabel)
27 
28 for filterpset in HLT_HIPhoton15_DQM.filters:
29  getattr(filterpset,'HLTCollectionLabels').setProcessName(hltlabel)
30  for isocollections in getattr(filterpset,'IsoCollections'):
31  isocollections.setProcessName(hltlabel)
32 
33 # prevalidation sequence for filters / producers
34 hiEgammaPrevalidationSequence = cms.Sequence( higenp * hifiducial )
35 
36 # validation sequence
37 hiEgammaValidationSequence = cms.Sequence( HLT_HIPhoton15_DQM )
HLT_HIPhoton15_DQM_cfi