File indexing completed on 2025-02-20 03:45:11
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def HLTGenResSource(*args, **kwargs):
0004 mod = cms.EDProducer('HLTGenResSource',
0005 dqmDirName = cms.string('HLTGenVal'),
0006 hltProcessName = cms.string('HLT'),
0007 trigEvent = cms.InputTag('hltTriggerSummaryAOD'),
0008 genConfig = cms.PSet(
0009 genParticles = cms.InputTag('genParticles'),
0010 genMET = cms.InputTag('genMetTrue'),
0011 ak4GenJets = cms.InputTag('ak4GenJetsNoNu'),
0012 ak8GenJets = cms.InputTag('ak8GenJetsNoNu'),
0013 tauGenJets = cms.InputTag('tauGenJets'),
0014 maxPromptGenJetFrac = cms.double(0.1),
0015 minPtForGenHT = cms.double(30),
0016 maxAbsEtaForGenHT = cms.double(2.5)
0017 ),
0018 resCollConfigs = cms.VPSet(
0019 template = cms.PSetTemplate(
0020 objType = cms.string(''),
0021 filterNames = cms.vstring(),
0022 andFilters = cms.bool(True),
0023 collectionName = cms.string(''),
0024 dR2limit = cms.double(0.1),
0025 histConfigs = cms.VPSet(
0026 cms.PSet(
0027 resBinLowEdges = cms.vdouble(
0028 0,
0029 0.01,
0030 0.02,
0031 0.03,
0032 0.04,
0033 0.05,
0034 0.06,
0035 0.07,
0036 0.08,
0037 0.09,
0038 0.1,
0039 0.11,
0040 0.12,
0041 0.13,
0042 0.14,
0043 0.15,
0044 0.16,
0045 0.17,
0046 0.18,
0047 0.19,
0048 0.2,
0049 0.21,
0050 0.22,
0051 0.23,
0052 0.24,
0053 0.25,
0054 0.26,
0055 0.27,
0056 0.28,
0057 0.29,
0058 0.3,
0059 0.31,
0060 0.32,
0061 0.33,
0062 0.34,
0063 0.35000000000000003,
0064 0.36,
0065 0.37,
0066 0.38,
0067 0.39,
0068 0.4,
0069 0.41000000000000003,
0070 0.42,
0071 0.43,
0072 0.44,
0073 0.45,
0074 0.46,
0075 0.47000000000000003,
0076 0.48,
0077 0.49,
0078 0.5,
0079 0.51,
0080 0.52,
0081 0.53,
0082 0.54,
0083 0.55,
0084 0.56,
0085 0.57000000000000006,
0086 0.58,
0087 0.59,
0088 0.6,
0089 0.61,
0090 0.62,
0091 0.63,
0092 0.64,
0093 0.65,
0094 0.66,
0095 0.67,
0096 0.68,
0097 0.69000000000000006,
0098 0.70000000000000007,
0099 0.71,
0100 0.72,
0101 0.73,
0102 0.74,
0103 0.75,
0104 0.76,
0105 0.77,
0106 0.78,
0107 0.79,
0108 0.8,
0109 0.81,
0110 0.82000000000000006,
0111 0.83000000000000007,
0112 0.84,
0113 0.85,
0114 0.86,
0115 0.87,
0116 0.88,
0117 0.89,
0118 0.9,
0119 0.91,
0120 0.92,
0121 0.93,
0122 0.94000000000000006,
0123 0.95000000000000007,
0124 0.96,
0125 0.97,
0126 0.98,
0127 0.99,
0128 1,
0129 1.01,
0130 1.02,
0131 1.03,
0132 1.04,
0133 1.05,
0134 1.06,
0135 1.07,
0136 1.08,
0137 1.09,
0138 1.1,
0139 1.11,
0140 1.12,
0141 1.1300000000000001,
0142 1.1400000000000001,
0143 1.1500000000000001,
0144 1.16,
0145 1.17,
0146 1.18,
0147 1.19,
0148 1.2,
0149 1.21,
0150 1.22,
0151 1.23,
0152 1.24,
0153 1.25,
0154 1.26,
0155 1.27,
0156 1.28,
0157 1.29,
0158 1.3,
0159 1.31,
0160 1.32,
0161 1.33,
0162 1.34,
0163 1.35,
0164 1.36,
0165 1.37,
0166 1.3800000000000001,
0167 1.3900000000000001,
0168 1.4000000000000001,
0169 1.41,
0170 1.42,
0171 1.43,
0172 1.44,
0173 1.45,
0174 1.46,
0175 1.47,
0176 1.48,
0177 1.49,
0178 1.5
0179 ),
0180 resVar = cms.string('ptRes'),
0181 vsBinLowEdges = cms.vdouble(
0182 0,
0183 5,
0184 10,
0185 12.5,
0186 15,
0187 17.5,
0188 20,
0189 22.5,
0190 25,
0191 30,
0192 35,
0193 40,
0194 45,
0195 50,
0196 60,
0197 80,
0198 100,
0199 150,
0200 200,
0201 250,
0202 300,
0203 350,
0204 400
0205 ),
0206 vsVar = cms.string('pt')
0207 ),
0208 template = cms.PSetTemplate(
0209 vsVar = cms.required.string,
0210 resVar = cms.required.string,
0211 vsBinLowEdges = cms.required.vdouble,
0212 resBinLowEdges = cms.required.vdouble,
0213 rangeCuts = cms.VPSet(
0214 template = cms.PSetTemplate(
0215 rangeVar = cms.string(''),
0216 allowedRanges = cms.vstring()
0217 )
0218 )
0219 )
0220 ),
0221 histConfigs2D = cms.VPSet(
0222 template = cms.PSetTemplate(
0223 vsVarX = cms.required.string,
0224 vsVarY = cms.required.string,
0225 binLowEdgesX = cms.required.vdouble,
0226 binLowEdgesY = cms.required.vdouble,
0227 rangeCuts = cms.VPSet(
0228 template = cms.PSetTemplate(
0229 rangeVar = cms.string(''),
0230 allowedRanges = cms.vstring()
0231 )
0232 )
0233 )
0234 )
0235 )
0236 ),
0237 mightGet = cms.optional.untracked.vstring
0238 )
0239 for a in args:
0240 mod.update_(a)
0241 mod.update_(kwargs)
0242 return mod