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("DTValidationFromDIGI")
0004 
0005 ## General CMS
0006 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0007 # process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0008 # process.GlobalTag.globaltag = "CRUZET4_V3P::All"
0009 
0010 process.load("Configuration.StandardSequences.MagneticField_cff")
0011 
0012 # process.calibDB = cms.ESSource("PoolDBESSource",
0013 #     process.CondDBSetup,
0014 #     authenticationMethod = cms.untracked.uint32(0),
0015 #     toGet = cms.VPSet(cms.PSet(
0016 #         # VDrift
0017 #         #string record = "DTMtimeRcd"
0018 #         #string tag ="vDrift"
0019 #         # TZero
0020 #         #string record = "DTT0Rcd" 
0021 #         #string tag = "t0"
0022 #         #string tag = "t0_GRUMM"
0023 #         # TTrig
0024 #         record = cms.string('DTTtrigRcd'),
0025 #         tag = cms.string('ttrig')
0026 #     )),
0027 #     connect = cms.string('sqlite_file:/afs/cern.ch/user/p/pellicci/scratch0/DPG/LocalReco/CMSSW_3_1_X_2009-02-25-0700/src/CalibMuon/DTCalibration/test/ttrig.db')
0028 # )
0029 #process.prefer = cms.ESPrefer("PoolDBESSource","calibDB")
0030 
0031 # Geometry related
0032 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0033 
0034 ## DT local Reco
0035 process.load("RecoLocalMuon.Configuration.RecoLocalMuon_cff")
0036 process.dt1DRecHits.dtDigiLabel  = cms.InputTag("simMuonDTDigis")
0037 
0038 # Validation RecHits
0039 process.load("Validation.DTRecHits.DTRecHitQuality_cfi")
0040 
0041 process.maxEvents = cms.untracked.PSet(
0042         input = cms.untracked.int32(-1)
0043         )
0044 
0045 process.options = cms.untracked.PSet(
0046     #FailPath = cms.untracked.vstring('ProductNotFound'),
0047     makeTriggerResults = cms.untracked.bool(True),
0048     wantSummary = cms.untracked.bool(True)
0049 )
0050 
0051 process.MessageLogger = cms.Service("MessageLogger",
0052     cerr = cms.untracked.PSet(
0053         enable = cms.untracked.bool(False)
0054     ),
0055     cout = cms.untracked.PSet(
0056         enable = cms.untracked.bool(True),
0057         threshold = cms.untracked.string('WARNING')
0058     )
0059 )
0060 
0061 process.source = cms.Source("PoolSource",
0062 fileNames = cms.untracked.vstring( 
0063     '/store/relval/CMSSW_3_1_0_pre6/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0002/746C9E4E-D932-DE11-B1E6-001617DBCF90.root',
0064     '/store/relval/CMSSW_3_1_0_pre6/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0002/5C7FE942-1733-DE11-880D-001617C3B77C.root',
0065     '/store/relval/CMSSW_3_1_0_pre6/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0002/32F159D3-D832-DE11-9A86-000423D98A44.root'
0066     )
0067 
0068 )
0069 
0070 process.muonLocalReco = cms.Sequence(process.dtlocalreco_with_2DSegments)
0071 
0072 process.analysis = cms.Sequence(process.dtLocalRecoValidation)
0073 
0074 process.p = cms.Path(process.muonLocalReco * process.analysis)
0075