Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:42

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 process.MessageLogger.cerr.threshold = 'INFO'
0007 process.MessageLogger.cerr.INFO.limit = 200
0008 
0009 #process.options = cms.untracked.PSet(forceEventSetupCacheClearOnNewRun = cms.untracked.bool(True))
0010 
0011 process.maxEvents = cms.untracked.PSet(
0012     input = cms.untracked.int32(10)
0013 )
0014 
0015 process.source = cms.Source("EmptySource",
0016     firstRun = cms.untracked.uint32(1),
0017     firstLuminosityBlock = cms.untracked.uint32(1),
0018     firstEvent = cms.untracked.uint32(1),
0019     numberEventsInLuminosityBlock = cms.untracked.uint32(1),
0020     numberEventsInRun = cms.untracked.uint32(1)
0021 )
0022 
0023 process.emptyESSourceA = cms.ESSource("EmptyESSource",
0024     recordName = cms.string("ESTestRecordA"),
0025     firstValid = cms.vuint32(1,2,3,4,5,6,7,8,9),
0026     iovIsRunNotTime = cms.bool(True)
0027 )
0028 
0029 process.emptyESSourceA1 = cms.ESSource("EmptyESSource",
0030     recordName = cms.string("ESTestRecordA"),
0031     firstValid = cms.vuint32(1),
0032     iovIsRunNotTime = cms.bool(True)
0033 )
0034 
0035 process.emptyESSourceZ = cms.ESSource("EmptyESSource",
0036     recordName = cms.string("ESTestRecordZ"),
0037     #NOTE: although there is no IOV boundary at 2 a later
0038     # SubProcess will add a boundary there. This will induce
0039     # the framework to add one here even for this Process
0040     firstValid = cms.vuint32(1,3,5,7,9),
0041     iovIsRunNotTime = cms.bool(True)
0042 )
0043 
0044 process.esTestProducerA = cms.ESProducer("ESTestProducerA")
0045 
0046 process.esTestProducerA1 = cms.ESProducer("ESTestProducerA",
0047     appendToDataLabel = cms.string('abc')
0048 )
0049 
0050 process.esTestProducerAZ = cms.ESProducer("ESTestProducerAZ")
0051 
0052 process.esTestAnalyzerA = cms.EDAnalyzer("ESTestAnalyzerA",
0053     runsToGetDataFor = cms.vint32(1,2,3,4,5,6,7,8,9,10),
0054     expectedValues=cms.untracked.vint32(1,2,3,4,5,6,7,8,9,9)
0055 )
0056 
0057 process.esTestAnalyzerAZ = cms.EDAnalyzer("ESTestAnalyzerAZ",
0058     runsToGetDataFor = cms.vint32(1,2,3,4,5,6,7,8,9,10),
0059     expectedValuesA=cms.untracked.vint32(1,2,3,4,5,6,7,8,9,9),
0060     expectedValuesZ=cms.untracked.vint32(1,2,3,3,4,4,5,5,6,6)
0061 )
0062 
0063 process.path1 = cms.Path(process.esTestAnalyzerA*process.esTestAnalyzerAZ)
0064 
0065 # -----------------------------------------------------------
0066 # The primary goal is to test the sharing of ESProducers
0067 # between SubProcess's and the top level process. We do this
0068 # in a series of many SubProcess's
0069 
0070 # The first SubProcess includes an ESTestProducerA
0071 # which should be shared between this SubProcess
0072 # and the previous process.  This is visible in the output
0073 # because the data value printed by the ESTestAnalyzerA is
0074 # incremented every time the ESTestProducer::produce method
0075 # is called. This produce method will be called if something
0076 # gets the data it produces while the event is being
0077 # processed. In the first process the data is gotten
0078 # on the first 9 events so there and for anything that
0079 # shares its producer the values will increment
0080 # on those events. In this SubProcess the data is not
0081 # gotten on event 2 so the counter will not be incremented
0082 # on that event and so a different value will get printed
0083 # if this process is not sharing the ESProducer from the
0084 # previous process.
0085 
0086 process1 = cms.Process("TEST1")
0087 process.addSubProcess(cms.SubProcess(process1))
0088 
0089 process1.emptyESSourceA = cms.ESSource("EmptyESSource",
0090     recordName = cms.string("ESTestRecordA"),
0091     firstValid = cms.vuint32(1,2,3,4,5,6,7,8,9),
0092     iovIsRunNotTime = cms.bool(True)
0093 )
0094 
0095 process1.emptyESSourceA1 = cms.ESSource("EmptyESSource",
0096     recordName = cms.string("ESTestRecordA"),
0097     firstValid = cms.vuint32(1),
0098     iovIsRunNotTime = cms.bool(True)
0099 )
0100 
0101 process1.emptyESSourceZ = cms.ESSource("EmptyESSource",
0102     recordName = cms.string("ESTestRecordZ"),
0103     firstValid = cms.vuint32(1,3,5,7,9),
0104     iovIsRunNotTime = cms.bool(True)
0105 )
0106 
0107 process1.esTestProducerA = cms.ESProducer("ESTestProducerA")
0108 
0109 process1.esTestProducerA1 = cms.ESProducer("ESTestProducerA",
0110     appendToDataLabel = cms.string('abc')
0111 )
0112 
0113 process1.esTestProducerAZ = cms.ESProducer("ESTestProducerAZ")
0114 
0115 process1.esTestAnalyzerA = cms.EDAnalyzer("ESTestAnalyzerA",
0116     runsToGetDataFor = cms.vint32(1,3,4,5,6,7,8,9,10),
0117     #NOTE: prefetching will still cause the data to be gotten even if the module does not do a get
0118     expectedValues=cms.untracked.vint32(1,3,4,5,6,7,8,9,9)
0119 )
0120 
0121 process1.path1 = cms.Path(process1.esTestAnalyzerA)
0122 
0123 
0124 # ---------------------------------------------------------------
0125 # The ESTestProducer should not shared in this SubProcess
0126 # because of a difference in a tracked parameter
0127 
0128 process2 = cms.Process("TEST2")
0129 process1.addSubProcess(cms.SubProcess(process2))
0130 
0131 process2.emptyESSourceA = cms.ESSource("EmptyESSource",
0132     recordName = cms.string("ESTestRecordA"),
0133     firstValid = cms.vuint32(1,2,3,4,5,6,7,8,9),
0134     iovIsRunNotTime = cms.bool(True)
0135 )
0136 
0137 process2.emptyESSourceA1 = cms.ESSource("EmptyESSource",
0138     recordName = cms.string("ESTestRecordA"),
0139     firstValid = cms.vuint32(1),
0140     iovIsRunNotTime = cms.bool(True)
0141 )
0142 
0143 process2.emptyESSourceZ = cms.ESSource("EmptyESSource",
0144     recordName = cms.string("ESTestRecordZ"),
0145     firstValid = cms.vuint32(1,3,5,7,9),
0146     iovIsRunNotTime = cms.bool(True)
0147 )
0148 
0149 process2.esTestProducerA = cms.ESProducer("ESTestProducerA",
0150     dummy = cms.string("test")
0151 )
0152 
0153 process2.esTestProducerA1 = cms.ESProducer("ESTestProducerA",
0154     appendToDataLabel = cms.string('abc')
0155 )
0156 
0157 process2.esTestProducerAZ = cms.ESProducer("ESTestProducerAZ")
0158 
0159 process2.esTestAnalyzerA = cms.EDAnalyzer("ESTestAnalyzerA",
0160     runsToGetDataFor = cms.vint32(1,3,4,5,6,7,8,9,10),
0161     #NOTE: prefetching will still cause the data to be gotten even if the module does not do a get
0162     expectedValues=cms.untracked.vint32(1,3,4,5,6,7,8,9,9)
0163 )
0164 
0165 process2.path1 = cms.Path(process2.esTestAnalyzerA)
0166 
0167 # ---------------------------------------------------------------
0168 # The ESTestProducer should not shared in this SubProcess
0169 # because of a difference in an untracked parameter
0170 # Data is not gotten on event 3.
0171 
0172 process3 = cms.Process("TEST3")
0173 process2.addSubProcess(cms.SubProcess(process3))
0174 
0175 process3.emptyESSourceA = cms.ESSource("EmptyESSource",
0176     recordName = cms.string("ESTestRecordA"),
0177     firstValid = cms.vuint32(1,2,3,4,5,6,7,8,9),
0178     iovIsRunNotTime = cms.bool(True)
0179 )
0180 
0181 process3.emptyESSourceA1 = cms.ESSource("EmptyESSource",
0182     recordName = cms.string("ESTestRecordA"),
0183     firstValid = cms.vuint32(1),
0184     iovIsRunNotTime = cms.bool(True)
0185 )
0186 
0187 process3.emptyESSourceZ = cms.ESSource("EmptyESSource",
0188     recordName = cms.string("ESTestRecordZ"),
0189     firstValid = cms.vuint32(1,3,5,7,9),
0190     iovIsRunNotTime = cms.bool(True)
0191 )
0192 
0193 process3.esTestProducerA = cms.ESProducer("ESTestProducerA",
0194     dummy = cms.untracked.string("test")
0195 )
0196 
0197 process3.esTestProducerA1 = cms.ESProducer("ESTestProducerA",
0198     appendToDataLabel = cms.string('abc')
0199 )
0200 
0201 process3.esTestProducerAZ = cms.ESProducer("ESTestProducerAZ")
0202 
0203 process3.esTestAnalyzerA = cms.EDAnalyzer("ESTestAnalyzerA",
0204     runsToGetDataFor = cms.vint32(1,2,4,5,6,7,8,9,10),
0205     #NOTE: prefetching will still cause the data to be gotten even if the module does not do a get
0206     expectedValues=cms.untracked.vint32(1,2,4,5,6,7,8,9,9)
0207 )
0208 
0209 process3.path1 = cms.Path(process3.esTestAnalyzerA)
0210 
0211 # ---------------------------------------------------------------
0212 # The ESTestProducer should not shared in this SubProcess
0213 # because of an extra ESProducer adding data to the same record
0214 # even though it has one ESProducer whose configuration matches
0215 # exactly. No data gotten on event 4 and 5.
0216 
0217 process4 = cms.Process("TEST4")
0218 process3.addSubProcess(cms.SubProcess(process4))
0219 
0220 process4.emptyESSourceA = cms.ESSource("EmptyESSource",
0221     recordName = cms.string("ESTestRecordA"),
0222     firstValid = cms.vuint32(1,2,3,4,5,6,7,8,9),
0223     iovIsRunNotTime = cms.bool(True)
0224 )
0225 
0226 process4.emptyESSourceA1 = cms.ESSource("EmptyESSource",
0227     recordName = cms.string("ESTestRecordA"),
0228     firstValid = cms.vuint32(1),
0229     iovIsRunNotTime = cms.bool(True)
0230 )
0231 
0232 process4.emptyESSourceZ = cms.ESSource("EmptyESSource",
0233     recordName = cms.string("ESTestRecordZ"),
0234     #NOTE: although there is no IOV boundary at 2 a later
0235     # SubProcess will add a boundary there. This will induce
0236     # the framework to add one here even for this Process
0237     firstValid = cms.vuint32(1,3,5,7,9),
0238     iovIsRunNotTime = cms.bool(True)
0239 )
0240 
0241 process4.esTestProducerA = cms.ESProducer("ESTestProducerA")
0242 
0243 process4.esTestProducerA1 = cms.ESProducer("ESTestProducerA",
0244     appendToDataLabel = cms.string('abc')
0245 )
0246 
0247 process4.esTestProducerA2 = cms.ESProducer("ESTestProducerA",
0248     appendToDataLabel = cms.string('abcd')
0249 )
0250 
0251 process4.esTestProducerAZ = cms.ESProducer("ESTestProducerAZ")
0252 
0253 process4.esTestAnalyzerA = cms.EDAnalyzer("ESTestAnalyzerA",
0254     runsToGetDataFor = cms.vint32(1,2,3,6,7,8,9,10),
0255     #NOTE: prefetching will still cause the data to be gotten even if the module does not do a get
0256     expectedValues=cms.untracked.vint32(1,2,3,6,7,8,9,9)
0257 )
0258 
0259 process4.esTestAnalyzerAZ = cms.EDAnalyzer("ESTestAnalyzerAZ",
0260     runsToGetDataFor = cms.vint32(3,4,5,6,7,8,9,10),
0261     #NOTE: This module does do prefetching
0262     expectedValuesA=cms.untracked.vint32(3,4,5,6,7,8,9,9),
0263     expectedValuesZ=cms.untracked.vint32(3,3,4,4,5,5,6,6)
0264 )
0265 
0266 process4.path1 = cms.Path(process4.esTestAnalyzerA*process4.esTestAnalyzerAZ)
0267 
0268 # ---------------------------------------------------------------
0269 # Same as previous. Should share with the previous one
0270 # not anything earlier. No data gotten on events 4, 5, and 6.
0271 
0272 process5 = cms.Process("TEST5")
0273 process4.addSubProcess(cms.SubProcess(process5))
0274 
0275 process5.emptyESSourceA = cms.ESSource("EmptyESSource",
0276     recordName = cms.string("ESTestRecordA"),
0277     firstValid = cms.vuint32(1,2,3,4,5,6,7,8,9),
0278     iovIsRunNotTime = cms.bool(True)
0279 )
0280 
0281 process5.emptyESSourceA1 = cms.ESSource("EmptyESSource",
0282     recordName = cms.string("ESTestRecordA"),
0283     firstValid = cms.vuint32(1),
0284     iovIsRunNotTime = cms.bool(True)
0285 )
0286 
0287 process5.emptyESSourceZ = cms.ESSource("EmptyESSource",
0288     recordName = cms.string("ESTestRecordZ"),
0289     firstValid = cms.vuint32(1,3,5,7,9),
0290     iovIsRunNotTime = cms.bool(True)
0291 )
0292 
0293 process5.esTestProducerA = cms.ESProducer("ESTestProducerA",
0294 )
0295 
0296 process5.esTestProducerA1 = cms.ESProducer("ESTestProducerA",
0297     appendToDataLabel = cms.string('abc')
0298 )
0299 
0300 process5.esTestProducerA2 = cms.ESProducer("ESTestProducerA",
0301     appendToDataLabel = cms.string('abcd')
0302 )
0303 
0304 process5.esTestProducerAZ = cms.ESProducer("ESTestProducerAZ")
0305 
0306 process5.esTestAnalyzerA = cms.EDAnalyzer("ESTestAnalyzerA",
0307     runsToGetDataFor = cms.vint32(1,2,3,7,8,9,10),
0308     #NOTE: prefetching will still cause the data to be gotten even if the module does not do a get
0309     expectedValues=cms.untracked.vint32(1,2,3,7,8,9,9)
0310 )
0311 
0312 process5.esTestAnalyzerAZ = cms.EDAnalyzer("ESTestAnalyzerAZ",
0313     runsToGetDataFor = cms.vint32(5,6,7,8,9,10),
0314     #NOTE: This module does do prefetching
0315     expectedValuesA=cms.untracked.vint32(5,6,7,8,9,9),
0316     expectedValuesZ=cms.untracked.vint32(4,4,5,5,6,6)
0317 )
0318 
0319 process5.path1 = cms.Path(process5.esTestAnalyzerA*process5.esTestAnalyzerAZ)
0320 
0321 # ---------------------------------------------------------------
0322 # Same as original except one less ESProducer for record.
0323 # No data gotten on event 7
0324 
0325 process6 = cms.Process("TEST6")
0326 process5.addSubProcess(cms.SubProcess(process6))
0327 
0328 process6.emptyESSourceA = cms.ESSource("EmptyESSource",
0329     recordName = cms.string("ESTestRecordA"),
0330     firstValid = cms.vuint32(1,2,3,4,5,6,7,8,9),
0331     iovIsRunNotTime = cms.bool(True)
0332 )
0333 
0334 process6.emptyESSourceA1 = cms.ESSource("EmptyESSource",
0335     recordName = cms.string("ESTestRecordA"),
0336     firstValid = cms.vuint32(1),
0337     iovIsRunNotTime = cms.bool(True)
0338 )
0339 
0340 process6.emptyESSourceZ = cms.ESSource("EmptyESSource",
0341     recordName = cms.string("ESTestRecordZ"),
0342     firstValid = cms.vuint32(1,3,5,7,9),
0343     iovIsRunNotTime = cms.bool(True)
0344 )
0345 
0346 process6.esTestProducerA = cms.ESProducer("ESTestProducerA")
0347 
0348 process6.esTestProducerAZ = cms.ESProducer("ESTestProducerAZ")
0349 
0350 process6.esTestAnalyzerA = cms.EDAnalyzer("ESTestAnalyzerA",
0351     runsToGetDataFor = cms.vint32(1,2,3,4,5,6,8,9,10),
0352     #NOTE: prefetching will still cause the data to be gotten even if the module does not do a get
0353     expectedValues=cms.untracked.vint32(1,2,3,4,5,6,8,9,9)
0354 
0355 )
0356 
0357 process6.path1 = cms.Path(process6.esTestAnalyzerA)
0358 
0359 # ---------------------------------------------------------------
0360 # Same as original except an ESProducer associated with
0361 # same record has a differing ParameterSet. No data
0362 # gotten on event 8.
0363 
0364 process7 = cms.Process("TEST7")
0365 process6.addSubProcess(cms.SubProcess(process7))
0366 
0367 process7.emptyESSourceA = cms.ESSource("EmptyESSource",
0368     recordName = cms.string("ESTestRecordA"),
0369     firstValid = cms.vuint32(1,2,3,4,5,6,7,8,9),
0370     iovIsRunNotTime = cms.bool(True)
0371 )
0372 
0373 process7.emptyESSourceA1 = cms.ESSource("EmptyESSource",
0374     recordName = cms.string("ESTestRecordA"),
0375     firstValid = cms.vuint32(1),
0376     iovIsRunNotTime = cms.bool(True)
0377 )
0378 
0379 process7.emptyESSourceZ = cms.ESSource("EmptyESSource",
0380     recordName = cms.string("ESTestRecordZ"),
0381     firstValid = cms.vuint32(1,3,5,7,9),
0382     iovIsRunNotTime = cms.bool(True)
0383 )
0384 
0385 process7.esTestProducerA = cms.ESProducer("ESTestProducerA")
0386 
0387 process7.esTestProducerA1 = cms.ESProducer("ESTestProducerA",
0388     appendToDataLabel = cms.string('xyz')
0389 )
0390 
0391 process7.esTestProducerAZ = cms.ESProducer("ESTestProducerAZ")
0392 
0393 process7.esTestAnalyzerA = cms.EDAnalyzer("ESTestAnalyzerA",
0394     runsToGetDataFor = cms.vint32(1,2,3,4,5,6,7,9,10),
0395     #NOTE: prefetching will still cause the data to be gotten even if the module does not do a get
0396     expectedValues=cms.untracked.vint32(1,2,3,4,5,6,7,9,9)
0397 )
0398 
0399 process7.path1 = cms.Path(process7.esTestAnalyzerA)
0400 
0401 # ---------------------------------------------------------------
0402 # Same as original except an ESProducer associated with
0403 # same record has a differing ParameterSet, an untracked
0404 # difference. No data gotten on event 1 to 4.
0405 
0406 process8 = cms.Process("TEST8")
0407 process7.addSubProcess(cms.SubProcess(process8))
0408 
0409 process8.emptyESSourceA = cms.ESSource("EmptyESSource",
0410     recordName = cms.string("ESTestRecordA"),
0411     firstValid = cms.vuint32(1,2,3,4,5,6,7,8,9),
0412     iovIsRunNotTime = cms.bool(True)
0413 )
0414 
0415 process8.emptyESSourceA1 = cms.ESSource("EmptyESSource",
0416     recordName = cms.string("ESTestRecordA"),
0417     firstValid = cms.vuint32(1),
0418     iovIsRunNotTime = cms.bool(True)
0419 )
0420 
0421 process8.emptyESSourceZ = cms.ESSource("EmptyESSource",
0422     recordName = cms.string("ESTestRecordZ"),
0423     firstValid = cms.vuint32(1,3,5,7,9),
0424     iovIsRunNotTime = cms.bool(True)
0425 )
0426 
0427 process8.esTestProducerA = cms.ESProducer("ESTestProducerA")
0428 
0429 process8.esTestProducerA1 = cms.ESProducer("ESTestProducerA",
0430     appendToDataLabel = cms.string('abc'),
0431     test = cms.untracked.string('q')
0432 )
0433 
0434 process8.esTestProducerAZ = cms.ESProducer("ESTestProducerAZ")
0435 
0436 
0437 process8.esTestAnalyzerA = cms.EDAnalyzer("ESTestAnalyzerA",
0438     runsToGetDataFor = cms.vint32(5,6,7,8,9,10),
0439     #NOTE: prefetching will still cause the data to be gotten even if the module does not do a get
0440     expectedValues=cms.untracked.vint32(5,6,7,8,9,9)
0441 )
0442 
0443 process8.path1 = cms.Path(process8.esTestAnalyzerA)
0444 
0445 # ---------------------------------------------------------------
0446 # Same as original except one less ESSource associated with the
0447 # same record. No data gotten on event 1 to 5.
0448 
0449 process9 = cms.Process("TEST9")
0450 process8.addSubProcess(cms.SubProcess(process9))
0451 
0452 process9.emptyESSourceA = cms.ESSource("EmptyESSource",
0453     recordName = cms.string("ESTestRecordA"),
0454     firstValid = cms.vuint32(1,2,3,4,5,6,7,8,9),
0455     iovIsRunNotTime = cms.bool(True)
0456 )
0457 
0458 process9.emptyESSourceZ = cms.ESSource("EmptyESSource",
0459     recordName = cms.string("ESTestRecordZ"),
0460     firstValid = cms.vuint32(1,3,5,7,9),
0461     iovIsRunNotTime = cms.bool(True)
0462 )
0463 
0464 process9.esTestProducerA = cms.ESProducer("ESTestProducerA")
0465 
0466 process9.esTestProducerA1 = cms.ESProducer("ESTestProducerA",
0467     appendToDataLabel = cms.string('abc')
0468 )
0469 
0470 process9.esTestProducerAZ = cms.ESProducer("ESTestProducerAZ")
0471 
0472 process9.esTestAnalyzerA = cms.EDAnalyzer("ESTestAnalyzerA",
0473     runsToGetDataFor = cms.vint32(6,7,8,9,10),
0474     #NOTE: prefetching will still cause the data to be gotten even if the module does not do a get
0475     expectedValues=cms.untracked.vint32(6,7,8,9,9)
0476 
0477 )
0478 
0479 process9.path1 = cms.Path(process9.esTestAnalyzerA)
0480 
0481 # ---------------------------------------------------------------
0482 # Same as original except one more ESSource associated with the
0483 # same record. No data gotten on event 1 to 6.
0484 
0485 process10 = cms.Process("TEST10")
0486 process9.addSubProcess(cms.SubProcess(process10))
0487 
0488 process10.emptyESSourceA = cms.ESSource("EmptyESSource",
0489     recordName = cms.string("ESTestRecordA"),
0490     firstValid = cms.vuint32(1,2,3,4,5,6,7,8,9),
0491     iovIsRunNotTime = cms.bool(True)
0492 )
0493 
0494 process10.emptyESSourceA1 = cms.ESSource("EmptyESSource",
0495     recordName = cms.string("ESTestRecordA"),
0496     firstValid = cms.vuint32(1),
0497     iovIsRunNotTime = cms.bool(True)
0498 )
0499 
0500 process10.emptyESSourceA2 = cms.ESSource("EmptyESSource",
0501     recordName = cms.string("ESTestRecordA"),
0502     firstValid = cms.vuint32(1),
0503     iovIsRunNotTime = cms.bool(True)
0504 )
0505 
0506 process10.emptyESSourceZ = cms.ESSource("EmptyESSource",
0507     recordName = cms.string("ESTestRecordZ"),
0508     firstValid = cms.vuint32(1,3,5,7,9),
0509     iovIsRunNotTime = cms.bool(True)
0510 )
0511 
0512 process10.esTestProducerA = cms.ESProducer("ESTestProducerA")
0513 
0514 process10.esTestProducerA1 = cms.ESProducer("ESTestProducerA",
0515     appendToDataLabel = cms.string('abc')
0516 )
0517 
0518 process10.esTestProducerAZ = cms.ESProducer("ESTestProducerAZ")
0519 
0520 process10.esTestAnalyzerA = cms.EDAnalyzer("ESTestAnalyzerA",
0521     runsToGetDataFor = cms.vint32(7,8,9,10),
0522     #NOTE: prefetching will still cause the data to be gotten even if the module does not do a get
0523     expectedValues=cms.untracked.vint32(7,8,9,9)
0524 )
0525 
0526 process10.path1 = cms.Path(process10.esTestAnalyzerA)
0527 
0528 # ---------------------------------------------------------------
0529 # Same as original except an ESSource associated with the
0530 # same record has a differing configuration. No data gotten on event 1 to 7.
0531 
0532 process11 = cms.Process("TEST11")
0533 process10.addSubProcess(cms.SubProcess(process11))
0534 
0535 process11.emptyESSourceA = cms.ESSource("EmptyESSource",
0536     recordName = cms.string("ESTestRecordA"),
0537     firstValid = cms.vuint32(1,2,3,4,5,6,7,8,9),
0538     iovIsRunNotTime = cms.bool(True)
0539 )
0540 
0541 process11.emptyESSourceA1 = cms.ESSource("EmptyESSource",
0542     recordName = cms.string("ESTestRecordA"),
0543     firstValid = cms.vuint32(1,2),
0544     iovIsRunNotTime = cms.bool(True)
0545 )
0546 
0547 process11.emptyESSourceZ = cms.ESSource("EmptyESSource",
0548     recordName = cms.string("ESTestRecordZ"),
0549     firstValid = cms.vuint32(1,3,5,7,9),
0550     iovIsRunNotTime = cms.bool(True)
0551 )
0552 
0553 process11.esTestProducerA = cms.ESProducer("ESTestProducerA")
0554 
0555 process11.esTestProducerA1 = cms.ESProducer("ESTestProducerA",
0556     appendToDataLabel = cms.string('abc')
0557 )
0558 
0559 process11.esTestProducerAZ = cms.ESProducer("ESTestProducerAZ")
0560 
0561 process11.esTestAnalyzerA = cms.EDAnalyzer("ESTestAnalyzerA",
0562     runsToGetDataFor = cms.vint32(8,9,10),
0563     #NOTE: prefetching will still cause the data to be gotten even if the module does not do a get
0564     expectedValues=cms.untracked.vint32(8,9,9)
0565 
0566 )
0567 
0568 process11.path1 = cms.Path(process11.esTestAnalyzerA)
0569 
0570 # ---------------------------------------------------------------
0571 # Same as process 2 and their ESProducers should be shared.
0572 # No data gotten on event 1 to 8. Except for ESTestProducerAZ
0573 # because the emptyESSourceZ has a differing configuration.
0574 
0575 process12 = cms.Process("TEST12")
0576 process11.addSubProcess(cms.SubProcess(process12))
0577 
0578 process12.emptyESSourceA = cms.ESSource("EmptyESSource",
0579     recordName = cms.string("ESTestRecordA"),
0580     firstValid = cms.vuint32(1,2,3,4,5,6,7,8,9),
0581     iovIsRunNotTime = cms.bool(True)
0582 )
0583 
0584 process12.emptyESSourceA1 = cms.ESSource("EmptyESSource",
0585     recordName = cms.string("ESTestRecordA"),
0586     firstValid = cms.vuint32(1),
0587     iovIsRunNotTime = cms.bool(True)
0588 )
0589 
0590 process12.emptyESSourceZ = cms.ESSource("EmptyESSource",
0591     recordName = cms.string("ESTestRecordZ"),
0592     firstValid = cms.vuint32(1,2,3,5,7,9),
0593     iovIsRunNotTime = cms.bool(True)
0594 )
0595 
0596 process12.esTestProducerA = cms.ESProducer("ESTestProducerA",
0597     dummy = cms.string("test")
0598 )
0599 
0600 process12.esTestProducerA1 = cms.ESProducer("ESTestProducerA",
0601     appendToDataLabel = cms.string('abc')
0602 )
0603 
0604 process12.esTestProducerAZ = cms.ESProducer("ESTestProducerAZ")
0605 
0606 process12.esTestAnalyzerA = cms.EDAnalyzer("ESTestAnalyzerA",
0607     runsToGetDataFor = cms.vint32(9,10),
0608     #NOTE: prefetching will still cause the data to be gotten even if the module does not do a get
0609     expectedValues=cms.untracked.vint32(9,9)
0610 )
0611 
0612 process12.path1 = cms.Path(process12.esTestAnalyzerA)