File indexing completed on 2024-04-06 12:09:23
0001
0002
0003
0004
0005 import FWCore.ParameterSet.Config as cms
0006
0007
0008
0009
0010
0011 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0012 dqmElectronAnalysis = DQMEDAnalyzer('ElectronAnalyzer',
0013
0014 Verbosity = cms.untracked.int32(0),
0015 FinalStep = cms.string("AtJobEnd"),
0016 InputFile = cms.string(""),
0017 OutputFile = cms.string(""),
0018 InputFolderName = cms.string("Egamma/Electrons"),
0019 OutputFolderName = cms.string("Egamma/Electrons"),
0020
0021 Selection = cms.int32(1),
0022 ElectronCollection = cms.InputTag("gedGsfElectrons"),
0023 MatchingObjectCollection = cms.InputTag("mergedSuperClusters"),
0024 TrackCollection = cms.InputTag("generalTracks"),
0025 GsfTrackCollection = cms.InputTag("electronGsfTracks"),
0026 VertexCollection = cms.InputTag("offlinePrimaryVertices"),
0027 BeamSpot = cms.InputTag("offlineBeamSpot"),
0028 ReadAOD = cms.bool(False),
0029
0030 MatchingCondition = cms.string("Cone"),
0031 MaxPtMatchingObject = cms.double(100.0),
0032 MaxAbsEtaMatchingObject = cms.double(2.5),
0033 DeltaR = cms.double(0.3),
0034
0035 MinEt = cms.double(10.),
0036 MinPt = cms.double(0.),
0037 MaxAbsEta = cms.double(2.5),
0038 SelectEb = cms.bool(False),
0039 SelectEe = cms.bool(False),
0040 SelectNotEbEeGap = cms.bool(False),
0041 SelectEcalDriven = cms.bool(False),
0042 SelectTrackerDriven = cms.bool(False),
0043 MinEopBarrel = cms.double(0.),
0044 MaxEopBarrel = cms.double(10000.),
0045 MinEopEndcaps = cms.double(0.),
0046 MaxEopEndcaps = cms.double(10000.),
0047 MinDetaBarrel = cms.double(0.),
0048 MaxDetaBarrel = cms.double(10000.),
0049 MinDetaEndcaps = cms.double(0.),
0050 MaxDetaEndcaps = cms.double(10000.),
0051 MinDphiBarrel = cms.double(0.),
0052 MaxDphiBarrel = cms.double(10000.),
0053 MinDphiEndcaps = cms.double(0.),
0054 MaxDphiEndcaps = cms.double(10000.),
0055 MinSigIetaIetaBarrel = cms.double(0.),
0056 MaxSigIetaIetaBarrel = cms.double(10000.),
0057 MinSigIetaIetaEndcaps = cms.double(0.),
0058 MaxSigIetaIetaEndcaps = cms.double(10000.),
0059 MaxHoeBarrel = cms.double(10000.),
0060 MaxHoeEndcaps = cms.double(10000.),
0061 MinMva = cms.double(-10000.),
0062 MaxTipBarrel = cms.double(10000.),
0063 MaxTipEndcaps = cms.double(10000.),
0064 MaxTkIso03 = cms.double(1.),
0065 MaxHcalIso03Depth1Barrel = cms.double(10000.),
0066 MaxHcalIso03Depth1Endcaps = cms.double(10000.),
0067 MaxHcalIso03Depth2Endcaps = cms.double(10000.),
0068 MaxEcalIso03Barrel = cms.double(10000.),
0069 MaxEcalIso03Endcaps = cms.double(10000.),
0070
0071 TriggerResults = cms.InputTag("TriggerResults::HLT"),
0072
0073 NbinEta = cms.int32(50), NbinEta2D = cms.int32(50), EtaMin = cms.double(-2.5), EtaMax = cms.double(2.5),
0074 NbinPhi = cms.int32(64), NbinPhi2D = cms.int32(32), PhiMax = cms.double(3.2), PhiMin = cms.double(-3.2),
0075 NbinPt = cms.int32(50), NbinPtEff = cms.int32(19), NbinPt2D = cms.int32(50), PtMax = cms.double(100.0),
0076 NbinP = cms.int32(50), NbinP2D = cms.int32(50), PMax = cms.double(300.0),
0077 NbinEop = cms.int32(50), NbinEop2D = cms.int32(30), EopMax = cms.double(5.0), EopMaxSht = cms.double(3.0),
0078 NbinDeta = cms.int32(100), DetaMin = cms.double(-0.005), DetaMax = cms.double(0.005),
0079 NbinDphi = cms.int32(100), DphiMin = cms.double(-0.01), DphiMax = cms.double(0.01),
0080 NbinDetaMatch = cms.int32(100), NbinDetaMatch2D = cms.int32(50), DetaMatchMin = cms.double(-0.05), DetaMatchMax = cms.double(0.05),
0081 NbinDphiMatch = cms.int32(100), NbinDphiMatch2D = cms.int32(50), DphiMatchMin = cms.double(-0.2), DphiMatchMax = cms.double(0.2),
0082 NbinFhits = cms.int32(30), FhitsMax = cms.double(30.0),
0083 NbinLhits = cms.int32(5), LhitsMax = cms.double(10.0),
0084 NbinXyz = cms.int32(50), NbinXyz2D = cms.int32(25),
0085 NbinPopTrue = cms.int32(75), PopTrueMin = cms.double(0.0), PopTrueMax = cms.double(1.5),
0086 NbinMee = cms.int32(100), MeeMin = cms.double(0.0), MeeMax = cms.double(150.),
0087 NbinHoe = cms.int32(100), HoeMin = cms.double(0.0), HoeMax = cms.double(0.5),
0088
0089
0090
0091 )
0092
0093 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
0094 phase2_hgcal.toModify( dqmElectronAnalysis, ElectronCollection = cms.InputTag("ecalDrivenGsfElectrons") )