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( "SiStripDQMBadStripsValidation" )
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( 'ERROR' )
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( 'PoolDBESSource', 'GlobalTag' )
0047 # exclude masking
0048 process.siStripQualityESProducer.ListOfRecordToMerge = cms.VPSet(
0049     cms.PSet( record = cms.string( 'SiStripDetCablingRcd' ), tag = cms.string( '' ) ),
0050     cms.PSet( record = cms.string( 'SiStripBadChannelRcd' ), tag = cms.string( '' ) ),
0051     cms.PSet( record = cms.string( 'SiStripBadModuleRcd'  ), tag = cms.string( '' ) ) 
0052 )
0053 process.load( "CondCore.DBCommon.CondDBCommon_cfi" )
0054 process.CondDBCommon.connect = 'frontier://FrontierProd/CMS_COND_21X_STRIP'
0055 process.poolDBESSource = cms.ESSource("PoolDBESSource",
0056    process.CondDBCommon,
0057    BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0058    toGet            = cms.VPSet(
0059        cms.PSet(
0060            record = cms.string('SiStripBadModuleRcd'),
0061            tag    = cms.string('SiStripBadChannel_HotStrip_CRAFT_v1_offline')
0062        )
0063    )
0064 )
0065 
0066 ### SiStrip DQM ###
0067 
0068 ## Reconstruction ##
0069 
0070 process.load( "DQM.SiStripMonitorClient.RecoForDQM_Cosmic_cff" )
0071 
0072 ## DQM modules ##
0073 
0074 # SiStripMonitorCluster #
0075 
0076 import DQM.SiStripMonitorCluster.SiStripMonitorCluster_cfi
0077 process.siStripMonitorCluster = DQM.SiStripMonitorCluster.SiStripMonitorCluster_cfi.SiStripMonitorCluster.clone()
0078 process.siStripMonitorCluster.OutputMEsInRootFile                     = False 
0079 process.siStripMonitorCluster.SelectAllDetectors                      = True 
0080 process.siStripMonitorCluster.StripQualityLabel                       = ''   
0081 process.siStripMonitorCluster.TH1ClusterPos.moduleswitchon            = True 
0082 process.siStripMonitorCluster.TH1nClusters.layerswitchon              = True 
0083 process.siStripMonitorCluster.TH1nClusters.moduleswitchon             = False
0084 process.siStripMonitorCluster.TH1ClusterStoN.moduleswitchon           = False
0085 process.siStripMonitorCluster.TH1ClusterStoNVsPos.moduleswitchon      = True 
0086 process.siStripMonitorCluster.TH1ClusterNoise.moduleswitchon          = False
0087 process.siStripMonitorCluster.TH1NrOfClusterizedStrips.moduleswitchon = False
0088 process.siStripMonitorCluster.TH1ModuleLocalOccupancy.moduleswitchon  = False
0089 process.siStripMonitorCluster.TH1ClusterCharge.moduleswitchon         = False
0090 process.siStripMonitorCluster.TH1ClusterWidth.moduleswitchon          = False
0091 
0092 ### Input ###
0093 
0094 ## PoolSource ## 
0095 
0096 process.source = cms.Source( "PoolSource",
0097     fileNames = cms.untracked.vstring(
0098         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/0E017228-C2AA-DD11-99E3-000423D98804.root',
0099         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/103883BF-C2AA-DD11-A0E7-000423D9939C.root',
0100         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/12A69907-C2AA-DD11-9A5B-000423D6B2D8.root',
0101         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/1C363A46-C6AA-DD11-A731-000423D60FF6.root',
0102         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/1E8D2250-C6AA-DD11-9387-000423D990CC.root',
0103         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/26DB7910-C2AA-DD11-8543-000423D6B48C.root',
0104         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/2A3D3237-D2AA-DD11-9356-001617C3B69C.root',
0105         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/3E4861A0-C5AA-DD11-B728-000423D9870C.root',
0106         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/3EA1EDFF-C6AA-DD11-BFBE-001617C3B70E.root',
0107         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/4C92B0DB-C4AA-DD11-8AED-000423D99394.root',
0108         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/6211DBD5-C4AA-DD11-95A1-001617C3B77C.root',
0109         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/625124F0-C6AA-DD11-8408-001617C3B706.root',
0110         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/702DD7DC-C4AA-DD11-BCA2-000423D9880C.root',
0111         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/84AED28C-C5AA-DD11-98FD-000423D98950.root',
0112         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/88F6DE47-C6AA-DD11-B212-001617C3B6CC.root',
0113         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/8AD6A56F-C3AA-DD11-8D42-000423D94494.root',
0114         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/8CCE5DF6-C6AA-DD11-91DD-000423D98BC4.root',
0115         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/90723321-C4AA-DD11-91A4-001617DBD230.root',
0116         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/94F6A026-C4AA-DD11-883D-000423D98634.root',
0117         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/9AC3020D-C2AA-DD11-A7B6-000423D99614.root',
0118         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/9AD1D9BD-C2AA-DD11-82C6-000423D98FBC.root',
0119         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/B0E82E0A-C2AA-DD11-BA63-000423D98AF0.root',
0120         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/B8CD766F-C3AA-DD11-82C0-001617E30D00.root',
0121         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/BA76AF56-C1AA-DD11-A6AF-001617C3B77C.root',
0122         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/CE974773-C3AA-DD11-BDB7-000423D99996.root',
0123         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/D09AF0B6-C2AA-DD11-A3A5-000423D98920.root',
0124         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/E6FE1827-C4AA-DD11-8467-001617C3B73A.root',
0125         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/EC3A6EA2-C5AA-DD11-A51E-001617C3B65A.root',
0126         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/ECB45AB4-C0AA-DD11-B30B-000423D99264.root',
0127         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/F40D1BDA-C4AA-DD11-B764-001617DBCF6A.root',
0128         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/FC9078C1-C2AA-DD11-8D83-000423D98634.root'
0129     ),
0130     skipEvents = cms.untracked.uint32(0)
0131 )
0132 
0133 ## Input steering ##
0134 
0135 process.maxEvents = cms.untracked.PSet(
0136     input = cms.untracked.int32( -1 )
0137 )
0138 
0139 ### Output ###
0140 
0141 ## DQM ##
0142 
0143 process.load( "DQMServices.Core.DQM_cfg" )
0144 process.DQM.collectorHost = ''
0145 process.load( "DQMServices.Components.DQMEnvironment_cfi" )
0146 process.dqmSaver.convention        = 'Online'
0147 process.dqmSaver.dirName           = '/afs/cern.ch/cms/CAF/CMSCOMM/COMM_TRACKER/DQM/SiStrip/jobs/output'
0148 process.dqmSaver.producer          = 'DQM'
0149 process.dqmSaver.saveByRun         = 1
0150 process.dqmSaver.saveAtJobEnd      = True
0151 process.dqmSaver.referenceHandling = 'qtests'
0152 process.dqmEnv.subSystemFolder = 'SiStrip'
0153 
0154 ### Scheduling ###
0155 
0156 ## Paths ##
0157 
0158 # DQM path #
0159 
0160 process.p = cms.Path(
0161     process.siStripDigis           *
0162     process.siStripZeroSuppression *
0163     process.siStripClusters        *
0164     process.siStripMonitorCluster  *
0165     process.dqmSaver
0166 )