1 |
edwenger |
1.1 |
import FWCore.ParameterSet.Config as cms
|
2 |
|
|
|
3 |
|
|
##########################################################
|
4 |
|
|
# produce generated paricles in acceptance #
|
5 |
|
|
##########################################################
|
6 |
|
|
|
7 |
|
|
higenp = cms.EDFilter("PdgIdAndStatusCandViewSelector",
|
8 |
|
|
status = cms.vint32(3),
|
9 |
|
|
src = cms.InputTag("hiGenParticles"),
|
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 |
|
|
|
22 |
|
|
from CmsHi.Validation.HLT_HIPhoton15_DQM_cfi import *
|
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 |
|
|
hiEgammaValidationSequence = cms.Sequence(higenp*hifiducial*HLT_HIPhoton15_DQM)
|