Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:28

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('TEST')
0004 
0005 process.MessageLogger = cms.Service("MessageLogger",
0006                                     debugModules = cms.untracked.vstring("*"),
0007                                     log = cms.untracked.PSet(threshold = cms.untracked.string('INFO')),
0008                                     destinations = cms.untracked.vstring('log')
0009                                     )
0010 
0011 
0012 process.source = cms.Source ( "PoolSource",
0013                               fileNames = cms.untracked.vstring(""),
0014                               secondaryFileNames = cms.untracked.vstring()
0015                               )
0016 
0017 
0018 #------------------------------------------
0019 # Load standard sequences.
0020 #------------------------------------------
0021 process.load('Configuration.EventContent.EventContent_cff')
0022 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0023 process.load('Configuration.StandardSequences.MagneticField_cff')
0024 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0025 
0026 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0027 process.load("Configuration.StandardSequences.Reconstruction_cff")
0028 
0029 #------------------------------------------
0030 # Load ClusterToDigiProducer
0031 #------------------------------------------
0032 
0033 process.load('RecoLocalTracker.SiStripClusterizer.SiStripClusterToDigiProducer_cfi')
0034 
0035 process.siStripClustersNew = process.siStripClusters.clone()
0036 for inTag in process.siStripClustersNew.DigiProducersList:
0037     inTag.moduleLabel = "siStripClustersToDigis"
0038 
0039 #------------------------------------------
0040 # Load 
0041 #------------------------------------------
0042 
0043 process.FEVTEventContent.outputCommands.append('drop *_MEtoEDMConverter_*_*')
0044 process.recotrackout = cms.OutputModule("PoolOutputModule",
0045                                         outputCommands = cms.untracked.vstring("drop *"
0046                                                                                , "keep *_*_*_TEST"
0047                                                                                ),
0048                                         fileName = cms.untracked.string('testClusterToDigi.root')
0049                                         )
0050 
0051 
0052 #------------------------------------------
0053 # Load DQM 
0054 #------------------------------------------
0055 
0056 process.load("DQM.SiStripCommon.TkHistoMap_cff")
0057 
0058 process.load("DQM.SiStripMonitorCluster.SiStripMonitorCluster_cfi")
0059 
0060 process.SiStripMonitorClusterNew = process.SiStripMonitorCluster.clone()
0061 process.SiStripMonitorClusterNew.TopFolderName = "ClusterToDigi"
0062 process.SiStripMonitorClusterNew.ClusterProducerStrip = 'siStripClustersNew'
0063 
0064 #------------------------------------------
0065 # Paths
0066 #------------------------------------------
0067 
0068 process.outpath = cms.EndPath(process.siStripDigis+
0069                               process.siStripZeroSuppression+
0070                               process.siStripClusters+
0071                               process.SiStripMonitorCluster+
0072                               process.siStripClustersToDigis+
0073                               process.siStripClustersNew+
0074                               process.SiStripMonitorClusterNew+
0075                               process.recotrackout)
0076 
0077 
0078 #---------------------------------------------------------
0079 # Run Dependent Configuration
0080 #---------------------------------------------------------
0081 
0082 
0083 process.DefaultClusterizer.RemoveApvShots = cms.bool(False)
0084 #process.siStripClustersNew.Clusterizer.RemoveApvShots = cms.bool(False)
0085 
0086 process.SiStripMonitorCluster.TH1ClusterWidth.Nbinx = cms.int32(129)
0087 process.SiStripMonitorCluster.TH1ClusterWidth.xmax  = cms.double(128.5)
0088 process.SiStripMonitorCluster.OutputMEsInRootFile   = cms.bool(True)
0089 
0090 process.GlobalTag.globaltag = 'GR_R_44_V14::All'
0091 
0092 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0093 
0094 process.source.fileNames = cms.untracked.vstring("/store/data/Run2011B/MinimumBias/RAW-RECO/ValSkim-PromptSkim-v1/0000/00A7606D-22F9-E011-8437-001A92971BDC.root")