00001 00002 import FWCore.ParameterSet.Config as cms 00003 00004 electronMcSignalHistosCfg = cms.PSet( 00005 Nbinxyz = cms.int32(50), 00006 Nbinp = cms.int32(50), Nbinp2D = cms.int32(50), Pmax = cms.double(300.0), 00007 Nbinpt = cms.int32(50), Nbinpt2D = cms.int32(50), Nbinpteff = cms.int32(19),Ptmax = cms.double(100.0), 00008 Nbinfhits = cms.int32(30), Fhitsmax = cms.double(30.0), 00009 Nbinlhits = cms.int32(5), Lhitsmax = cms.double(10.0), 00010 Nbineta = cms.int32(50), Nbineta2D = cms.int32(50),Etamin = cms.double(-2.5), Etamax = cms.double(2.5), 00011 Nbindeta = cms.int32(100), Detamin = cms.double(-0.005), Detamax = cms.double(0.005), 00012 Nbindetamatch = cms.int32(100), Nbindetamatch2D = cms.int32(50), Detamatchmin = cms.double(-0.05), Detamatchmax = cms.double(0.05), 00013 Nbinphi = cms.int32(64), Nbinphi2D = cms.int32(32), Phimin = cms.double(-3.2), Phimax = cms.double(3.2), 00014 Nbindphi = cms.int32(100), Dphimin = cms.double(-0.01), Dphimax = cms.double(0.01), 00015 Nbindphimatch = cms.int32(100), Nbindphimatch2D = cms.int32(50), Dphimatchmin = cms.double(-0.2), Dphimatchmax = cms.double(0.2), 00016 Nbineop = cms.int32(50), Nbineop2D = cms.int32(30), Eopmax = cms.double(5.0), Eopmaxsht = cms.double(3.0), 00017 Nbinmee = cms.int32(100), Meemin = cms.double(0.0), Meemax = cms.double(150.), 00018 Nbinhoe = cms.int32(100), Hoemin = cms.double(0.0), Hoemax = cms.double(0.5), 00019 Nbinpoptrue = cms.int32(75), Poptruemin = cms.double(0.0), Poptruemax = cms.double(1.5) 00020 ) 00021 00022 ElectronMcSignalValidator = cms.EDAnalyzer("ElectronMcSignalValidator", 00023 mcTruthCollection = cms.InputTag("genParticles"), 00024 electronCollection = cms.InputTag("gsfElectrons"), 00025 electronCoreCollection = cms.InputTag("gsfElectronCores"), 00026 electronTrackCollection = cms.InputTag("electronGsfTracks"), 00027 electronSeedCollection = cms.InputTag("electronMergedSeeds"), 00028 beamSpot = cms.InputTag("offlineBeamSpot"), 00029 readAOD = cms.bool(False), 00030 outputFile = cms.string(""), 00031 MaxPt = cms.double(100.0), 00032 DeltaR = cms.double(0.05), 00033 MaxAbsEta = cms.double(2.5), 00034 MatchingID = cms.vint32(11,-11), 00035 MatchingMotherID = cms.vint32(23,24,-24,32), 00036 histosCfg = cms.PSet(electronMcSignalHistosCfg) 00037 ) 00038 00039 00040