CMS 3D CMS Logo

ElectronMcSignalPt1000Validator_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 electronMcSignalHistosCfg = cms.PSet(
4  Nbinxyz = cms.int32(50),
5  Nbinp = cms.int32(50), Nbinp2D = cms.int32(50),
6 # Pmax = cms.double(300.0),
7  Pmax = cms.double(4500),
8  Nbinpt = cms.int32(50), Nbinpt2D = cms.int32(50), Nbinpteff = cms.int32(19),Ptmax = cms.double(1500.0),
9  Nbinfhits = cms.int32(30), Fhitsmax = cms.double(30.0),
10  Nbinlhits = cms.int32(5), Lhitsmax = cms.double(10.0),
11  Nbineta = cms.int32(50), Nbineta2D = cms.int32(50),Etamin = cms.double(-2.5), Etamax = cms.double(2.5),
12  Nbindeta = cms.int32(100), Detamin = cms.double(-0.005), Detamax = cms.double(0.005),
13  Nbindetamatch = cms.int32(100), Nbindetamatch2D = cms.int32(50), Detamatchmin = cms.double(-0.05), Detamatchmax = cms.double(0.05),
14  Nbinphi = cms.int32(64), Nbinphi2D = cms.int32(32), Phimin = cms.double(-3.2), Phimax = cms.double(3.2),
15  Nbindphi = cms.int32(100), Dphimin = cms.double(-0.01), Dphimax = cms.double(0.01),
16  Nbindphimatch = cms.int32(100), Nbindphimatch2D = cms.int32(50), Dphimatchmin = cms.double(-0.2), Dphimatchmax = cms.double(0.2),
17  Nbineop = cms.int32(50), Nbineop2D = cms.int32(30),
18 # Eopmax = cms.double(5.0),
19  Eopmax = cms.double(10),
20  Eopmaxsht = cms.double(3.0),
21  Nbinmee = cms.int32(100), Meemin = cms.double(0.0), Meemax = cms.double(150.),
22  Nbinhoe = cms.int32(100), Hoemin = cms.double(0.0), Hoemax = cms.double(0.5),
23  Nbinpoptrue = cms.int32(75), Poptruemin = cms.double(0.0), Poptruemax = cms.double(1.5),
24  Nbinerror = cms.int32(30), Energyerrormax = cms.double(150.0),
25  EfficiencyFlag = cms.bool(True), StatOverflowFlag = cms.bool(False)
26 )
27 
28 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
29 electronMcSignalValidator = DQMEDAnalyzer('ElectronMcSignalValidator',
30 
31  Verbosity = cms.untracked.int32(0),
32  FinalStep = cms.string("AtRunEnd"),
33  InputFile = cms.string(""),
34  OutputFile = cms.string(""),
35  InputFolderName = cms.string("EgammaV/ElectronMcSignalValidator"),
36  OutputFolderName = cms.string("EgammaV/ElectronMcSignalValidator"),
37 
38  mcTruthCollection = cms.InputTag("genParticles"),
39  electronCollection = cms.InputTag("gedGsfElectrons"),
40  electronCoreCollection = cms.InputTag("gedGsfElectronCores"),
41  electronTrackCollection = cms.InputTag("electronGsfTracks"),
42  electronSeedCollection = cms.InputTag("electronMergedSeeds"),
43  # ajout 09/02/2015
44  offlinePrimaryVertices = cms.InputTag("offlinePrimaryVertices"),
45  # fin ajout
46 
47  beamSpot = cms.InputTag("offlineBeamSpot"),
48  readAOD = cms.bool(False),
49 
50  isoFromDepsTk03 = cms.InputTag("eleIsoFromDepsTk03"),
51  isoFromDepsTk04 = cms.InputTag("eleIsoFromDepsTk04"),
52  isoFromDepsEcalFull03 = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalFull03"),
53  isoFromDepsEcalFull04 = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalFull04"),
54  isoFromDepsEcalReduced03 = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalReduced03"),
55  isoFromDepsEcalReduced04 = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalReduced04"),
56  isoFromDepsHcal03 = cms.InputTag("eleIsoFromDepsHcalFromTowers03"),
57  isoFromDepsHcal04 = cms.InputTag("eleIsoFromDepsHcalFromTowers04"),
58 
59  MaxPt = cms.double(1500.0),
60  DeltaR = cms.double(0.05),
61  MaxAbsEta = cms.double(2.5),
62  MatchingID = cms.vint32(11,-11),
63  MatchingMotherID = cms.vint32(23,24,-24,32),
64  histosCfg = cms.PSet(electronMcSignalHistosCfg)
65 )
66 
67 
68