Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:26

0001 # Configuration file for RefTest_t   
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 process = cms.Process("TEST")
0006 
0007 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0008 
0009 process.maxEvents = cms.untracked.PSet(
0010     input = cms.untracked.int32(2)
0011 )
0012 
0013 process.source = cms.Source("EmptySource")
0014 
0015 process.WhatsItESProducer = cms.ESProducer("WhatsItESProducer")
0016 
0017 process.DoodadESSource = cms.ESSource("DoodadESSource")
0018 
0019 
0020 process.Thing = cms.EDProducer("ThingProducer",
0021     offsetDelta = cms.int32(1)
0022 )
0023 
0024 process.OtherThing = cms.EDProducer("OtherThingProducer")
0025 
0026 process.thingProducer = cms.EDProducer("ThingProducer",
0027                                        offsetDelta = cms.int32(100),
0028                                        nThings = cms.int32(50)
0029 )
0030 
0031 process.trackOfThingsProducerA = cms.EDProducer("TrackOfThingsProducer",
0032     inputTag = cms.InputTag('thingProducer'),
0033     keysToReference = cms.vuint32(0, 1, 2, 3, 4, 5, 6, 7, 8)
0034 )
0035 
0036 process.trackOfThingsProducerB = cms.EDProducer("TrackOfThingsProducer",
0037     inputTag = cms.InputTag('thingProducer'),
0038     keysToReference = cms.vuint32(0, 1, 2, 3)
0039 )
0040 
0041 process.trackOfThingsProducerC = cms.EDProducer("TrackOfThingsProducer",
0042     inputTag = cms.InputTag('thingProducer'),
0043     keysToReference = cms.vuint32(4, 5, 6, 7)
0044 )
0045 
0046 process.trackOfThingsProducerD = cms.EDProducer("TrackOfThingsProducer",
0047     inputTag = cms.InputTag('thingProducer'),
0048     keysToReference = cms.vuint32(10, 11, 12, 13, 14, 15, 16, 17, 18)
0049 )
0050 
0051 process.trackOfThingsProducerDMinus = cms.EDProducer("TrackOfThingsProducer",
0052     inputTag = cms.InputTag('thingProducer'),
0053     keysToReference = cms.vuint32(10, 11, 12, 13, 14, 15, 16, 17)
0054 )
0055 
0056 process.trackOfThingsProducerDPlus = cms.EDProducer("TrackOfThingsProducer",
0057     inputTag = cms.InputTag('thingProducer'),
0058     keysToReference = cms.vuint32(10, 11, 12, 13, 14, 15, 16, 17, 18, 21)
0059 )
0060 
0061 process.trackOfThingsProducerE = cms.EDProducer("TrackOfThingsProducer",
0062     inputTag = cms.InputTag('thingProducer'),
0063     keysToReference = cms.vuint32(10, 11, 12, 13, 14)
0064 )
0065 
0066 process.trackOfThingsProducerF = cms.EDProducer("TrackOfThingsProducer",
0067     inputTag = cms.InputTag('thingProducer'),
0068     keysToReference = cms.vuint32(14, 15, 16, 17)
0069 )
0070 
0071 process.trackOfThingsProducerG = cms.EDProducer("TrackOfThingsProducer",
0072     inputTag = cms.InputTag('thingProducer'),
0073     keysToReference = cms.vuint32(20, 21, 22, 23, 24, 25, 26, 27, 28)
0074 )
0075 
0076 process.trackOfThingsProducerH = cms.EDProducer("TrackOfThingsProducer",
0077     inputTag = cms.InputTag('thingProducer'),
0078     keysToReference = cms.vuint32(20, 21, 22, 23)
0079 )
0080 
0081 process.trackOfThingsProducerI = cms.EDProducer("TrackOfThingsProducer",
0082     inputTag = cms.InputTag('thingProducer'),
0083     keysToReference = cms.vuint32(24, 25, 26, 27)
0084 )
0085 
0086 process.trackOfThingsProducerJ = cms.EDProducer("TrackOfThingsProducer",
0087     inputTag = cms.InputTag('thingProducer'),
0088     keysToReference = cms.vuint32(30, 31, 32, 33, 34, 35, 36, 37, 38)
0089 )
0090 
0091 process.trackOfThingsProducerK = cms.EDProducer("TrackOfThingsProducer",
0092     inputTag = cms.InputTag('thingProducer'),
0093     keysToReference = cms.vuint32(30, 31, 32, 33)
0094 )
0095 
0096 process.trackOfThingsProducerL = cms.EDProducer("TrackOfThingsProducer",
0097     inputTag = cms.InputTag('thingProducer'),
0098     keysToReference = cms.vuint32(34, 35, 36, 37)
0099 )
0100 
0101 process.trackOfThingsProducerM = cms.EDProducer("TrackOfThingsProducer",
0102     inputTag = cms.InputTag('thingProducer'),
0103     keysToReference = cms.vuint32(40, 41, 42, 43, 44, 45, 46, 47, 48)
0104 )
0105 
0106 process.trackOfThingsProducerN = cms.EDProducer("TrackOfThingsProducer",
0107     inputTag = cms.InputTag('thingProducer'),
0108     keysToReference = cms.vuint32(40, 41, 42, 43)
0109 )
0110 
0111 process.trackOfThingsProducerO = cms.EDProducer("TrackOfThingsProducer",
0112     inputTag = cms.InputTag('thingProducer'),
0113     keysToReference = cms.vuint32(44, 45, 46, 47)
0114 )
0115 
0116 process.thinningThingProducerA = cms.EDProducer("ThinningThingProducer",
0117     inputTag = cms.InputTag('thingProducer'),
0118     trackTag = cms.InputTag('trackOfThingsProducerA'),
0119     offsetToThinnedKey = cms.uint32(0),
0120     expectedCollectionSize = cms.uint32(50)
0121 )
0122 
0123 process.thinningThingProducerB = cms.EDProducer("ThinningThingProducer",
0124     inputTag = cms.InputTag('thinningThingProducerA'),
0125     trackTag = cms.InputTag('trackOfThingsProducerB'),
0126     offsetToThinnedKey = cms.uint32(0),
0127     expectedCollectionSize = cms.uint32(9)
0128 )
0129 
0130 process.thinningThingProducerC = cms.EDProducer("ThinningThingProducer",
0131     inputTag = cms.InputTag('thinningThingProducerA'),
0132     trackTag = cms.InputTag('trackOfThingsProducerC'),
0133     offsetToThinnedKey = cms.uint32(0),
0134     expectedCollectionSize = cms.uint32(9)
0135 )
0136 
0137 process.thinningThingProducerD = cms.EDProducer("ThinningThingProducer",
0138     inputTag = cms.InputTag('thingProducer'),
0139     trackTag = cms.InputTag('trackOfThingsProducerD'),
0140     offsetToThinnedKey = cms.uint32(0),
0141     expectedCollectionSize = cms.uint32(50)
0142 )
0143 
0144 process.thinningThingProducerE = cms.EDProducer("ThinningThingProducer",
0145     inputTag = cms.InputTag('thinningThingProducerD'),
0146     trackTag = cms.InputTag('trackOfThingsProducerE'),
0147     offsetToThinnedKey = cms.uint32(10),
0148     expectedCollectionSize = cms.uint32(9)
0149 )
0150 
0151 process.thinningThingProducerF = cms.EDProducer("ThinningThingProducer",
0152     inputTag = cms.InputTag('thinningThingProducerD'),
0153     trackTag = cms.InputTag('trackOfThingsProducerF'),
0154     offsetToThinnedKey = cms.uint32(10),
0155     expectedCollectionSize = cms.uint32(9)
0156 )
0157 
0158 process.thinningThingProducerG = cms.EDProducer("ThinningThingProducer",
0159     inputTag = cms.InputTag('thingProducer'),
0160     trackTag = cms.InputTag('trackOfThingsProducerG'),
0161     offsetToThinnedKey = cms.uint32(0),
0162     expectedCollectionSize = cms.uint32(50)
0163 )
0164 
0165 process.thinningThingProducerH = cms.EDProducer("ThinningThingProducer",
0166     inputTag = cms.InputTag('thinningThingProducerG'),
0167     trackTag = cms.InputTag('trackOfThingsProducerH'),
0168     offsetToThinnedKey = cms.uint32(20),
0169     expectedCollectionSize = cms.uint32(9)
0170 )
0171 
0172 process.thinningThingProducerI = cms.EDProducer("ThinningThingProducer",
0173     inputTag = cms.InputTag('thinningThingProducerG'),
0174     trackTag = cms.InputTag('trackOfThingsProducerI'),
0175     offsetToThinnedKey = cms.uint32(20),
0176     expectedCollectionSize = cms.uint32(9)
0177 )
0178 
0179 process.thinningThingProducerJ = cms.EDProducer("ThinningThingProducer",
0180     inputTag = cms.InputTag('thingProducer'),
0181     trackTag = cms.InputTag('trackOfThingsProducerJ'),
0182     offsetToThinnedKey = cms.uint32(0),
0183     expectedCollectionSize = cms.uint32(50)
0184 )
0185 
0186 process.thinningThingProducerK = cms.EDProducer("ThinningThingProducer",
0187     inputTag = cms.InputTag('thinningThingProducerJ'),
0188     trackTag = cms.InputTag('trackOfThingsProducerK'),
0189     offsetToThinnedKey = cms.uint32(30),
0190     expectedCollectionSize = cms.uint32(9)
0191 )
0192 
0193 process.thinningThingProducerL = cms.EDProducer("ThinningThingProducer",
0194     inputTag = cms.InputTag('thinningThingProducerJ'),
0195     trackTag = cms.InputTag('trackOfThingsProducerL'),
0196     offsetToThinnedKey = cms.uint32(30),
0197     expectedCollectionSize = cms.uint32(9)
0198 )
0199 
0200 process.thinningThingProducerM = cms.EDProducer("ThinningThingProducer",
0201     inputTag = cms.InputTag('thingProducer'),
0202     trackTag = cms.InputTag('trackOfThingsProducerM'),
0203     offsetToThinnedKey = cms.uint32(0),
0204     expectedCollectionSize = cms.uint32(50)
0205 )
0206 
0207 process.thinningThingProducerN = cms.EDProducer("ThinningThingProducer",
0208     inputTag = cms.InputTag('thinningThingProducerM'),
0209     trackTag = cms.InputTag('trackOfThingsProducerN'),
0210     offsetToThinnedKey = cms.uint32(40),
0211     expectedCollectionSize = cms.uint32(9)
0212 )
0213 
0214 process.thinningThingProducerO = cms.EDProducer("ThinningThingProducer",
0215     inputTag = cms.InputTag('thinningThingProducerM'),
0216     trackTag = cms.InputTag('trackOfThingsProducerO'),
0217     offsetToThinnedKey = cms.uint32(40),
0218     expectedCollectionSize = cms.uint32(9)
0219 )
0220 
0221 process.out = cms.OutputModule("PoolOutputModule",
0222     fileName = cms.untracked.string('good.root'),
0223     outputCommands = cms.untracked.vstring(
0224         'keep *',
0225         'drop *_thingProducer_*_*',
0226         'drop *_thinningThingProducerD_*_*',
0227         'drop *_thinningThingProducerH_*_*',
0228         'drop *_thinningThingProducerI_*_*',
0229         'drop *_thinningThingProducerJ_*_*',
0230         'drop *_thinningThingProducerK_*_*',
0231         'drop *_thinningThingProducerL_*_*',
0232         'drop *_thinningThingProducerM_*_*',
0233         'drop *_thinningThingProducerN_*_*',
0234     )
0235 )
0236 
0237 process.out2 = cms.OutputModule("PoolOutputModule",
0238     fileName = cms.untracked.string('good2.root')
0239 )
0240 
0241 process.out_other = cms.OutputModule("PoolOutputModule",
0242     outputCommands = cms.untracked.vstring('drop *', 
0243         'keep edmtestOtherThings_*_*_*', 
0244         'keep *_TriggerResults_*_*'),
0245     fileName = cms.untracked.string('other_only.root')
0246 )
0247 
0248 process.thinningTestPath = cms.Path(process.thingProducer
0249                                     * process.trackOfThingsProducerA
0250                                     * process.trackOfThingsProducerB
0251                                     * process.trackOfThingsProducerC
0252                                     * process.trackOfThingsProducerD
0253                                     * process.trackOfThingsProducerDMinus
0254                                     * process.trackOfThingsProducerDPlus
0255                                     * process.trackOfThingsProducerE
0256                                     * process.trackOfThingsProducerF
0257                                     * process.trackOfThingsProducerG
0258                                     * process.trackOfThingsProducerH
0259                                     * process.trackOfThingsProducerI
0260                                     * process.trackOfThingsProducerJ
0261                                     * process.trackOfThingsProducerK
0262                                     * process.trackOfThingsProducerL
0263                                     * process.trackOfThingsProducerM
0264                                     * process.trackOfThingsProducerN
0265                                     * process.trackOfThingsProducerO
0266                                     * process.thinningThingProducerA
0267                                     * process.thinningThingProducerB
0268                                     * process.thinningThingProducerC
0269                                     * process.thinningThingProducerD
0270                                     * process.thinningThingProducerE
0271                                     * process.thinningThingProducerF
0272                                     * process.thinningThingProducerG
0273                                     * process.thinningThingProducerH
0274                                     * process.thinningThingProducerI
0275                                     * process.thinningThingProducerJ
0276                                     * process.thinningThingProducerK
0277                                     * process.thinningThingProducerL
0278                                     * process.thinningThingProducerM
0279                                     * process.thinningThingProducerN
0280                                     * process.thinningThingProducerO
0281 )
0282 
0283 process.p = cms.Path(process.Thing*process.OtherThing)
0284 process.outp = cms.EndPath(process.out*process.out2*process.out_other)