Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:32:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DTValidationFromRAW")
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
0032 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0033 
0034 ## DT unpacker
0035 process.load("EventFilter.DTRawToDigi.dtunpacker_cfi")
0036 process.muonDTDigis.inputLabel = 'rawDataCollector'
0037 
0038 ## DT local Reco
0039 process.load("RecoLocalMuon.Configuration.RecoLocalMuon_cff")
0040 process.dt1DRecHits.dtDigiLabel  = cms.InputTag("muonDTDigis")
0041 
0042 # Validation RecHits
0043 process.load("Validation.DTRecHits.DTRecHitQuality_cfi")
0044 
0045 process.maxEvents = cms.untracked.PSet(
0046         input = cms.untracked.int32(-1)
0047         )
0048 
0049 process.options = cms.untracked.PSet(
0050     #TryToContinue = cms.untracked.vstring('ProductNotFound'),
0051     makeTriggerResults = cms.untracked.bool(True),
0052     wantSummary = cms.untracked.bool(True)
0053 )
0054 
0055 process.MessageLogger = cms.Service("MessageLogger",
0056     cerr = cms.untracked.PSet(
0057         enable = cms.untracked.bool(False)
0058     ),
0059     cout = cms.untracked.PSet(
0060         enable = cms.untracked.bool(True),
0061         threshold = cms.untracked.string('WARNING')
0062     )
0063 )
0064 
0065 process.source = cms.Source("PoolSource",
0066                             fileNames = cms.untracked.vstring(
0067     '/store/relval/CMSSW_3_1_0_pre6/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0002/746C9E4E-D932-DE11-B1E6-001617DBCF90.root',
0068     '/store/relval/CMSSW_3_1_0_pre6/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0002/5C7FE942-1733-DE11-880D-001617C3B77C.root',
0069     '/store/relval/CMSSW_3_1_0_pre6/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0002/32F159D3-D832-DE11-9A86-000423D98A44.root'
0070     )
0071                             )
0072 
0073 process.muonLocalReco = cms.Sequence(process.dtlocalreco_with_2DSegments)
0074 
0075 process.analysis = cms.Sequence(process.dtLocalRecoValidation)
0076 
0077 process.p = cms.Path(process.muonDTDigis *
0078                      process.muonLocalReco *
0079                      process.analysis)
0080