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( "SiStripDQMBadStripsValidationReReco" )
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_V4::All'
0046 process.es_prefer_GlobalTag = cms.ESPrefer( 'PoolDBESSource', 'GlobalTag' )
0047 
0048 ### SiStrip DQM ###
0049 
0050 ## Reconstruction ##
0051 
0052 process.load( "RecoTracker.Configuration.RecoTrackerP5_cff" )
0053 
0054 ## DQM modules ##
0055 
0056 # SiStripMonitorCluster #
0057 
0058 import DQM.SiStripMonitorCluster.SiStripMonitorCluster_cfi
0059 process.siStripMonitorCluster = DQM.SiStripMonitorCluster.SiStripMonitorCluster_cfi.SiStripMonitorCluster.clone()
0060 process.siStripMonitorCluster.OutputMEsInRootFile                     = False 
0061 process.siStripMonitorCluster.SelectAllDetectors                      = True 
0062 process.siStripMonitorCluster.StripQualityLabel                       = ''   
0063 process.siStripMonitorCluster.TH1ClusterPos.moduleswitchon            = True 
0064 process.siStripMonitorCluster.TH1nClusters.layerswitchon              = True 
0065 process.siStripMonitorCluster.TH1nClusters.moduleswitchon             = False
0066 process.siStripMonitorCluster.TH1ClusterStoN.moduleswitchon           = False
0067 process.siStripMonitorCluster.TH1ClusterStoNVsPos.moduleswitchon      = True 
0068 process.siStripMonitorCluster.TH1ClusterNoise.moduleswitchon          = False
0069 process.siStripMonitorCluster.TH1NrOfClusterizedStrips.moduleswitchon = False
0070 process.siStripMonitorCluster.TH1ModuleLocalOccupancy.moduleswitchon  = False
0071 process.siStripMonitorCluster.TH1ClusterCharge.moduleswitchon         = False
0072 process.siStripMonitorCluster.TH1ClusterWidth.moduleswitchon          = False
0073 
0074 # SiStripMonitorTrack #
0075 
0076 import RecoTracker.TrackProducer.RefitterWithMaterial_cfi
0077 process.ctfWithMaterialTracksP5Refitter                   = RecoTracker.TrackProducer.RefitterWithMaterial_cfi.TrackRefitter.clone()
0078 process.ctfWithMaterialTracksP5Refitter.src               = 'ctfWithMaterialTracksP5'
0079 process.ctfWithMaterialTracksP5Refitter.TrajectoryInEvent = True
0080 import DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi
0081 process.SiStripMonitorTrackReal = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
0082 process.SiStripMonitorTrackReal.TrackProducer = 'ctfWithMaterialTracksP5'
0083 process.SiStripMonitorTrackReal.TrackLabel    = ''
0084 process.SiStripMonitorTrackReal.Cluster_src   = 'siStripClusters'
0085 process.SiStripMonitorTrackReal.FolderName    = 'SiStrip/Tracks'
0086 # process.SiStripMonitorTrackReal.Mod_On        = True
0087 
0088 ### Input ###
0089 
0090 ## PoolSource ## 
0091 
0092 process.source = cms.Source( "PoolSource",
0093     fileNames = cms.untracked.vstring(
0094         '/store/data/Commissioning08/Cosmics/RECO/CRAFT_ALL_V4_ReReco-v1/0001/DE20B094-1FC2-DD11-90AC-001D0967D5A8.root',
0095         '/store/data/Commissioning08/Cosmics/RECO/CRAFT_ALL_V4_ReReco-v1/0004/6C368AB3-96C2-DD11-BDAC-001D0967CF86.root',
0096         '/store/data/Commissioning08/Cosmics/RECO/CRAFT_ALL_V4_ReReco-v1/0007/1A572E65-75C4-DD11-8E97-001D0967C64E.root',
0097         '/store/data/Commissioning08/Cosmics/RECO/CRAFT_ALL_V4_ReReco-v1/0010/52664B9C-E8C4-DD11-B292-0019B9E48877.root'
0098     ),
0099     skipEvents = cms.untracked.uint32(0)
0100 )
0101 
0102 ## Input steering ##
0103 
0104 process.maxEvents = cms.untracked.PSet(
0105     input = cms.untracked.int32( 1000 )
0106 )
0107 
0108 ### Output ###
0109 
0110 ## DQM ##
0111 
0112 process.load( "DQMServices.Core.DQM_cfg" )
0113 process.DQM.collectorHost = ''
0114 process.load( "DQMServices.Components.DQMEnvironment_cfi" )
0115 process.dqmSaver.convention        = 'Online'
0116 process.dqmSaver.dirName           = '/afs/cern.ch/cms/CAF/CMSCOMM/COMM_TRACKER/DQM/SiStrip/jobs/output'
0117 process.dqmSaver.producer          = 'DQM'
0118 process.dqmSaver.saveByRun         = 1
0119 process.dqmSaver.saveAtJobEnd      = True
0120 process.dqmSaver.referenceHandling = 'qtests'
0121 process.dqmEnv.subSystemFolder = 'SiStrip'
0122 
0123 ### Scheduling ###
0124 
0125 ## Paths ##
0126 
0127 # DQM path #
0128 
0129 process.p = cms.Path(
0130     process.siStripMonitorCluster  *
0131     process.ctfWithMaterialTracksP5Refitter *
0132     process.SiStripMonitorTrackReal *
0133     process.dqmSaver
0134 )