CMS 3D CMS Logo

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 electronMcSignalValidator = cms.EDAnalyzer("ElectronMcSignalValidator",
24 
25  Verbosity = cms.untracked.int32(0),
26  FinalStep = cms.string("AtRunEnd"),
27  InputFile = cms.string(""),
28  OutputFile = cms.string(""),
29  InputFolderName = cms.string("EgammaV/ElectronMcSignalValidator"),
30  OutputFolderName = cms.string("EgammaV/ElectronMcSignalValidator"),
31 
32  mcTruthCollection = cms.InputTag("genParticles"),
33  electronCollection = cms.InputTag("gedGsfElectrons"),
34  electronCoreCollection = cms.InputTag("gedGsfElectronCores"),
35  electronTrackCollection = cms.InputTag("electronGsfTracks"),
36  electronSeedCollection = cms.InputTag("electronMergedSeeds"),
37  # ajout 09/02/2015
38 # offlinePrimaryVertices = cms.InputTag("offlinePrimaryVertices"),
39  # fin ajout
40 
41  beamSpot = cms.InputTag("offlineBeamSpot"),
42  readAOD = cms.bool(False),
43 
44  isoFromDepsTk03 = cms.InputTag("eleIsoFromDepsTk03"),
45  isoFromDepsTk04 = cms.InputTag("eleIsoFromDepsTk04"),
46  isoFromDepsEcalFull03 = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalFull03"),
47  isoFromDepsEcalFull04 = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalFull04"),
48  isoFromDepsEcalReduced03 = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalReduced03"),
49  isoFromDepsEcalReduced04 = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalReduced04"),
50  isoFromDepsHcal03 = cms.InputTag("eleIsoFromDepsHcalFromTowers03"),
51  isoFromDepsHcal04 = cms.InputTag("eleIsoFromDepsHcalFromTowers04"),
52 
53  MaxPt = cms.double(100.0),
54  DeltaR = cms.double(0.05),
55  MaxAbsEta = cms.double(2.5),
56  MatchingID = cms.vint32(11,-11),
57  MatchingMotherID = cms.vint32(23,24,-24,32),
58  histosCfg = cms.PSet(electronMcSignalHistosCfg)
59 )
60 
61 
62