Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:12:33

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process( "SiStripDQMBadStrips" )
0004 
0005 ### Miscellanous ###
0006 
0007 ## Logging ##
0008 
0009 process.options = cms.untracked.PSet(
0010    wantSummary = cms.untracked.bool( True )
0011 )
0012 process.MessageLogger = cms.Service( "MessageLogger",
0013     destinations = cms.untracked.vstring(
0014         'cout'
0015     ),
0016     cout = cms.untracked.PSet(
0017         threshold = cms.untracked.string( 'INFO' )
0018     )
0019 )
0020 
0021 ## Profiling ##
0022 
0023 # Memory #
0024 
0025 process.SimpleMemoryCheck = cms.Service( "SimpleMemoryCheck",
0026     ignoreTotal = cms.untracked.int32( 0 )
0027 )
0028 
0029 ### Import ###
0030 
0031 ## Magnetic fiels ##
0032 
0033 process.load( "Configuration.StandardSequences.MagneticField_38T_cff" )
0034 
0035 ## Geometry ##
0036 
0037 process.load( "Configuration.StandardSequences.GeometryRecoDB_cff" )
0038 
0039 ## Calibration ##
0040 
0041 # Global tag #
0042  
0043 process.load( "Configuration.StandardSequences.FrontierConditions_GlobalTag_cff" )
0044 process.GlobalTag.connect   = 'frontier://FrontierProd/CMS_COND_21X_GLOBALTAG'
0045 process.GlobalTag.globaltag = 'CRAFT_ALL_V4P::All'
0046 process.es_prefer_GlobalTag = cms.ESPrefer(
0047     'PoolDBESSource',
0048     'GlobalTag'
0049 )
0050 # exclude masking
0051 process.siStripQualityESProducer.ListOfRecordToMerge = cms.VPSet(
0052     cms.PSet(
0053         record = cms.string( 'SiStripDetCablingRcd' ),
0054         tag = cms.string( '' )
0055     ),
0056     cms.PSet(
0057         record = cms.string( 'SiStripBadChannelRcd' ),
0058         tag = cms.string( '' )
0059     )
0060 )
0061 
0062 ### SiStrip DQM ###
0063 
0064 ## Reconstruction ##
0065 
0066 process.load( "DQM.SiStripMonitorClient.RecoForDQM_Cosmic_cff" )
0067 
0068 ## DQM modules ##
0069 
0070 # SiStripMonitorCluster #
0071 
0072 import DQM.SiStripMonitorCluster.SiStripMonitorCluster_cfi
0073 process.siStripMonitorCluster = DQM.SiStripMonitorCluster.SiStripMonitorCluster_cfi.SiStripMonitorCluster.clone()
0074 process.siStripMonitorCluster.OutputMEsInRootFile                     = False 
0075 process.siStripMonitorCluster.SelectAllDetectors                      = True 
0076 process.siStripMonitorCluster.StripQualityLabel                       = ''   
0077 process.siStripMonitorCluster.TH1ClusterPos.moduleswitchon            = True 
0078 process.siStripMonitorCluster.TH1nClusters.layerswitchon              = True 
0079 process.siStripMonitorCluster.TH1nClusters.moduleswitchon             = False
0080 process.siStripMonitorCluster.TH1ClusterStoN.moduleswitchon           = False
0081 process.siStripMonitorCluster.TH1ClusterStoNVsPos.moduleswitchon      = True 
0082 process.siStripMonitorCluster.TH1ClusterNoise.moduleswitchon          = False
0083 process.siStripMonitorCluster.TH1NrOfClusterizedStrips.moduleswitchon = False
0084 process.siStripMonitorCluster.TH1ModuleLocalOccupancy.moduleswitchon  = False
0085 process.siStripMonitorCluster.TH1ClusterCharge.moduleswitchon         = False
0086 process.siStripMonitorCluster.TH1ClusterWidth.moduleswitchon          = False
0087    
0088 ### Input ###
0089 
0090 ## PoolSource ## 
0091 
0092 process.source = cms.Source( "PoolSource",
0093     fileNames = cms.untracked.vstring(
0094         '/store/data/Commissioning08/RandomTriggers/RAW/v1/000/068/665/422164BB-FEA8-DD11-85E7-001D09F24E39.root',
0095         '/store/data/Commissioning08/RandomTriggers/RAW/v1/000/068/665/486C391B-00A9-DD11-807C-001D09F24498.root',
0096         '/store/data/Commissioning08/RandomTriggers/RAW/v1/000/068/665/5AD8595F-04A9-DD11-8627-0030487A1FEC.root',
0097         '/store/data/Commissioning08/RandomTriggers/RAW/v1/000/068/665/90E5BCC7-1DA9-DD11-813C-001617C3B70E.root',
0098         '/store/data/Commissioning08/RandomTriggers/RAW/v1/000/068/665/BC010482-01A9-DD11-AC2D-001D09F28EA3.root',
0099         '/store/data/Commissioning08/RandomTriggers/RAW/v1/000/068/665/F8554B2C-07A9-DD11-A5AC-001D09F244BB.root'
0100     ),
0101     skipEvents = cms.untracked.uint32( 0 )
0102 )
0103 
0104 ## Input steering ##
0105 
0106 process.maxEvents = cms.untracked.PSet(
0107     input = cms.untracked.int32( 100000 )
0108 )
0109 
0110 ### Output ###
0111 
0112 ## DQM ##
0113 
0114 process.load( "DQMServices.Core.DQM_cfg" )
0115 process.DQM.collectorHost = ''
0116 process.load( "DQMServices.Components.DQMEnvironment_cfi" )
0117 process.dqmSaver.convention        = 'Online'
0118 process.dqmSaver.dirName           = '/afs/cern.ch/cms/CAF/CMSCOMM/COMM_TRACKER/DQM/SiStrip/jobs/output'
0119 process.dqmSaver.producer          = 'DQM'
0120 process.dqmSaver.saveByRun         = 1
0121 process.dqmSaver.saveAtJobEnd      = True
0122 process.dqmSaver.referenceHandling = 'qtests'
0123 process.dqmEnv.subSystemFolder = 'SiStrip'
0124 
0125 ### Scheduling ###
0126 
0127 ## Paths ##
0128 
0129 # DQM path #
0130 
0131 process.p = cms.Path(
0132     process.siStripDigis           *
0133     process.siStripZeroSuppression *
0134     process.siStripClusters        *
0135     process.siStripMonitorCluster  *
0136     process.dqmSaver
0137 )