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(500) )
0013 )
0014 
0015 #-------------------------------------------------
0016 # Source  
0017 #-------------------------------------------------
0018 process.source = cms.Source("PoolSource",
0019 #fileNames = cms.untracked.vstring('/store/data/Run2011A/Jet/RAW/v1/000/166/950/6EA38368-6696-E011-ACD3-0030487C8CB8.root')   
0020 fileNames = cms.untracked.vstring(
0021     '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/10CF910B-E057-E011-9B13-000423D9A2AE.root',
0022     '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/FA2A2CFC-EB57-E011-BF91-00304879EE3E.root',
0023         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/F8C8D3A7-D957-E011-85A4-003048F11CF0.root',
0024         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/DAACC74C-DF57-E011-A45D-001D09F2B30B.root',
0025         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/9A449B92-D757-E011-8FC7-003048F1183E.root',
0026         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/92FD48CA-F557-E011-959E-003048F1C832.root',
0027         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/888BEB25-0A58-E011-98B3-003048F024DC.root',
0028         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/7C7651A9-EC57-E011-B60D-00304879FBB2.root',
0029         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/6AF8632D-F057-E011-BD34-001D09F2516D.root',
0030         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/60819326-1658-E011-BB11-003048F1C420.root',
0031         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/560220D8-FC57-E011-9986-003048F024DC.root',
0032         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/4CB4C0AC-F357-E011-B294-003048F118E0.root',
0033         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/42CB3662-ED57-E011-A068-001617E30F58.root',
0034         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/32029E2D-E957-E011-8CAE-001D09F251CC.root',
0035         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/283A353B-E457-E011-AB13-0030487C8CBE.root',
0036         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/24196B2D-F057-E011-BB16-001D09F23D1D.root',
0037         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/20143BE5-E957-E011-AAF3-00304879EE3E.root',
0038         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/10CF910B-E057-E011-9B13-000423D9A2AE.root',
0039         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/312/08357011-F357-E011-9076-000423D98B6C.root',
0040         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/311/F46E958A-E357-E011-9FB1-0030487A18F2.root',
0041         '/store/data/Run2011A/Jet/RECO/PromptReco-v1/000/161/311/D63AC4DF-CF57-E011-942A-001D09F25460.root')
0042 )
0043 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(5))
0044 
0045 
0046 #-------------------------------------------------
0047 # MAGNETIC FIELD & RECO
0048 #-------------------------------------------------
0049 
0050 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0051 process.GlobalTag.globaltag = "GR_R_43_V3::All"
0052 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0053 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0054 process.load("Configuration.StandardSequences.Reconstruction_cff")
0055 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0056 process.load("RecoTracker.Configuration.RecoTracker_cff")
0057 process.load("RecoLocalTracker.Configuration.RecoLocalTracker_cff")
0058 process.load("TrackingTools.TransientTrack.TransientTrackBuilder_cfi")
0059 
0060 #-------------------------------------------------
0061 # Tracking Monitor 
0062 #-------------------------------------------------
0063 #process.load("DQM.TrackingMonitor.TrackingMonitorAllTrackingSequences_cff")
0064 
0065 process.load("DQM.TrackingMonitor.TrackingMonitor_cfi")
0066 
0067 # InputTags for collections 
0068 process.TrackMon.TrackProducer          = cms.InputTag("generalTracks")
0069 process.TrackMon.SeedProducer  = cms.InputTag("newSeedFromTriplets")
0070 
0071 
0072 process.TrackMon.ClusterLabels = cms.vstring('Pix','Strip','Tot')
0073 
0074 process.TrackMon.TCProducer             = cms.InputTag("newTrackCandidateMaker")
0075 process.TrackMon.beamSpot               = cms.InputTag("offlineBeamSpot")
0076 
0077 # properties
0078 process.TrackMon.AlgoName               = cms.string('GenTk')
0079 
0080 process.TrackMon.FolderName             = cms.string('Track/GlobalParameters')
0081 process.TrackMon.BSFolderName           = cms.string('Track/BeamSpotParameters')
0082 process.TrackMon.MeasurementState       = cms.string('ImpactPoint')
0083 
0084 # which plots to do
0085 process.TrackMon.doTrackerSpecific      = cms.bool(False)
0086 process.TrackMon.doAllPlots             = cms.bool(False)
0087 process.TrackMon.doBeamSpotPlots        = cms.bool(False)
0088 
0089 process.TrackMon.doSeedParameterHistos   = cms.bool(True)
0090 #process.TrackMon.doSeedNumberHisto          = cms.bool(True)
0091 #process.TrackMon.doSeedVsClusterHisto       = cms.bool(True)
0092 process.TrackMon.doTrackCandHistos          = cms.bool(True)
0093 
0094 process.TrackMon.doSeedPTHisto          = cms.bool(False)
0095 
0096 #-------------------------------------------------
0097 
0098 # DQM Store 
0099 #-------------------------------------------------
0100 
0101 
0102 process.DQMStore = cms.Service("DQMStore",
0103     verbose = cms.untracked.int32(0)
0104 )
0105 
0106 #-------------------------------------------------
0107 # Paths 
0108 #-------------------------------------------------
0109 
0110 # redo tracking (to get all the track builing and interative steps)
0111 
0112 #process.preTracking = cms.Path(process.siPixelRecHits*process.siStripMatchedRecHits)
0113 #process.tracking    = cms.Path(process.ckftracks_plus_pixelless)
0114 
0115 #pixeltrackerlocalreco = cms.Path(process.siPixelClusters*process.siPixelRecHits)
0116 #striptrackerlocalreco = cms.Path(process.siStripClusters*process.siStripMatchedRecHits)
0117 #trackerlocalreco = cms.Path(process.pixeltrackerlocalreco*process.striptrackerlocalreco)
0118 #process.digis = cms.Path(process.siPixelDigis*process.siStripDigis)
0119 #process.preTracking = cms.Path(process.trackerlocalreco)
0120 process.preTracking = cms.Path(process.siStripMatchedRecHits*process.siPixelRecHits)
0121 process.tracking    = cms.Path(process.offlineBeamSpot*process.recopixelvertexing*process.ckftracks)
0122 
0123 #process.tracking    = cms.Path(process.ckftracks)
0124 
0125 # tracking monitor paths
0126 #process.trackmon    = cms.Path(process.trkmon)
0127 process.trackmon  = cms.Path( process.TrackMon )
0128 # end path
0129 process.outP    = cms.OutputModule("AsciiOutputModule")
0130 process.ep      = cms.EndPath(process.outP)
0131 
0132 process.trkmon = cms.Schedule(
0133 #process.digis ,    
0134       process.preTracking,
0135      process.tracking
0136     , process.trackmon 
0137     , process.ep
0138 )
0139 
0140