CMS 3D CMS Logo

GenWeightValidation_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
4 genWeightValidation = DQMEDAnalyzer('GenWeightValidation',
5  UseWeightFromHepMC = cms.bool(False),
6  genEventInfos = cms.VInputTag('generator'),
7  genParticles = cms.InputTag('genParticles'),
8  genJets = cms.InputTag('ak4GenJets'),
9  whichGenEventInfo = cms.int32(0),
10  idxFSRup = cms.int32(5),
11  idxFSRdown = cms.int32(4),
12  idxISRup = cms.int32(27),
13  idxISRdown = cms.int32(26),
14  leadLepPtRange = cms.double(200.),
15  leadLepPtNbin = cms.int32(100),
16  leadLepPtCut = cms.double(20.),
17  lepEtaCut = cms.double(2.4),
18  jetPtCut = cms.double(20.),
19  rapidityRange = cms.double(2.4),
20  rapidityNbin = cms.int32(120),
21  jetEtaCut = cms.double(2.4),
22  nJetsNbin = cms.int32(20),
23  jetPtRange = cms.double(200.),
24  jetPtNbin = cms.int32(100)
25 )
26 
27 genWeightValidationSeq = cms.Sequence(genWeightValidation)