CMS 3D CMS Logo

TrackerCollisionTrackingMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 TrackerCollisionTrackMon = DQM.TrackingMonitor.TrackingMonitor_cfi.TrackMon.clone()
5 
6 # Update specific parameters
7 
8 # input tags
9 TrackerCollisionTrackMon.TrackProducer = cms.InputTag("generalTracks")
10 TrackerCollisionTrackMon.SeedProducer = cms.InputTag("initialStepSeeds")
11 TrackerCollisionTrackMon.TCProducer = cms.InputTag("initialStepTrackCandidates")
12 TrackerCollisionTrackMon.ClusterLabels = cms.vstring('Tot','Strip','Pix') # to decide which Seeds-Clusters correlation plots to have default is Total other options 'Strip', 'Pix'
13 TrackerCollisionTrackMon.beamSpot = cms.InputTag("offlineBeamSpot")
14 TrackerCollisionTrackMon.primaryVertex = cms.InputTag('offlinePrimaryVertices')
15 TrackerCollisionTrackMon.primaryVertexInputTags = cms.VInputTag(
16  cms.InputTag('offlinePrimaryVertices')
17 )
18 TrackerCollisionTrackMon.selPrimaryVertexInputTags = cms.VInputTag(
19  cms.InputTag('goodOfflinePrimaryVertices')
20 )
21 TrackerCollisionTrackMon.pvLabels = cms.vstring(
22  'offline'
23 )
24 
25 # output parameters
26 TrackerCollisionTrackMon.AlgoName = cms.string('GenTk')
27 TrackerCollisionTrackMon.Quality = cms.string('')
28 TrackerCollisionTrackMon.FolderName = cms.string('Tracking/GlobalParameters')
29 TrackerCollisionTrackMon.BSFolderName = cms.string('Tracking/ParametersVsBeamSpot')
30 
31 # determines where to evaluate track parameters
32 # 'ImpactPoint' --> evalutate at impact point
33 TrackerCollisionTrackMon.MeasurementState = cms.string('ImpactPoint')
34 
35 # which plots to do
36 TrackerCollisionTrackMon.doAllPlots = cms.bool(False)
37 TrackerCollisionTrackMon.doGoodTrackPlots = cms.bool(True)
38 TrackerCollisionTrackMon.doTrackerSpecific = cms.bool(True)
39 TrackerCollisionTrackMon.doHitPropertiesPlots = cms.bool(True)
40 TrackerCollisionTrackMon.doGeneralPropertiesPlots = cms.bool(True)
41 TrackerCollisionTrackMon.doBeamSpotPlots = cms.bool(True)
42 TrackerCollisionTrackMon.doSeedParameterHistos = cms.bool(False)
43 TrackerCollisionTrackMon.doRecHitVsPhiVsEtaPerTrack = cms.bool(True)
44 TrackerCollisionTrackMon.doGoodTrackRecHitVsPhiVsEtaPerTrack = cms.bool(True)
45 TrackerCollisionTrackMon.doLayersVsPhiVsEtaPerTrack = cms.bool(True)
46 TrackerCollisionTrackMon.doGoodTrackLayersVsPhiVsEtaPerTrack = cms.bool(True)
47 TrackerCollisionTrackMon.doPUmonitoring = cms.bool(False)
48 TrackerCollisionTrackMon.doPlotsVsBXlumi = cms.bool(False)
49 TrackerCollisionTrackMon.doPlotsVsGoodPVtx = cms.bool(True)
50 TrackerCollisionTrackMon.doEffFromHitPatternVsPU = cms.bool(True)
51 TrackerCollisionTrackMon.doEffFromHitPatternVsBX = cms.bool(True)
52 TrackerCollisionTrackMon.doEffFromHitPatternVsLUMI = cms.bool(True)
53 
54 # LS analysis
55 TrackerCollisionTrackMon.doLumiAnalysis = cms.bool(True)
56 TrackerCollisionTrackMon.doProfilesVsLS = cms.bool(True)
57 
58 TrackerCollisionTrackMon.doSeedNumberHisto = cms.bool(False)
59 TrackerCollisionTrackMon.doSeedETAHisto = cms.bool(False)
60 TrackerCollisionTrackMon.doSeedVsClusterHisto = cms.bool(False)
61 
62 # Number of Tracks per Event
63 TrackerCollisionTrackMon.TkSizeBin = cms.int32(600)
64 TrackerCollisionTrackMon.TkSizeMax = cms.double(2999.5)
65 TrackerCollisionTrackMon.TkSizeMin = cms.double(-0.5)
66 
67 # chi2 dof
68 TrackerCollisionTrackMon.Chi2NDFBin = cms.int32(80)
69 TrackerCollisionTrackMon.Chi2NDFMax = cms.double(79.5)
70 TrackerCollisionTrackMon.Chi2NDFMin = cms.double(-0.5)
71 
72 # Number of seeds per Event
73 TrackerCollisionTrackMon.TkSeedSizeBin = cms.int32(100)
74 TrackerCollisionTrackMon.TkSeedSizeMax = cms.double(499.5)
75 TrackerCollisionTrackMon.TkSeedSizeMin = cms.double(-0.5)
76 
77 # Number of Track Cadidates per Event
78 TrackerCollisionTrackMon.TCSizeBin = cms.int32(100)
79 TrackerCollisionTrackMon.TCSizeMax = cms.double(499.5)
80 TrackerCollisionTrackMon.TCSizeMin = cms.double(-0.5)
81 
82 TrackerCollisionTrackMon.GoodPVtx.GoodPVtxBin = cms.int32(60)
83 TrackerCollisionTrackMon.GoodPVtx.GoodPVtxMin = cms.double( 0.)
84 TrackerCollisionTrackMon.GoodPVtx.GoodPVtxMax = cms.double(60.)
85 
86 
87 from Configuration.Eras.Modifier_run3_common_cff import run3_common
88 run3_common.toModify(TrackerCollisionTrackMon, GoodPVtx=dict(GoodPVtxBin = 150, GoodPVtxMax = 150.))
89 run3_common.toModify(TrackerCollisionTrackMon, NTrkPVtx=dict(NTrkPVtxMax = 200.))
90 run3_common.toModify(TrackerCollisionTrackMon, NClusStrMax = 299999.5)
91 run3_common.toModify(TrackerCollisionTrackMon, NTrk2D=dict(NTrk2DBin = 100, NTrk2DMax = 5999.5))
92 run3_common.toModify(TrackerCollisionTrackMon, PVBin = 75, PVMax = 149.5)
93 run3_common.toModify(TrackerCollisionTrackMon, TkSizeMax = 5999.5)
94 
TrackingMonitor_cfi