00001 import FWCore.ParameterSet.Config as cms 00002 00003 process = cms.Process("SiStripOnline") 00004 process.MLlog4cplus = cms.Service("MLlog4cplus") 00005 00006 process.MessageLogger = cms.Service("MessageLogger", 00007 suppressWarning = cms.untracked.vstring(), 00008 log4cplus = cms.untracked.PSet( 00009 threshold = cms.untracked.string('DEBUG') 00010 ), 00011 suppressDebug = cms.untracked.vstring(), 00012 debugModules = cms.untracked.vstring('siStripFineDelayHit'), 00013 suppressInfo = cms.untracked.vstring() 00014 ) 00015 00016 process.DQMStore = cms.Service("DQMStore") 00017 00018 process.FUShmDQMOutputService = cms.Service("FUShmDQMOutputService", 00019 initialMessageBufferSize = cms.untracked.int32(1000000), 00020 compressionLevel = cms.int32(1), 00021 lumiSectionInterval = cms.untracked.int32(20), 00022 lumiSectionsPerUpdate = cms.double(1.0), 00023 useCompression = cms.bool(True) 00024 ) 00025 00026 process.SiStripConfigDb = cms.Service("SiStripConfigDb", 00027 UsingDbCache = cms.untracked.bool(True), 00028 UsingDb = cms.untracked.bool(True), 00029 SharedMemory = cms.untracked.string('FEDSM00') 00030 ) 00031 00032 process.PedestalsFromConfigDb = cms.ESSource("SiStripPedestalsBuilderFromDb") 00033 00034 process.NoiseFromConfigDb = cms.ESSource("SiStripNoiseBuilderFromDb") 00035 00036 process.FedCablingFromConfigDb = cms.ESSource("SiStripFedCablingBuilderFromDb", 00037 CablingSource = cms.untracked.string('UNDEFINED') 00038 ) 00039 00040 process.sistripconn = cms.ESProducer("SiStripConnectivity") 00041 00042 process.idealMagneticFieldRecordSource = cms.ESSource("EmptyESSource", 00043 recordName = cms.string('IdealMagneticFieldRecord'), 00044 iovIsRunNotTime = cms.bool(True), 00045 firstValid = cms.vuint32(1) 00046 ) 00047 00048 process.UniformMagneticFieldESProducer = cms.ESProducer("UniformMagneticFieldESProducer", 00049 ZFieldInTesla = cms.double(0.0) 00050 ) 00051 00052 process.prefer("UniformMagneticFieldESProducer") 00053 process.XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource", 00054 geomXMLFiles = cms.vstring('Geometry/CMSCommonData/data/materials.xml', 00055 'Geometry/CMSCommonData/data/rotations.xml', 00056 'Geometry/TrackerCommonData/data/CRack/cms.xml', 00057 'Geometry/TrackerCommonData/data/CRack/tobmaterial.xml', 00058 'Geometry/TrackerCommonData/data/tobmodpar.xml', 00059 'Geometry/TrackerCommonData/data/tobmodule0.xml', 00060 'Geometry/TrackerCommonData/data/tobmodule2.xml', 00061 'Geometry/TrackerCommonData/data/tobmodule4.xml', 00062 'Geometry/TrackerCommonData/data/tobrodpar.xml', 00063 'Geometry/TrackerCommonData/data/tobrod0c.xml', 00064 'Geometry/TrackerCommonData/data/tobrod0l.xml', 00065 'Geometry/TrackerCommonData/data/tobrod0h.xml', 00066 'Geometry/TrackerCommonData/data/tobrod1l.xml', 00067 'Geometry/TrackerCommonData/data/tobrod1h.xml', 00068 'Geometry/TrackerCommonData/data/tobrod2c.xml', 00069 'Geometry/TrackerCommonData/data/tobrod2l.xml', 00070 'Geometry/TrackerCommonData/data/tobrod2h.xml', 00071 'Geometry/TrackerCommonData/data/tobrod4c.xml', 00072 'Geometry/TrackerCommonData/data/tobrod4l.xml', 00073 'Geometry/TrackerCommonData/data/tobrod4h.xml', 00074 'Geometry/TrackerCommonData/data/CRack/tobrod_DSH_L1.xml', 00075 'Geometry/TrackerCommonData/data/CRack/tobrod_DSH_L2.xml', 00076 'Geometry/TrackerCommonData/data/CRack/tobrod_DSL_L1.xml', 00077 'Geometry/TrackerCommonData/data/CRack/tobrod_DSL_L2.xml', 00078 'Geometry/TrackerCommonData/data/CRack/tobrod_SS4H.xml', 00079 'Geometry/TrackerCommonData/data/CRack/tobrod_SS4L.xml', 00080 'Geometry/TrackerCommonData/data/CRack/tobrod_SS6H.xml', 00081 'Geometry/TrackerCommonData/data/CRack/tobrod_SS6L.xml', 00082 'Geometry/TrackerCommonData/data/CRack/tob.xml', 00083 'Geometry/TrackerCommonData/data/CRack/tracker.xml', 00084 'Geometry/TrackerCommonData/data/CRack/trackerStructureTopology.xml', 00085 'Geometry/TrackerCommonData/data/CRack/trackersens_2DS_5SS6_5SS4.xml', 00086 'Geometry/TrackerCommonData/data/CRack/trackerRecoMaterial_2DS_5SS6_5SS4.xml', 00087 'Geometry/TrackerCommonData/data/CRack/trackerProdCuts_2DS_5SS6_5SS4.xml'), 00088 rootNodeName = cms.string('cms:OCMS') 00089 ) 00090 00091 process.TrackerDigiGeometryESModule = cms.ESProducer("TrackerDigiGeometryESModule", 00092 fromDDD = cms.bool(True), 00093 applyAlignment = cms.untracked.bool(False) 00094 ) 00095 00096 process.TrackerGeometricDetESModule = cms.ESProducer("TrackerGeometricDetESModule", 00097 fromDDD = cms.bool(True) 00098 ) 00099 00100 process.TrackerRecoGeometryESProducer = cms.ESProducer("TrackerRecoGeometryESProducer") 00101 00102 process.StripCPEfromTrackAngleESProducer = cms.ESProducer("StripCPEfromTrackAngleESProducer", 00103 ComponentName = cms.string('StripCPEfromTrackAngle') 00104 ) 00105 00106 process.PixelCPEParmErrorESProducer = cms.ESProducer("PixelCPEParmErrorESProducer", 00107 UseNewParametrization = cms.bool(True), 00108 ComponentName = cms.string('PixelCPEfromTrackAngle'), 00109 UseSigma = cms.bool(True), 00110 PixelErrorParametrization = cms.string('NOTcmsim'), 00111 Alpha2Order = cms.bool(True) 00112 ) 00113 00114 process.ttrhbwr = cms.ESProducer("TkTransientTrackingRecHitBuilderESProducer", 00115 StripCPE = cms.string('StripCPEfromTrackAngle'), 00116 ComponentName = cms.string('WithTrackAngle'), 00117 PixelCPE = cms.string('PixelCPEfromTrackAngle'), 00118 Matcher = cms.string('StandardMatcher') 00119 ) 00120 00121 process.MeasurementTracker = cms.ESProducer("MeasurementTrackerESProducer", 00122 StripCPE = cms.string('StripCPEfromTrackAngle'), 00123 UseStripStripQualityDB = cms.bool(False), 00124 OnDemand = cms.bool(False), 00125 UseStripAPVFiberQualityDB = cms.bool(False), 00126 DebugStripModuleQualityDB = cms.untracked.bool(False), 00127 ComponentName = cms.string(''), 00128 stripClusterProducer = cms.string('siStripClusters'), 00129 Regional = cms.bool(False), 00130 DebugStripAPVFiberQualityDB = cms.untracked.bool(False), 00131 HitMatcher = cms.string('StandardMatcher'), 00132 DebugStripStripQualityDB = cms.untracked.bool(False), 00133 pixelClusterProducer = cms.string('siPixelClusters'), 00134 stripLazyGetterProducer = cms.string(''), 00135 UseStripModuleQualityDB = cms.bool(False), 00136 PixelCPE = cms.string('PixelCPEfromTrackAngle') 00137 ) 00138 00139 process.source = cms.Source("DaqSource", 00140 readerPluginName = cms.untracked.string('FUShmReader'), 00141 evtsPerLS = cms.untracked.uint32(500) 00142 ) 00143 00144 process.digis = cms.EDProducer("SiStripRawToDigiModule", 00145 ProductLabel = cms.untracked.string('source'), 00146 AppendedBytes = cms.untracked.int32(0), 00147 UseFedKey = cms.untracked.bool(True), 00148 FedEventDumpFreq = cms.untracked.int32(0), 00149 FedBufferDumpFreq = cms.untracked.int32(0), 00150 TriggerFedId = cms.untracked.int32(-1), 00151 ProductInstance = cms.untracked.string(''), 00152 CreateDigis = cms.untracked.bool(True) 00153 ) 00154 00155 process.trackingRunTypeFilter = cms.EDFilter("SiStripCommissioningRunTypeFilter", 00156 runTypes = cms.vstring('ApvLatency', 00157 'FineDelay'), 00158 InputModuleLabel = cms.InputTag("digis") 00159 ) 00160 00161 process.SiStripGainFakeESSource = cms.ESSource("SiStripGainFakeESSource", 00162 file = cms.FileInPath('CalibTracker/SiStripCommon/data/SiStripDetInfo.dat') 00163 ) 00164 00165 process.SiStripGainESProducer = cms.ESProducer("SiStripGainESProducer", 00166 printDebug = cms.untracked.bool(False), 00167 NormalizationFactor = cms.double(1.0), 00168 AutomaticNormalization = cms.bool(False) 00169 ) 00170 00171 process.SiStripLAFakeESSource = cms.ESSource("SiStripLAFakeESSource", 00172 TemperatureError = cms.double(10.0), 00173 Temperature = cms.double(297.0), 00174 HoleRHAllParameter = cms.double(0.7), 00175 ChargeMobility = cms.double(480.0), 00176 HoleBeta = cms.double(1.213), 00177 HoleSaturationVelocity = cms.double(8370000.0), 00178 file = cms.FileInPath('CalibTracker/SiStripCommon/data/SiStripDetInfo.dat'), 00179 AppliedVoltage = cms.double(150.0) 00180 ) 00181 00182 process.SiStripRecHitMatcherESProducer = cms.ESProducer("SiStripRecHitMatcherESProducer", 00183 ComponentName = cms.string('StandardMatcher'), 00184 NSigmaInside = cms.double(3.0) 00185 ) 00186 00187 process.SiStripQualityFakeESSource = cms.ESSource("SiStripQualityFakeESSource") 00188 00189 process.SiPixelFakeLorentzAngleESSource = cms.ESSource("SiPixelFakeLorentzAngleESSource", 00190 file = cms.FileInPath('CalibTracker/SiPixelESProducers/data/PixelSkimmedGeometry.txt') 00191 ) 00192 00193 process.SiStripThresholdFakeESSource = cms.ESSource("SiStripThresholdFakeESSource", 00194 file = cms.FileInPath('CalibTracker/SiStripCommon/data/SiStripDetInfo.dat'), 00195 HighTh = cms.double(5.0), 00196 LowTh = cms.double(2.0) 00197 ) 00198 00199 process.siStripZeroSuppression = cms.EDProducer("SiStripZeroSuppression", 00200 RawDigiProducersList = cms.VPSet(cms.PSet( 00201 RawDigiProducer = cms.string('SiStripDigis'), 00202 RawDigiLabel = cms.string('VirginRaw') 00203 ), 00204 cms.PSet( 00205 RawDigiProducer = cms.string('SiStripDigis'), 00206 RawDigiLabel = cms.string('ProcessedRaw') 00207 ), 00208 cms.PSet( 00209 RawDigiProducer = cms.string('SiStripDigis'), 00210 RawDigiLabel = cms.string('ScopeMode') 00211 )), 00212 FEDalgorithm = cms.uint32(4), 00213 ZeroSuppressionMode = cms.string('SiStripFedZeroSuppression'), 00214 CutToAvoidSignal = cms.double(3.0), 00215 CommonModeNoiseSubtractionMode = cms.string('Median') 00216 ) 00217 00218 process.siStripClusters = cms.EDProducer("SiStripClusterizer", 00219 MaxHolesInCluster = cms.int32(0), 00220 ChannelThreshold = cms.double(2.0), 00221 DigiProducersList = cms.VPSet(cms.PSet( 00222 DigiLabel = cms.string('ZeroSuppressed'), 00223 DigiProducer = cms.string('SiStripDigis') 00224 ), 00225 cms.PSet( 00226 DigiLabel = cms.string('VirginRaw'), 00227 DigiProducer = cms.string('siStripZeroSuppression') 00228 ), 00229 cms.PSet( 00230 DigiLabel = cms.string('ProcessedRaw'), 00231 DigiProducer = cms.string('siStripZeroSuppression') 00232 ), 00233 cms.PSet( 00234 DigiLabel = cms.string('ScopeMode'), 00235 DigiProducer = cms.string('siStripZeroSuppression') 00236 )), 00237 ClusterMode = cms.string('ThreeThresholdClusterizer'), 00238 SeedThreshold = cms.double(3.0), 00239 SiStripQualityLabel = cms.string(''), 00240 ClusterThreshold = cms.double(5.0) 00241 ) 00242 00243 process.siStripMatchedRecHits = cms.EDProducer("SiStripRecHitConverter", 00244 StripCPE = cms.string('StripCPEfromTrackAngle'), 00245 Regional = cms.bool(False), 00246 stereoRecHits = cms.string('stereoRecHit'), 00247 Matcher = cms.string('StandardMatcher'), 00248 matchedRecHits = cms.string('matchedRecHit'), 00249 LazyGetterProducer = cms.string('SiStripRawToClustersFacility'), 00250 ClusterProducer = cms.string('siStripClusters'), 00251 VerbosityLevel = cms.untracked.int32(1), 00252 rphiRecHits = cms.string('rphiRecHit') 00253 ) 00254 00255 process.cosmicseedfinder = cms.EDProducer("CRackSeedGenerator", 00256 stereorecHits = cms.InputTag("siStripMatchedRecHits","stereoRecHit"), 00257 originZPosition = cms.double(0.0), 00258 GeometricStructure = cms.untracked.string('CRACK'), 00259 matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"), 00260 SeedPt = cms.double(1.0), 00261 TTRHBuilder = cms.string('WithTrackAngle'), 00262 ptMin = cms.double(200000.0), 00263 rphirecHits = cms.InputTag("siStripMatchedRecHits","rphiRecHit"), 00264 originRadius = cms.double(150.0), 00265 originHalfLength = cms.double(90.0) 00266 ) 00267 00268 process.cosmictrackfinder = cms.EDProducer("CosmicTrackFinder", 00269 TrajInEvents = cms.bool(True), 00270 stereorecHits = cms.InputTag("siStripMatchedRecHits","stereoRecHit"), 00271 pixelRecHits = cms.InputTag("dummy","dummy"), 00272 matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"), 00273 MinHits = cms.int32(3), 00274 Chi2Cut = cms.double(10000.0), 00275 TTRHBuilder = cms.string('WithTrackAngle'), 00276 rphirecHits = cms.InputTag("siStripMatchedRecHits","rphiRecHit"), 00277 TransientInitialStateEstimatorParameters = cms.PSet( 00278 propagatorAlongTISE = cms.string('PropagatorWithMaterial'), 00279 propagatorOppositeTISE = cms.string('PropagatorWithMaterialOpposite') 00280 ), 00281 GeometricStructure = cms.untracked.string('CRACK'), 00282 cosmicSeeds = cms.InputTag("cosmicseedfinder") 00283 ) 00284 00285 process.siStripFineDelayHit = cms.EDProducer("SiStripFineDelayHit", 00286 TrajInEvent = cms.bool(True), 00287 SeedsLabel = cms.InputTag("cosmicseedfinder"), 00288 MaxClusterDistance = cms.double(2.0), 00289 TracksLabel = cms.InputTag("CosmicTrackFinder"), 00290 ExplorationWindow = cms.uint32(10), 00291 MagneticField = cms.bool(False), 00292 cosmic = cms.bool(True), 00293 InputModuleLabel = cms.InputTag("digis"), 00294 DigiLabel = cms.InputTag("siStripZeroSuppression","VirginRaw"), 00295 ClustersLabel = cms.InputTag("siStripClusters"), 00296 TTRHBuilder = cms.string('WithTrackAngle'), 00297 NoClustering = cms.bool(True), 00298 NoTracking = cms.bool(False), 00299 MaxTrackAngle = cms.double(45.0), 00300 MinTrackMomentum = cms.double(0.0) 00301 ) 00302 00303 process.histosA = cms.EDAnalyzer("SiStripCommissioningSource", 00304 SummaryInputModuleLabel = cms.string('digis'), 00305 RootFileName = cms.untracked.string('SiStripCommissioningSource'), 00306 CommissioningTask = cms.untracked.string('UNDEFINED'), 00307 InputModuleLabel = cms.string('digis'), 00308 HistoUpdateFreq = cms.untracked.int32(10) 00309 ) 00310 00311 process.histosB = cms.EDAnalyzer("SiStripCommissioningSource", 00312 SummaryInputModuleLabel = cms.string('digis'), 00313 CommissioningTask = cms.untracked.string('UNDEFINED'), 00314 HistoUpdateFreq = cms.untracked.int32(10), 00315 InputModuleLabel = cms.string('siStripFineDelayHit'), 00316 RootFileName = cms.untracked.string('SiStripCommissioningSource'), 00317 SignalToNoiseCut = cms.double(3.0) 00318 ) 00319 00320 process.consumer = cms.OutputModule("ShmStreamConsumer", 00321 outputCommands = cms.untracked.vstring('drop *', 00322 'keep FEDRawDataCollection_*_*_*'), 00323 compression_level = cms.untracked.int32(1), 00324 use_compression = cms.untracked.bool(True), 00325 max_event_size = cms.untracked.int32(25000000) 00326 ) 00327 00328 process.localReco = cms.Sequence(process.siStripZeroSuppression*process.siStripClusters*process.siStripMatchedRecHits) 00329 process.tracking = cms.Sequence(process.cosmicseedfinder*process.cosmictrackfinder*process.siStripFineDelayHit) 00330 process.withoutTk = cms.Path(process.digis*~process.trackingRunTypeFilter+process.histosA) 00331 process.withTk = cms.Path(process.digis*process.trackingRunTypeFilter+process.localReco*process.tracking*process.histosB) 00332 process.e1 = cms.EndPath(process.consumer) 00333 process.siStripZeroSuppression.RawDigiProducersList = cms.VPSet(cms.PSet( 00334 RawDigiProducer = cms.string('digis'), 00335 RawDigiLabel = cms.string('VirginRaw') 00336 ), 00337 cms.PSet( 00338 RawDigiProducer = cms.string('digis'), 00339 RawDigiLabel = cms.string('ProcessedRaw') 00340 ), 00341 cms.PSet( 00342 RawDigiProducer = cms.string('digis'), 00343 RawDigiLabel = cms.string('ScopeMode') 00344 )) 00345 process.siStripClusters.DigiProducersList = cms.VPSet(cms.PSet( 00346 DigiLabel = cms.string('ZeroSuppressed'), 00347 DigiProducer = cms.string('digis') 00348 ), 00349 cms.PSet( 00350 DigiLabel = cms.string('VirginRaw'), 00351 DigiProducer = cms.string('siStripZeroSuppression') 00352 ), 00353 cms.PSet( 00354 DigiLabel = cms.string('ProcessedRaw'), 00355 DigiProducer = cms.string('siStripZeroSuppression') 00356 ), 00357 cms.PSet( 00358 DigiLabel = cms.string('ScopeMode'), 00359 DigiProducer = cms.string('siStripZeroSuppression') 00360 )) 00361 process.siStripClusters.ChannelThreshold = 2.0 00362 process.siStripClusters.SeedThreshold = 3.0 00363 process.siStripClusters.ClusterThreshold = 5.0 00364