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("DTValidationFromHLT")
0004 
0005 ## Conditions
0006 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0007 # process.GlobalTag.globaltag = "CRUZET4_V3P::All"
0008 #process.GlobalTag.globaltag = "IDEAL_31X::All"
0009 process.GlobalTag.globaltag = "MC_31X_V1::All"
0010 
0011 process.load("Configuration.StandardSequences.MagneticField_cff")
0012 
0013 #Geometry
0014 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0015 
0016 # DQM services
0017 process.load("DQMServices.Core.DQMStore_cfg")
0018 process.load("DQMServices.Components.DQMEnvironment_cfi")
0019 process.dqmSaver.convention = 'RelVal'
0020 # FIXME: correct this
0021 process.dqmSaver.workflow = '/Cosmics/CMSSW_2_2_X-Testing/RECO'
0022 
0023 # Validation RecHits
0024 process.load("Validation.DTRecHits.DTRecHitQuality_cfi")
0025 process.rechivalidation.doStep2 = False
0026 process.rechivalidation.recHitLabel = 'hltDt1DRecHits'
0027 process.rechivalidation.segment4DLabel = 'hltDt4DSegments'
0028 process.seg2dsuperphivalidation.segment4DLabel = 'hltDt4DSegments'
0029 process.seg4dvalidation.segment4DLabel = 'hltDt4DSegments'
0030 
0031 
0032 
0033 process.maxEvents = cms.untracked.PSet(
0034         input = cms.untracked.int32(5000)
0035         )
0036 
0037 process.options = cms.untracked.PSet(
0038     #FailPath = cms.untracked.vstring('ProductNotFound'),
0039     makeTriggerResults = cms.untracked.bool(True),
0040     wantSummary = cms.untracked.bool(True)
0041 )
0042 
0043 process.MessageLogger = cms.Service("MessageLogger",
0044     cerr = cms.untracked.PSet(
0045         enable = cms.untracked.bool(False)
0046     ),
0047     cout = cms.untracked.PSet(
0048         enable = cms.untracked.bool(True),
0049         threshold = cms.untracked.string('WARNING')
0050     )
0051 )
0052 
0053 process.source = cms.Source("PoolSource",
0054                             fileNames = cms.untracked.vstring( 
0055     '/store/relval/CMSSW_3_1_0_pre11/RelValSingleMuPt100/GEN-SIM-RECO/MC_31X_V1-v1/0000/A632041C-A964-DE11-B489-0030487A3232.root',
0056     '/store/relval/CMSSW_3_1_0_pre11/RelValSingleMuPt100/GEN-SIM-RECO/MC_31X_V1-v1/0000/4CBC3EFA-EC64-DE11-877E-000423D987FC.root'
0057     ),
0058                             secondaryFileNames = cms.untracked.vstring(
0059     '/store/relval/CMSSW_3_1_0_pre11/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V1-v1/0000/888F0E57-ED64-DE11-B50E-001617DC1F70.root',
0060     '/store/relval/CMSSW_3_1_0_pre11/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V1-v1/0000/50FB5A53-A864-DE11-A157-001D09F24682.root',
0061     '/store/relval/CMSSW_3_1_0_pre11/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V1-v1/0000/0628442A-7464-DE11-8D2F-001D09F25217.root'
0062     )
0063 
0064 )
0065 
0066 
0067 process.analysis = cms.Sequence(process.dtLocalRecoValidation_no2D)
0068 
0069 process.p = cms.Path(process.analysis + process.dqmSaver)
0070