Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:37

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 electronMcSignalHistosCfg = cms.PSet(
0004   Nbinxyz = cms.int32(50),
0005   Nbinp = cms.int32(50), Nbinp2D = cms.int32(50), 
0006 #  Pmax = cms.double(300.0),
0007   Pmax = cms.double(4500), 
0008   Nbinpt = cms.int32(50), Nbinpt2D = cms.int32(50), Nbinpteff = cms.int32(19),Ptmax = cms.double(1500.0),
0009   Nbinfhits = cms.int32(30), Fhitsmax = cms.double(30.0),
0010   Nbinlhits = cms.int32(5), Lhitsmax = cms.double(10.0),
0011   Nbineta = cms.int32(50), Nbineta2D = cms.int32(50),Etamin = cms.double(-2.5), Etamax = cms.double(2.5),
0012   Nbindeta = cms.int32(100), Detamin = cms.double(-0.005), Detamax = cms.double(0.005), 
0013   Nbindetamatch = cms.int32(100), Nbindetamatch2D = cms.int32(50), Detamatchmin = cms.double(-0.05), Detamatchmax = cms.double(0.05),
0014   Nbinphi = cms.int32(64), Nbinphi2D = cms.int32(32), Phimin = cms.double(-3.2), Phimax = cms.double(3.2),
0015   Nbindphi = cms.int32(100), Dphimin = cms.double(-0.01), Dphimax = cms.double(0.01),
0016   Nbindphimatch = cms.int32(100), Nbindphimatch2D = cms.int32(50), Dphimatchmin = cms.double(-0.2), Dphimatchmax = cms.double(0.2),
0017   Nbineop = cms.int32(50), Nbineop2D = cms.int32(30), 
0018 #  Eopmax = cms.double(5.0), 
0019   Eopmax = cms.double(10),
0020   Eopmaxsht = cms.double(3.0),
0021   Nbinmee = cms.int32(100), Meemin = cms.double(0.0), Meemax = cms.double(150.),
0022   Nbinhoe = cms.int32(100), Hoemin = cms.double(0.0), Hoemax = cms.double(0.5),
0023   Nbinpoptrue = cms.int32(75), Poptruemin = cms.double(0.0), Poptruemax = cms.double(1.5),
0024   Nbinerror = cms.int32(30), Energyerrormax = cms.double(150.0),
0025   EfficiencyFlag = cms.bool(True), StatOverflowFlag = cms.bool(False)
0026 )
0027 
0028 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0029 electronMcSignalValidator = DQMEDAnalyzer('ElectronMcSignalValidator',
0030 
0031   Verbosity = cms.untracked.int32(0),
0032   FinalStep = cms.string("AtRunEnd"),
0033   InputFile = cms.string(""),
0034   OutputFile = cms.string(""),
0035   InputFolderName = cms.string("EgammaV/ElectronMcSignalValidator"),
0036   OutputFolderName = cms.string("EgammaV/ElectronMcSignalValidator"),
0037     
0038   mcTruthCollection = cms.InputTag("genParticles"),
0039   electronCollection = cms.InputTag("gedGsfElectrons"),
0040   electronCoreCollection = cms.InputTag("gedGsfElectronCores"),
0041   electronTrackCollection = cms.InputTag("electronGsfTracks"),
0042   electronSeedCollection = cms.InputTag("electronMergedSeeds"),
0043   # ajout 09/02/2015
0044   offlinePrimaryVertices = cms.InputTag("offlinePrimaryVertices"),
0045   # fin ajout
0046   
0047   beamSpot = cms.InputTag("offlineBeamSpot"),
0048   readAOD = cms.bool(False),
0049   
0050   isoFromDepsTk03            = cms.InputTag("eleIsoFromDepsTk03"),
0051   isoFromDepsTk04            = cms.InputTag("eleIsoFromDepsTk04"),
0052   isoFromDepsEcalFull03      = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalFull03"),
0053   isoFromDepsEcalFull04      = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalFull04"),
0054   isoFromDepsEcalReduced03   = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalReduced03"),
0055   isoFromDepsEcalReduced04   = cms.InputTag("eleIsoFromDepsEcalFromHitsByCrystalReduced04"),
0056   isoFromDepsHcal03          = cms.InputTag("eleIsoFromDepsHcalFromTowers03"),
0057   isoFromDepsHcal04          = cms.InputTag("eleIsoFromDepsHcalFromTowers04"),
0058   
0059   MaxPt = cms.double(1500.0),
0060   DeltaR = cms.double(0.05),
0061   MaxAbsEta = cms.double(2.5),
0062   MatchingID = cms.vint32(11,-11),
0063   MatchingMotherID = cms.vint32(23,24,-24,32),
0064   histosCfg = cms.PSet(electronMcSignalHistosCfg)
0065 )
0066 
0067 
0068