Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ProcessOne")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 
0006 process.CondDBCommon.connect = 'sqlite_file:pop_test.db'
0007 
0008 process.MessageLogger = cms.Service("MessageLogger",
0009     cerr = cms.untracked.PSet(
0010         enable = cms.untracked.bool(False)
0011     ),
0012     cout = cms.untracked.PSet(
0013         enable = cms.untracked.bool(True),
0014         threshold = cms.untracked.string('INFO')
0015     )
0016 )
0017 
0018 process.source = cms.Source("EmptyIOVSource",
0019     firstValue = cms.uint64(1),
0020     lastValue = cms.uint64(1),
0021     timetype = cms.string('runnumber'),
0022     interval = cms.uint64(1)
0023 )
0024 
0025 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0026     process.CondDBCommon,
0027     withWrapper = cms.untracked.bool(True),
0028     logconnect = cms.untracked.string('sqlite_file:log.db'),
0029     timetype = cms.untracked.string('runnumber'),
0030     toPut = cms.VPSet(cms.PSet(
0031         record = cms.string('ThisJob'),
0032         tag = cms.string('Example_tag1')
0033     )
0034         )
0035 )
0036 
0037 process.Test1 = cms.EDAnalyzer("ExPopConEfficiency",
0038     record = cms.string('ThisJob'),
0039     Source = cms.PSet(
0040         params = cms.untracked.vdouble(0.1, 0.95, 1.0, 5.5),
0041         since = cms.untracked.int64(200),
0042         type = cms.untracked.string('Pt')
0043     ),
0044     loggingOn = cms.untracked.bool(True),
0045     IsDestDbCheckedInQueryLog = cms.untracked.bool(True)
0046 )
0047 
0048 process.Test2 = cms.EDAnalyzer("ExPopConEfficiency",
0049     record = cms.string('ThisJob'),
0050     Source = cms.PSet(
0051         params = cms.untracked.vdouble(0.85, 0.0, 0.9, 2.3),
0052         since = cms.untracked.int64(351),
0053         type = cms.untracked.string('Eta')
0054     ),
0055     loggingOn = cms.untracked.bool(True),
0056     IsDestDbCheckedInQueryLog = cms.untracked.bool(True)
0057 )
0058 
0059 process.Test3 = cms.EDAnalyzer("ExPopConEfficiency",
0060     record = cms.string('ThisJob'),
0061     Source = cms.PSet(
0062         params = cms.untracked.vdouble(0.92, 0.0, 0.8, 2.5),
0063         since = cms.untracked.int64(531),
0064         type = cms.untracked.string('Eta')
0065     ),
0066     loggingOn = cms.untracked.bool(True),
0067     IsDestDbCheckedInQueryLog = cms.untracked.bool(True)
0068 )
0069 
0070 process.Test4 = cms.EDAnalyzer("ExPopConEfficiency",
0071     record = cms.string('ThisJob'),
0072     Source = cms.PSet(
0073         params = cms.untracked.vdouble(0.1, 0.95, 1.0, 9.5),
0074         since = cms.untracked.int64(701),
0075         type = cms.untracked.string('Pt')
0076     ),
0077     loggingOn = cms.untracked.bool(True),
0078     IsDestDbCheckedInQueryLog = cms.untracked.bool(True)
0079 )
0080 
0081 process.p = cms.Path(process.Test1 +
0082                       process.Test2 +
0083                       process.Test3 +
0084                       process.Test4
0085                       )
0086 
0087 
0088 # process.p = cms.Path(process.TestN) 
0089 
0090 
0091 
0092 
0093 
0094 
0095 
0096 
0097 
0098 
0099 
0100 
0101 
0102 
0103