CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ElectronMcSignalValidator_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), Pmax = cms.double(300.0),
6  Nbinpt = cms.int32(50), Nbinpt2D = cms.int32(50), Nbinpteff = cms.int32(19),Ptmax = cms.double(100.0),
7  Nbinfhits = cms.int32(30), Fhitsmax = cms.double(30.0),
8  Nbinlhits = cms.int32(5), Lhitsmax = cms.double(10.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  Nbineop = cms.int32(50), Nbineop2D = cms.int32(30), Eopmax = cms.double(5.0), Eopmaxsht = cms.double(3.0),
16  Nbinmee = cms.int32(100), Meemin = cms.double(0.0), Meemax = cms.double(150.),
17  Nbinhoe = cms.int32(100), Hoemin = cms.double(0.0), Hoemax = cms.double(0.5),
18  Nbinpoptrue = cms.int32(75), Poptruemin = cms.double(0.0), Poptruemax = cms.double(1.5),
19  Nbinerror = cms.int32(30), Energyerrormax = cms.double(30.0),
20  EfficiencyFlag = cms.bool(True), StatOverflowFlag = cms.bool(False)
21 )
22 
23 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
24 electronMcSignalValidator = DQMEDAnalyzer('ElectronMcSignalValidator',
25 
26  Verbosity = cms.untracked.int32(0),
27  FinalStep = cms.string("AtRunEnd"),
28  InputFile = cms.string(""),
29  OutputFile = cms.string(""),
30  InputFolderName = cms.string("EgammaV/ElectronMcSignalValidator"),
31  OutputFolderName = cms.string("EgammaV/ElectronMcSignalValidator"),
32 
33  mcTruthCollection = cms.InputTag("genParticles"),
34  electronCollection = cms.InputTag("gedGsfElectrons"),
35  electronCoreCollection = cms.InputTag("gedGsfElectronCores"),
36  electronTrackCollection = cms.InputTag("electronGsfTracks"),
37  electronSeedCollection = cms.InputTag("electronMergedSeeds"),
38  # ajout 09/02/2015
39 # offlinePrimaryVertices = cms.InputTag("offlinePrimaryVertices"),
40  # fin ajout
41 
42  beamSpot = cms.InputTag("offlineBeamSpot"),
43  readAOD = cms.bool(False),
44 
45  isoFromDepsTk03 = cms.InputTag("eleIsoFromDepsTk03"),
46  isoFromDepsTk04 = cms.InputTag("eleIsoFromDepsTk04"),
47  isoFromDepsEcalFull03 = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalFull03"),
48  isoFromDepsEcalFull04 = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalFull04"),
49  isoFromDepsEcalReduced03 = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalReduced03"),
50  isoFromDepsEcalReduced04 = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalReduced04"),
51  isoFromDepsHcal03 = cms.InputTag("eleIsoFromDepsHcalFromTowers03"),
52  isoFromDepsHcal04 = cms.InputTag("eleIsoFromDepsHcalFromTowers04"),
53 
54  MaxPt = cms.double(100.0),
55  DeltaR = cms.double(0.05),
56  MaxAbsEta = cms.double(2.5),
57  MatchingID = cms.vint32(11,-11),
58  MatchingMotherID = cms.vint32(23,24,-24,32),
59  histosCfg = cms.PSet(electronMcSignalHistosCfg)
60 )
61 
62 
63