File indexing completed on 2024-04-06 12:11:01
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("MyRawToClus")
0004
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0007
0008 process.load('Configuration.StandardSequences.MagneticField_cff')
0009 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0010 process.load("Configuration.StandardSequences.Services_cff")
0011 process.load('Configuration.EventContent.EventContent_cff')
0012 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0013
0014
0015
0016
0017 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100))
0018
0019 process.source = cms.Source("PoolSource",
0020 fileNames = cms.untracked.vstring(
0021
0022 "rfio:/castor/cern.ch/cms/store/data/Run2012D/MinimumBias/RAW/v1/000/208/686/A88F66A0-393F-E211-9287-002481E0D524.root",
0023 )
0024 )
0025
0026
0027
0028
0029
0030
0031 process.GlobalTag.globaltag = "GR_R_71_V1::All"
0032
0033
0034 process.load('Configuration.StandardSequences.RawToDigi_cff')
0035
0036
0037 process.load("Configuration.StandardSequences.Reconstruction_cff")
0038
0039
0040 process.load("RecoLocalTracker.Configuration.RecoLocalTracker_cff")
0041
0042
0043 process.siPixelDigis.InputLabel = 'rawDataCollector'
0044 process.siStripDigis.ProductLabel = 'rawDataCollector'
0045
0046
0047
0048
0049 process.MessageLogger = cms.Service("MessageLogger",
0050 cerr = cms.untracked.PSet(
0051 enable = cms.untracked.bool(False)
0052 ),
0053 cout = cms.untracked.PSet(
0054 enable = cms.untracked.bool(True),
0055 threshold = cms.untracked.string('WARNING')
0056 ),
0057 debugModules = cms.untracked.vstring('SiPixelClusterizer')
0058 )
0059
0060
0061 process.out = cms.OutputModule("PoolOutputModule",
0062 fileName = cms.untracked.string('file:clus.root'),
0063
0064
0065
0066 splitLevel = cms.untracked.int32(0),
0067 eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0068 outputCommands = process.RECOEventContent.outputCommands,
0069 dataset = cms.untracked.PSet(
0070 filterName = cms.untracked.string(''),
0071 dataTier = cms.untracked.string('RECO')
0072 )
0073 )
0074
0075
0076
0077
0078 useLocalDBError = True
0079 if useLocalDBError :
0080 process.DBReaderFrontier = cms.ESSource("PoolDBESSource",
0081 DBParameters = cms.PSet(
0082 messageLevel = cms.untracked.int32(0),
0083 authenticationPath = cms.untracked.string('')
0084 ),
0085 toGet = cms.VPSet(
0086 cms.PSet(
0087 record = cms.string('SiPixelGenErrorDBObjectRcd'),
0088
0089
0090 tag = cms.string('SiPixelGenErrorDBObject_38T_v1_offline')
0091 ),
0092 ),
0093
0094
0095
0096 connect = cms.string('frontier://FrontierProd/CMS_COND_PIXEL_000')
0097 )
0098 process.myprefer = cms.ESPrefer("PoolDBESSource","DBReaderFrontier")
0099
0100
0101
0102
0103
0104
0105
0106
0107 process.p1 = cms.Path(process.siPixelDigis*process.siStripDigis*process.trackerlocalreco)
0108
0109 process.ep = cms.EndPath(process.out)