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 
53 # LS analysis
54 TrackerCollisionTrackMon.doLumiAnalysis = cms.bool(True)
55 TrackerCollisionTrackMon.doProfilesVsLS = cms.bool(True)
56 
57 TrackerCollisionTrackMon.doSeedNumberHisto = cms.bool(False)
58 TrackerCollisionTrackMon.doSeedETAHisto = cms.bool(False)
59 TrackerCollisionTrackMon.doSeedVsClusterHisto = cms.bool(False)
60 
61 # Number of Tracks per Event
62 TrackerCollisionTrackMon.TkSizeBin = cms.int32(200)
63 TrackerCollisionTrackMon.TkSizeMax = cms.double(999.5)
64 TrackerCollisionTrackMon.TkSizeMin = cms.double(-0.5)
65 
66 # chi2 dof
67 TrackerCollisionTrackMon.Chi2NDFBin = cms.int32(80)
68 TrackerCollisionTrackMon.Chi2NDFMax = cms.double(79.5)
69 TrackerCollisionTrackMon.Chi2NDFMin = cms.double(-0.5)
70 
71 # Number of seeds per Event
72 TrackerCollisionTrackMon.TkSeedSizeBin = cms.int32(100)
73 TrackerCollisionTrackMon.TkSeedSizeMax = cms.double(499.5)
74 TrackerCollisionTrackMon.TkSeedSizeMin = cms.double(-0.5)
75 
76 # Number of Track Cadidates per Event
77 TrackerCollisionTrackMon.TCSizeBin = cms.int32(100)
78 TrackerCollisionTrackMon.TCSizeMax = cms.double(499.5)
79 TrackerCollisionTrackMon.TCSizeMin = cms.double(-0.5)
80 
81 TrackerCollisionTrackMon.GoodPVtxBin = cms.int32(60)
82 TrackerCollisionTrackMon.GoodPVtxMin = cms.double( 0.)
83 TrackerCollisionTrackMon.GoodPVtxMax = cms.double(60.)
84 
85 #TrackerCollisionTrackMon.BXlumiBin = cms.int32(100) # (400)
86 #TrackerCollisionTrackMon.BXlumiMin = cms.double(1) # (2000)
87 #TrackerCollisionTrackMon.BXlumiMax = cms.double(10) # (6000)