Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-06-30 04:13:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("SiStripHotStripCalibration")
0004 
0005 process.MessageLogger = cms.Service("MessageLogger",
0006     debugModules = cms.untracked.vstring('orbitFilter','OrbitFilter','SiStripQualityHotStripIdentifierRoot','siStripQualityHotStripIdentifierRoot','SiStripHotStripAlgorithmFromClusterOccupancy'),
0007     log = cms.untracked.PSet(
0008         threshold = cms.untracked.string('INFO')
0009     ),
0010     destinations = cms.untracked.vstring('log.txt')
0011 )
0012 
0013 #-------------------------------------------------
0014 # Geometry
0015 #-------------------------------------------------
0016 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0017 
0018 #-------------------------------------------------
0019 # Calibration
0020 #-------------------------------------------------
0021 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_noesprefer_cff")
0022 process.GlobalTag.connect = "frontier://FrontierProd/CMS_COND_21X_GLOBALTAG"
0023 process.GlobalTag.globaltag = "CRAFT_V3P::All"
0024 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0025 
0026 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0027 process.CondDBCommon.connect='frontier://FrontierProd/CMS_COND_21X_STRIP'
0028 process.poolDBESSource=cms.ESSource("PoolDBESSource",
0029                                     process.CondDBCommon,
0030                                     BlobStreamerName=cms.untracked.string('TBufferBlobStreamingService'),
0031                                     toGet           =cms.VPSet(
0032     cms.PSet(
0033     record=cms.string('SiStripBadModuleRcd'),
0034     tag   =cms.string('SiStripBadChannel_HotStrip_CRAFT_v1_offline')
0035     )
0036     )
0037                                     )
0038 
0039 # Include masking #
0040 
0041 process.siStripQualityESProducer.ListOfRecordToMerge=cms.VPSet(
0042  cms.PSet(record=cms.string('SiStripDetCablingRcd'),tag=cms.string(''))
0043  ,cms.PSet(record=cms.string('SiStripBadChannelRcd'),tag=cms.string(''))
0044  ,cms.PSet(record=cms.string('SiStripBadModuleRcd' ),tag=cms.string(''))
0045 )
0046 process.siStripQualityESProducer.ReduceGranularity = cms.bool(False)
0047 
0048 
0049 #-----------------------
0050 # Reconstruction Modules
0051 #-----------------------
0052 
0053 process.load("DQM.SiStripMonitorClient.RecoForDQM_Cosmic_cff")
0054 
0055 #--------------------------
0056 # DQM
0057 #--------------------------
0058 process.load("DQM.SiStripMonitorClient.SiStripDQMOnline_cff")
0059 
0060 process.SiStripMonitorCluster.TH1ClusterPos.moduleswitchon = cms.bool(True)
0061 process.SiStripMonitorCluster.TH1nClusters.layerswitchon  = cms.bool(True)
0062 process.SiStripMonitorCluster.TH1ClusterStoN.moduleswitchon = cms.bool(True)
0063 #process.SiStripMonitorCluster.TH1ClusterStoNVsPos.moduleswitchon = cms.bool(True)
0064 
0065 process.SiStripMonitorCluster.TH1ClusterNoise.moduleswitchon = cms.bool(False)
0066 process.SiStripMonitorCluster.TH1NrOfClusterizedStrips.moduleswitchon = cms.bool(False)
0067 process.SiStripMonitorCluster.TH1ModuleLocalOccupancy.moduleswitchon = cms.bool(False)
0068 process.SiStripMonitorCluster.TH1nClusters.moduleswitchon = cms.bool(False)
0069 process.SiStripMonitorCluster.TH1ClusterCharge.moduleswitchon = cms.bool(False)
0070 process.SiStripMonitorCluster.TH1ClusterWidth.moduleswitchon = cms.bool(False)
0071 
0072 #--------------------------
0073 
0074 
0075 from CalibTracker.SiStripQuality.siStripQualityStatistics_cfi import siStripQualityStatistics
0076 process.stat = siStripQualityStatistics.clone(
0077         #available filetypes: .pdf .png .jpg .svg
0078         TkMapFileName = cms.untracked.string("TkMapBadComponents.png")
0079         )
0080 
0081 
0082 process.p = cms.Path(process.siStripDigis*process.siStripZeroSuppression*process.siStripClusters*process.SiStripMonitorCluster*process.dqmSaver*process.stat)
0083 
0084 #-------------------------
0085 # Input Events
0086 #-------------------------
0087 
0088 process.source = cms.Source("PoolSource",
0089                             timetype = cms.string('runnumber'),
0090                             #firstRun = cms.untracked.uint32(67173),
0091                             #lastRun = cms.untracked.uint32(67173),
0092                             #skipEvents = cms.untracked.uint32(4000000),
0093                             interval = cms.uint32(1),
0094                             fileNames = cms.untracked.vstring(
0095         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/0E017228-C2AA-DD11-99E3-000423D98804.root',
0096         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/103883BF-C2AA-DD11-A0E7-000423D9939C.root',
0097         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/12A69907-C2AA-DD11-9A5B-000423D6B2D8.root',
0098         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/1C363A46-C6AA-DD11-A731-000423D60FF6.root',
0099         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/1E8D2250-C6AA-DD11-9387-000423D990CC.root',
0100         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/26DB7910-C2AA-DD11-8543-000423D6B48C.root',
0101         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/2A3D3237-D2AA-DD11-9356-001617C3B69C.root',
0102         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/3E4861A0-C5AA-DD11-B728-000423D9870C.root',
0103         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/3EA1EDFF-C6AA-DD11-BFBE-001617C3B70E.root',
0104         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/4C92B0DB-C4AA-DD11-8AED-000423D99394.root',
0105         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/6211DBD5-C4AA-DD11-95A1-001617C3B77C.root',
0106         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/625124F0-C6AA-DD11-8408-001617C3B706.root',
0107         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/702DD7DC-C4AA-DD11-BCA2-000423D9880C.root',
0108         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/84AED28C-C5AA-DD11-98FD-000423D98950.root',
0109         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/88F6DE47-C6AA-DD11-B212-001617C3B6CC.root',
0110         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/8AD6A56F-C3AA-DD11-8D42-000423D94494.root',
0111         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/8CCE5DF6-C6AA-DD11-91DD-000423D98BC4.root',
0112         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/90723321-C4AA-DD11-91A4-001617DBD230.root',
0113         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/94F6A026-C4AA-DD11-883D-000423D98634.root',
0114         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/9AC3020D-C2AA-DD11-A7B6-000423D99614.root',
0115         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/9AD1D9BD-C2AA-DD11-82C6-000423D98FBC.root',
0116         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/B0E82E0A-C2AA-DD11-BA63-000423D98AF0.root',
0117         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/B8CD766F-C3AA-DD11-82C0-001617E30D00.root',
0118         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/BA76AF56-C1AA-DD11-A6AF-001617C3B77C.root',
0119         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/CE974773-C3AA-DD11-BDB7-000423D99996.root',
0120         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/D09AF0B6-C2AA-DD11-A3A5-000423D98920.root',
0121         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/E6FE1827-C4AA-DD11-8467-001617C3B73A.root',
0122         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/EC3A6EA2-C5AA-DD11-A51E-001617C3B65A.root',
0123         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/ECB45AB4-C0AA-DD11-B30B-000423D99264.root',
0124         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/F40D1BDA-C4AA-DD11-B764-001617DBCF6A.root',
0125         '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/351/FC9078C1-C2AA-DD11-8D83-000423D98634.root'
0126 )
0127 )
0128 
0129 process.maxEvents = cms.untracked.PSet(
0130     input = cms.untracked.int32(-1)
0131 )
0132 
0133