Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:32:19

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DTValidationFromRECO")
0004 
0005 ## Conditions
0006 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0007 # process.GlobalTag.globaltag = "CRUZET4_V3P::All"
0008 process.GlobalTag.globaltag = "MC_31X_V1::All"
0009 
0010 process.load("Configuration.StandardSequences.MagneticField_cff")
0011 
0012 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0013 
0014 # DQM services
0015 process.load("DQMServices.Core.DQMStore_cfg")
0016 process.load("DQMServices.Components.DQMEnvironment_cfi")
0017 process.dqmSaver.convention = 'Offline'
0018 # FIXME: correct this
0019 process.dqmSaver.workflow = '/Cosmics/CMSSW_2_2_X-Testing/RECO'
0020 
0021 # Validation RecHits
0022 process.load("Validation.DTRecHits.DTRecHitQuality_cfi")
0023 process.load("Validation.DTRecHits.DTRecHitClients_cfi")
0024 ##process.rechivalidation.doStep2 = False
0025 # process.rechivalidation.recHitLabel = 'hltDt1DRecHits'
0026 # process.rechivalidation.segment4DLabel = 'hltDt4DSegments'
0027 # process.seg2dsuperphivalidation.segment4DLabel = 'hltDt4DSegments'
0028 # process.seg4dvalidation.segment4DLabel = 'hltDt4DSegments'
0029 
0030 
0031 
0032 process.maxEvents = cms.untracked.PSet(
0033         input = cms.untracked.int32(-1)
0034         )
0035 
0036 process.options = cms.untracked.PSet(
0037     #FailPath = cms.untracked.vstring('ProductNotFound'),
0038     makeTriggerResults = cms.untracked.bool(True),
0039     wantSummary = cms.untracked.bool(True)
0040 )
0041 
0042 process.MessageLogger = cms.Service("MessageLogger",
0043     cerr = cms.untracked.PSet(
0044         enable = cms.untracked.bool(False)
0045     ),
0046     cout = cms.untracked.PSet(
0047         enable = cms.untracked.bool(True),
0048         threshold = cms.untracked.string('WARNING')
0049     )
0050 )
0051 
0052 process.source = cms.Source("PoolSource",
0053                             fileNames = cms.untracked.vstring( 
0054 #    '/store/relval/CMSSW_3_1_0_pre10/RelValSingleMuPt100/GEN-SIM-RECO/IDEAL_31X_v1/0008/BADD3EA6-0458-DE11-B820-001D09F23944.root',
0055 #    '/store/relval/CMSSW_3_1_0_pre10/RelValSingleMuPt100/GEN-SIM-RECO/IDEAL_31X_v1/0008/26D81C3A-7857-DE11-9D02-001D09F29849.root'
0056 '/store/relval/CMSSW_3_1_0_pre11/RelValSingleMuPt100/GEN-SIM-RECO/MC_31X_V1-v1/0000/A632041C-A964-DE11-B489-0030487A3232.root',
0057         '/store/relval/CMSSW_3_1_0_pre11/RelValSingleMuPt100/GEN-SIM-RECO/MC_31X_V1-v1/0000/4CBC3EFA-EC64-DE11-877E-000423D987FC.root'
0058 
0059     ),
0060                             secondaryFileNames = cms.untracked.vstring(
0061 #    '/store/relval/CMSSW_3_1_0_pre10/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0008/E2CF66DF-7557-DE11-8F38-001D09F25325.root',
0062 #    '/store/relval/CMSSW_3_1_0_pre10/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0008/86023B5A-6E57-DE11-974A-000423D6C8E6.root',
0063 #    '/store/relval/CMSSW_3_1_0_pre10/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0008/4403B0A3-0458-DE11-A53F-001D09F241D2.root'
0064 '/store/relval/CMSSW_3_1_0_pre11/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V1-v1/0000/888F0E57-ED64-DE11-B50E-001617DC1F70.root',
0065         '/store/relval/CMSSW_3_1_0_pre11/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V1-v1/0000/50FB5A53-A864-DE11-A157-001D09F24682.root',
0066         '/store/relval/CMSSW_3_1_0_pre11/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V1-v1/0000/0628442A-7464-DE11-8D2F-001D09F25217.root'
0067 
0068     )
0069 
0070 )
0071 
0072 
0073 process.analysis = cms.Sequence(process.dtLocalRecoValidation_no2D)
0074 process.clients = cms.Sequence(process.dtLocalRecoValidationClients)
0075 process.p = cms.Path(process.analysis + process.clients + process.dqmSaver)
0076