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