File indexing completed on 2025-02-20 03:45:04
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def ThinningDSVTestAnalyzer(*args, **kwargs):
0004 mod = cms.EDAnalyzer('ThinningDSVTestAnalyzer',
0005 parentTag = cms.required.InputTag,
0006 thinnedTag = cms.required.InputTag,
0007 associationTag = cms.required.InputTag,
0008 trackTag = cms.required.InputTag,
0009 parentWasDropped = cms.bool(False),
0010 thinnedWasDropped = cms.bool(False),
0011 thinnedIsAlias = cms.bool(False),
0012 refToParentIsAvailable = cms.bool(True),
0013 expectedParentContent = cms.VPSet(
0014 template = cms.PSetTemplate(
0015 id = cms.required.uint32,
0016 values = cms.vint32()
0017 )
0018 ),
0019 expectedThinnedContent = cms.VPSet(
0020 template = cms.PSetTemplate(
0021 id = cms.required.uint32,
0022 values = cms.vint32()
0023 )
0024 ),
0025 expectedIndexesIntoParent = cms.vuint32(),
0026 associationShouldBeDropped = cms.bool(False),
0027 expectedNumberOfTracks = cms.uint32(5),
0028 expectedValues = cms.required.vint32,
0029 parentSlimmedCount = cms.int32(0),
0030 thinnedSlimmedCount = cms.int32(0),
0031 refSlimmedCount = cms.int32(0),
0032 slimmedValueFactor = cms.int32(10),
0033 mightGet = cms.optional.untracked.vstring
0034 )
0035 for a in args:
0036 mod.update_(a)
0037 mod.update_(kwargs)
0038 return mod