Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:09:09

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #-------------------------------------------------
0004 # DQMServices
0005 #-------------------------------------------------
0006 process = cms.Process("DQMTrackMon")
0007 
0008 #-------------------------------------------------
0009 # message logger
0010 #-------------------------------------------------
0011 process.MessageLogger = cms.Service("MessageLogger",
0012      default = cms.untracked.PSet( limit = cms.untracked.int32(10) )
0013 )
0014 
0015 #-------------------------------------------------
0016 # Source  
0017 #-------------------------------------------------
0018 process.source = cms.Source("PoolSource",
0019     fileNames = cms.untracked.vstring('/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/10CF910B-E057-E011-9B13-000423D9A2AE.root')
0020 )
0021 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(5))
0022 
0023 
0024 #-------------------------------------------------
0025 # MAGNETIC FIELD & RECO
0026 #-------------------------------------------------
0027 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0028 process.GlobalTag.globaltag = "GR_R_43_V3::All"
0029 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0030 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0031 process.load("Configuration.StandardSequences.Reconstruction_cff")
0032 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0033 process.load("RecoLocalTracker.Configuration.RecoLocalTracker_cff")
0034 process.load("RecoTracker.Configuration.RecoTracker_cff")
0035 process.load("TrackingTools.TransientTrack.TransientTrackBuilder_cfi")
0036 
0037 #-------------------------------------------------
0038 # Tracking Monitor 
0039 #-------------------------------------------------
0040 process.load("DQM.TrackingMonitor.TrackingMonitorAllTrackingSequences_cff")
0041 
0042 #-------------------------------------------------
0043 
0044 # DQM Store 
0045 #-------------------------------------------------
0046 process.DQMStore = cms.Service("DQMStore",
0047     verbose = cms.untracked.int32(0)
0048 )
0049 
0050 #-------------------------------------------------
0051 # Paths 
0052 #-------------------------------------------------
0053 
0054 # redo tracking (to get all the track builing and interative steps)
0055 process.preTracking = cms.Path(process.siPixelRecHits*process.siStripMatchedRecHits)
0056 process.tracking    = cms.Path(process.offlineBeamSpot*process.recopixelvertexing*process.ckftracks_plus_pixelless) 
0057 #process.tracking    = cms.Path(process.ckftracks)
0058 
0059 # tracking monitor paths
0060 process.trackmon    = cms.Path(process.trkmon)
0061 
0062 # end path
0063 process.outP    = cms.OutputModule("AsciiOutputModule")
0064 process.ep      = cms.EndPath(process.outP)
0065 
0066 process.trkmon = cms.Schedule(
0067       process.preTracking
0068     , process.tracking
0069     , process.trackmon 
0070     , process.ep
0071 )
0072 
0073