Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:09

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("HGCalGeometryWriter")
0004 process.load('CondCore.CondDB.CondDB_cfi')
0005 process.load('Configuration.Geometry.GeometryExtended2026D41_cff')
0006 
0007 process.source = cms.Source("EmptyIOVSource",
0008                             lastValue = cms.uint64(1),
0009                             timetype = cms.string('runnumber'),
0010                             firstValue = cms.uint64(1),
0011                             interval = cms.uint64(1)
0012                             )
0013 
0014 process.HGCalEEParametersWriter = cms.EDAnalyzer("PHGCalParametersDBBuilder",
0015                                                  Name = cms.untracked.string("HGCalEESensitive"),
0016                                                  NameW = cms.untracked.string("HGCalWafer"),
0017                                                  NameC = cms.untracked.string("HGCalCell"),
0018                                                  NameT = cms.untracked.string("HGCal")
0019 )
0020 
0021 process.HGCalHEParametersWriter = cms.EDAnalyzer("PHGCalParametersDBBuilder",
0022                                                  Name = cms.untracked.string("HGCalHESiliconSensitive"),
0023                                                  NameW = cms.untracked.string("HGCalWafer"),
0024                                                  NameC = cms.untracked.string("HGCalCell"),
0025                                                  NameT = cms.untracked.string("HGCal")
0026 )
0027 
0028 process.HGCalHEScParametersWriter = cms.EDAnalyzer("PHGCalParametersDBBuilder",
0029                                                    Name = cms.untracked.string("HGCalHEScintillatorSensitive"),
0030                                                    NameW = cms.untracked.string("HGCalWafer"),
0031                                                    NameC = cms.untracked.string("HGCalCell")),
0032                                                  NameT = cms.untracked.string("HGCal")
0033 
0034 process.CondDB.timetype = cms.untracked.string('runnumber')
0035 process.CondDB.connect = cms.string('sqlite_file:myfile.db')
0036 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0037                                           process.CondDB,
0038                                           toPut = cms.VPSet(
0039                                                             cms.PSet(record = cms.string('PHGCalParametersRcd'),tag = cms.string('HGCALParameters_Geometry_Test01'))
0040                                                             )
0041                                           )
0042 
0043 process.maxEvents = cms.untracked.PSet(
0044     input = cms.untracked.int32(1)
0045     )
0046 
0047 process.p1 = cms.Path(process.HGCalEEParametersWriter)