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_test2.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(701),
0042         type = cms.untracked.string('Pt')
0043     ),
0044     targetDBConnectionString = cms.untracked.string('sqlite_file:pop_test.db'),
0045     loggingOn = cms.untracked.bool(True),
0046     IsDestDbCheckedInQueryLog = cms.untracked.bool(True)
0047 )
0048 
0049 process.Test2 = cms.EDAnalyzer("ExPopConEfficiency",
0050     record = cms.string('ThisJob'),
0051     Source = cms.PSet(
0052         params = cms.untracked.vdouble(0.85, 0.0, 0.9, 2.3),
0053         since = cms.untracked.int64(930),
0054         type = cms.untracked.string('Eta')
0055     ),
0056     targetDBConnectionString = cms.untracked.string('sqlite_file:pop_test.db'),
0057     loggingOn = cms.untracked.bool(True),
0058     IsDestDbCheckedInQueryLog = cms.untracked.bool(True)
0059 )
0060 
0061 process.Test3 = cms.EDAnalyzer("ExPopConEfficiency",
0062     record = cms.string('ThisJob'),
0063     Source = cms.PSet(
0064         params = cms.untracked.vdouble(0.92, 0.0, 0.8, 2.5),
0065         since = cms.untracked.int64(1240),
0066         type = cms.untracked.string('Eta')
0067     ),
0068     targetDBConnectionString = cms.untracked.string('sqlite_file:pop_test.db'),
0069     loggingOn = cms.untracked.bool(True),
0070     IsDestDbCheckedInQueryLog = cms.untracked.bool(True)
0071 )
0072 
0073 process.Test4 = cms.EDAnalyzer("ExPopConEfficiency",
0074     record = cms.string('ThisJob'),
0075     Source = cms.PSet(
0076         params = cms.untracked.vdouble(0.1, 0.95, 1.0, 9.5),
0077         since = cms.untracked.int64(1511),
0078         type = cms.untracked.string('Pt')
0079     ),
0080     targetDBConnectionString = cms.untracked.string('sqlite_file:pop_test.db'),
0081     loggingOn = cms.untracked.bool(True),
0082     IsDestDbCheckedInQueryLog = cms.untracked.bool(True)
0083 )
0084 
0085 process.p = cms.Path(process.Test1 +
0086                       process.Test2 +
0087                       process.Test3 +
0088                       process.Test4
0089                       )
0090 
0091 
0092 # process.p = cms.Path(process.TestN) 
0093 
0094 
0095 
0096 
0097 
0098 
0099 
0100 
0101 
0102 
0103 
0104 
0105 
0106 
0107