Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:27

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