CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/TrackingMonitor/python/TrackingMonitorAllTrackingSequences_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #-------------------------------------------------
00004 # Tracking Monitor 
00005 #-------------------------------------------------
00006 from DQM.TrackingMonitor.TrackingMonitor_cfi import *
00007 
00008 # properties
00009 TrackMon.OutputMEsInRootFile    = cms.bool(False)
00010 TrackMon.OutputFileName         = cms.string('TrackingMonitorAllSequences.root')
00011 TrackMon.MeasurementState       = cms.string('ImpactPoint')
00012 
00013 # which plots to do
00014 TrackMon.doTrackerSpecific      = cms.bool(True)
00015 TrackMon.doAllPlots             = cms.bool(True)
00016 TrackMon.doBeamSpotPlots        = cms.bool(True)
00017 TrackMon.doSeedParameterHistos  = cms.bool(False)
00018 
00019 # out of the box
00020 # ---------------------------------------------------------------------------#
00021 
00022 # generalTracks
00023 TrackMonGenTk = TrackMon.clone()
00024 TrackMonGenTk.TrackProducer         = cms.InputTag("generalTracks")
00025 TrackMonGenTk.beamSpot              = cms.InputTag("offlineBeamSpot")
00026 TrackMonGenTk.FolderName            = cms.string('Tracking/GenTk/GlobalParameters')
00027 TrackMonGenTk.BSFolderName          = cms.string('Tracking/GenTk/BeamSpotParameters')
00028 TrackMonGenTk.AlgoName              = cms.string('GenTk')
00029 TrackMonGenTk.doSeedParameterHistos = cms.bool(False)
00030 
00031 
00032 
00033 # Step0 
00034 TrackMonStep0 = TrackMon.clone()
00035 TrackMonStep0.TrackProducer = cms.InputTag("zeroStepTracksWithQuality")
00036 TrackMonStep0.SeedProducer  = cms.InputTag("initialStepSeeds")
00037 TrackMonStep0.TCProducer    = cms.InputTag("initialStepTrackCandidates")
00038 TrackMonStep0.beamSpot      = cms.InputTag("offlineBeamSpot")
00039 TrackMonStep0.FolderName    = cms.string('Tracking/Step0/GlobalParameters')
00040 TrackMonStep0.BSFolderName  = cms.string('Tracking/Step0/BeamSpotParameters')
00041 TrackMonStep0.AlgoName      = cms.string('Step0')
00042 TrackMonStep0.doSeedParameterHistos = cms.bool(True)
00043 TrackMonStep0.doTrackCandHistos = cms.bool(True)
00044 
00045 # Step1 
00046 TrackMonStep1 = TrackMon.clone()
00047 TrackMonStep1.TrackProducer = cms.InputTag("preMergingFirstStepTracksWithQuality")
00048 TrackMonStep1.SeedProducer  = cms.InputTag("newSeedFromPairs")
00049 TrackMonStep1.TCProducer    = cms.InputTag("stepOneTrackCandidateMaker")
00050 TrackMonStep1.beamSpot      = cms.InputTag("offlineBeamSpot")
00051 TrackMonStep1.FolderName    = cms.string('Tracking/Step1/GlobalParameters')
00052 TrackMonStep1.BSFolderName  = cms.string('Tracking/Step1/BeamSpotParameters')
00053 TrackMonStep1.AlgoName      = cms.string('Step1')
00054 TrackMonStep1.doSeedParameterHistos = cms.bool(True)
00055 TrackMonStep1.doTrackCandHistos = cms.bool(True)
00056 
00057 # Step2 
00058 TrackMonStep2 = TrackMon.clone()
00059 TrackMonStep2.TrackProducer = cms.InputTag("secStep")
00060 TrackMonStep2.SeedProducer  = cms.InputTag("secTriplets")
00061 TrackMonStep2.TCProducer    = cms.InputTag("secTrackCandidates")
00062 TrackMonStep2.beamSpot      = cms.InputTag("offlineBeamSpot")
00063 TrackMonStep2.FolderName    = cms.string('Tracking/Step2/GlobalParameters')
00064 TrackMonStep2.BSFolderName  = cms.string('Tracking/Step2/BeamSpotParameters')
00065 TrackMonStep2.AlgoName      = cms.string('Step2')
00066 TrackMonStep2.doSeedParameterHistos = cms.bool(True)
00067 TrackMonStep2.doTrackCandHistos = cms.bool(True)
00068 
00069 # Step4 
00070 TrackMonStep4 = TrackMon.clone()
00071 TrackMonStep4.TrackProducer = cms.InputTag("pixellessStep")
00072 TrackMonStep4.SeedProducer  = cms.InputTag("fourthPLSeeds")
00073 TrackMonStep4.TCProducer    = cms.InputTag("fourthTrackCandidates")
00074 TrackMonStep4.beamSpot      = cms.InputTag("offlineBeamSpot")
00075 TrackMonStep4.FolderName    = cms.string('Tracking/Step4/GlobalParameters')
00076 TrackMonStep4.BSFolderName  = cms.string('Tracking/Step4/BeamSpotParameters')
00077 TrackMonStep4.AlgoName      = cms.string('Step4')
00078 TrackMonStep4.doSeedParameterHistos = cms.bool(True)
00079 TrackMonStep4.doTrackCandHistos = cms.bool(True)
00080 
00081 # Step4 
00082 TrackMonStep5 = TrackMon.clone()
00083 TrackMonStep5.TrackProducer = cms.InputTag("tobtecStep")
00084 TrackMonStep5.SeedProducer  = cms.InputTag("fifthSeeds")
00085 TrackMonStep5.TCProducer    = cms.InputTag("fifthTrackCandidates")
00086 TrackMonStep5.beamSpot      = cms.InputTag("offlineBeamSpot")
00087 TrackMonStep5.FolderName    = cms.string('Tracking/Step5/GlobalParameters')
00088 TrackMonStep5.BSFolderName  = cms.string('Tracking/Step5/BeamSpotParameters')
00089 TrackMonStep5.AlgoName      = cms.string('Step5')
00090 TrackMonStep5.doSeedParameterHistos = cms.bool(True)
00091 TrackMonStep5.doTrackCandHistos = cms.bool(True)
00092 
00093 # high Purity 
00094 # ---------------------------------------------------------------------------#
00095 
00096 
00097 
00098 
00099 
00100 
00101 
00102 
00103 
00104 
00105 
00106 
00107 
00108 
00109 
00110 #-------------------------------------------------
00111 # Paths 
00112 #-------------------------------------------------
00113 
00114 # out of the box
00115 trkmonootb = cms.Sequence(
00116       TrackMonGenTk
00117     * TrackMonStep0
00118     * TrackMonStep1
00119     * TrackMonStep2
00120 #    * TrackMonStep3
00121     * TrackMonStep4
00122     * TrackMonStep5 
00123 )
00124 
00125 
00126 
00127 # all paths
00128 trkmon = cms.Sequence(
00129       trkmonootb
00130    # * trkmonhp
00131    # * trkmontight
00132    # * trkmonloose
00133 )
00134