File indexing completed on 2024-04-06 12:11:01
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("MyRawToTracks")
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(10))
0018
0019 process.source = cms.Source("PoolSource",
0020
0021 fileNames = cms.untracked.vstring(
0022
0023 "rfio:/castor/cern.ch/cms/store/data/Run2012D/MinimumBias/RAW/v1/000/208/686/A88F66A0-393F-E211-9287-002481E0D524.root",
0024 )
0025
0026 )
0027
0028
0029
0030
0031
0032
0033 process.GlobalTag.globaltag = "PRE_R_71_V3::All"
0034
0035
0036 process.load('Configuration.StandardSequences.RawToDigi_cff')
0037
0038
0039 process.load("Configuration.StandardSequences.Reconstruction_cff")
0040
0041
0042 process.load("RecoLocalTracker.Configuration.RecoLocalTracker_cff")
0043
0044
0045 process.siPixelDigis.InputLabel = 'rawDataCollector'
0046 process.siStripDigis.ProductLabel = 'rawDataCollector'
0047
0048
0049
0050
0051 process.MessageLogger = cms.Service("MessageLogger",
0052 cerr = cms.untracked.PSet(
0053 enable = cms.untracked.bool(False)
0054 ),
0055 cout = cms.untracked.PSet(
0056 enable = cms.untracked.bool(True),
0057 threshold = cms.untracked.string('WARNING')
0058 ),
0059 debugModules = cms.untracked.vstring('SiPixelClusterizer')
0060 )
0061
0062
0063
0064
0065 useLocalDBError = True
0066 if useLocalDBError :
0067 process.DBReaderFrontier = cms.ESSource("PoolDBESSource",
0068 DBParameters = cms.PSet(
0069 messageLevel = cms.untracked.int32(0),
0070 authenticationPath = cms.untracked.string('')
0071 ),
0072 toGet = cms.VPSet(
0073 cms.PSet(
0074 record = cms.string('SiPixelGenErrorDBObjectRcd'),
0075
0076
0077 tag = cms.string('SiPixelGenErrorDBObject_38T_v1_offline')
0078 ),
0079 ),
0080
0081
0082
0083 connect = cms.string('frontier://FrontierProd/CMS_COND_PIXEL_000')
0084 )
0085 process.myprefer = cms.ESPrefer("PoolDBESSource","DBReaderFrontier")
0086
0087
0088 process.out = cms.OutputModule("PoolOutputModule",
0089 fileName = cms.untracked.string('file:tracks.root'),
0090
0091
0092
0093 splitLevel = cms.untracked.int32(0),
0094 eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0095 outputCommands = process.RECOEventContent.outputCommands,
0096 dataset = cms.untracked.PSet(
0097 filterName = cms.untracked.string(''),
0098 dataTier = cms.untracked.string('RECO')
0099 )
0100
0101 )
0102
0103
0104
0105 process.myTracking = cms.Sequence(process.InitialStep*
0106 process.DetachedTripletStep*
0107 process.LowPtTripletStep*
0108 process.PixelPairStep*
0109 process.MixedTripletStep*
0110 process.PixelLessStep*
0111 process.TobTecStep*
0112 process.earlyGeneralTracks*
0113
0114 process.preDuplicateMergingGeneralTracks*
0115 process.generalTracksSequence*
0116 process.ConvStep*
0117 process.conversionStepTracks
0118 )
0119
0120
0121
0122
0123
0124
0125
0126
0127
0128
0129
0130
0131
0132
0133
0134 process.p1 = cms.Path(process.siPixelDigis*process.siStripDigis*process.trackerlocalreco*process.offlineBeamSpot*process.siPixelClusterShapeCache*process.recopixelvertexing*process.MeasurementTrackerEvent*process.myTracking*process.vertexreco)
0135
0136
0137 process.ep = cms.EndPath(process.out)