CMS 3D CMS Logo

ElectronMcSignalValidatorMiniAOD_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoEgamma.EgammaElectronProducers.gedGsfElectronFinalizer_cfi import gedGsfElectrons as _gedGsfElectrons
4 
5 electronMcSignalHistosCfg = cms.PSet(
6  Nbinxyz = cms.int32(50),
7  Nbinpt = cms.int32(50), Nbinpt2D = cms.int32(50), Nbinpteff = cms.int32(19),Ptmax = cms.double(100.0),
8  Nbinfhits = cms.int32(30), Fhitsmax = cms.double(30.0),
9  Nbineta = cms.int32(50), Nbineta2D = cms.int32(50),Etamin = cms.double(-2.5), Etamax = cms.double(2.5),
10  Nbindeta = cms.int32(100), Detamin = cms.double(-0.005), Detamax = cms.double(0.005),
11  Nbindetamatch = cms.int32(100), Nbindetamatch2D = cms.int32(50), Detamatchmin = cms.double(-0.05), Detamatchmax = cms.double(0.05),
12  Nbinphi = cms.int32(64), Nbinphi2D = cms.int32(32), Phimin = cms.double(-3.2), Phimax = cms.double(3.2),
13  Nbindphi = cms.int32(100), Dphimin = cms.double(-0.01), Dphimax = cms.double(0.01),
14  Nbindphimatch = cms.int32(100), Nbindphimatch2D = cms.int32(50), Dphimatchmin = cms.double(-0.2), Dphimatchmax = cms.double(0.2),
15  Nbinmee = cms.int32(100), Meemin = cms.double(0.0), Meemax = cms.double(150.),
16  Nbinhoe = cms.int32(100), Hoemin = cms.double(0.0), Hoemax = cms.double(0.5),
17  Nbinpoptrue = cms.int32(75), Poptruemin = cms.double(0.0), Poptruemax = cms.double(1.5),
18  EfficiencyFlag = cms.bool(True), StatOverflowFlag = cms.bool(False)
19 )
20 
21 electronPFIsolationCfg = cms.PSet(
22  pfSumChargedHadronPtTmp = cms.InputTag("miniAODElectronIsolation", _gedGsfElectrons.pfIsolationValues.pfSumChargedHadronPt.getProductInstanceLabel()),
23  pfSumNeutralHadronEtTmp = cms.InputTag("miniAODElectronIsolation", _gedGsfElectrons.pfIsolationValues.pfSumNeutralHadronEt.getProductInstanceLabel()), #
24  pfSumPhotonEtTmp = cms.InputTag("miniAODElectronIsolation", _gedGsfElectrons.pfIsolationValues.pfSumPhotonEt.getProductInstanceLabel()), #
25 )
26 
27 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
28 electronMcSignalValidatorMiniAOD = DQMEDAnalyzer('ElectronMcSignalValidatorMiniAOD',
29 
30  Verbosity = cms.untracked.int32(0),
31  FinalStep = cms.string("AtJobEnd"),
32  InputFile = cms.string(""),
33  OutputFile = cms.string(""),
34  InputFolderName = cms.string("EgammaV/ElectronMcSignalValidatorMiniAOD"), #
35  OutputFolderName = cms.string("EgammaV/ElectronMcSignalValidatorMiniAOD"), #
36 
37  mcTruthCollection = cms.InputTag("prunedGenParticles"),
38  electrons = cms.InputTag("slimmedElectrons"),
39 
40  MaxPt = cms.double(100.0),
41  DeltaR = cms.double(0.05),
42  MaxAbsEta = cms.double(2.5),
43  MatchingID = cms.vint32(11,-11),
44  MatchingMotherID = cms.vint32(23,24,-24,32),
45  histosCfg = cms.PSet(electronMcSignalHistosCfg),
46  isolationCfg = cms.PSet(electronPFIsolationCfg),
47 )
gedGsfElectronFinalizer_cfi
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1