Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-08-27 22:59:35

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def HLTGenValSource(**kwargs):
0004   mod = cms.EDProducer('HLTGenValSource',
0005     objType = cms.required.string,
0006     hltPathsToCheck = cms.required.vstring,
0007     dqmDirName = cms.string('HLTGenVal'),
0008     hltProcessName = cms.string('HLT'),
0009     dR2limit = cms.double(0.1),
0010     doOnlyLastFilter = cms.bool(False),
0011     inputCollections = cms.PSet(
0012       genParticles = cms.InputTag('genParticles'),
0013       genMET = cms.InputTag('genMetTrue'),
0014       ak4GenJets = cms.InputTag('ak4GenJets'),
0015       ak8GenJets = cms.InputTag('ak8GenJets'),
0016       TrigEvent = cms.InputTag('hltTriggerSummaryAOD')
0017     ),
0018     histConfigs = cms.VPSet(
0019       cms.PSet(
0020         binLowEdges = cms.vdouble(
0021           0,
0022           5,
0023           10,
0024           12.5,
0025           15,
0026           17.5,
0027           20,
0028           22.5,
0029           25,
0030           30,
0031           35,
0032           40,
0033           45,
0034           50,
0035           60,
0036           80,
0037           100,
0038           150,
0039           200,
0040           250,
0041           300,
0042           350,
0043           400
0044         ),
0045         vsVar = cms.string('pt')
0046       ),
0047       cms.PSet(
0048         binLowEdges = cms.vdouble(
0049           -10,
0050           -8,
0051           -6,
0052           -5,
0053           -4,
0054           -3,
0055           -2,
0056           -1,
0057           0,
0058           1,
0059           2,
0060           3,
0061           4,
0062           5,
0063           6,
0064           8,
0065           10
0066         ),
0067         vsVar = cms.string('eta')
0068       )
0069     ),
0070     histConfigs2D = cms.VPSet(
0071       cms.PSet(
0072         binLowEdgesX = cms.vdouble(
0073           0,
0074           5,
0075           10,
0076           12.5,
0077           15,
0078           17.5,
0079           20,
0080           22.5,
0081           25,
0082           30,
0083           35,
0084           40,
0085           45,
0086           50,
0087           60,
0088           80,
0089           100,
0090           150,
0091           200,
0092           250,
0093           300,
0094           350,
0095           400
0096         ),
0097         binLowEdgesY = cms.vdouble(
0098           -10,
0099           -8,
0100           -6,
0101           -5,
0102           -4,
0103           -3,
0104           -2,
0105           -1,
0106           0,
0107           1,
0108           2,
0109           3,
0110           4,
0111           5,
0112           6,
0113           8,
0114           10
0115         ),
0116         vsVarX = cms.string('pt'),
0117         vsVarY = cms.string('eta')
0118       )
0119     ),
0120     binnings = cms.VPSet(
0121     ),
0122     mightGet = cms.optional.untracked.vstring
0123   )
0124   for k,v in kwargs.items():
0125     setattr(mod, k, v)
0126   return mod