CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  cms.InputTag('pixelVertices')
18 )
19 TrackerCollisionTrackMon.selPrimaryVertexInputTags = cms.VInputTag(
20  cms.InputTag('goodOfflinePrimaryVertices'),
21  cms.InputTag('')
22 )
23 TrackerCollisionTrackMon.pvLabels = cms.vstring(
24  'offline',
25  'pixel'
26 )
27 
28 # output parameters
29 TrackerCollisionTrackMon.AlgoName = cms.string('GenTk')
30 TrackerCollisionTrackMon.Quality = cms.string('')
31 TrackerCollisionTrackMon.FolderName = cms.string('Tracking/GlobalParameters')
32 TrackerCollisionTrackMon.BSFolderName = cms.string('Tracking/ParametersVsBeamSpot')
33 
34 # determines where to evaluate track parameters
35 # 'ImpactPoint' --> evalutate at impact point
36 TrackerCollisionTrackMon.MeasurementState = cms.string('ImpactPoint')
37 
38 # which plots to do
39 TrackerCollisionTrackMon.doAllPlots = cms.bool(False)
40 TrackerCollisionTrackMon.doGoodTrackPlots = cms.bool(True)
41 TrackerCollisionTrackMon.doTrackerSpecific = cms.bool(True)
42 TrackerCollisionTrackMon.doHitPropertiesPlots = cms.bool(True)
43 TrackerCollisionTrackMon.doGeneralPropertiesPlots = cms.bool(True)
44 TrackerCollisionTrackMon.doBeamSpotPlots = cms.bool(True)
45 TrackerCollisionTrackMon.doSeedParameterHistos = cms.bool(False)
46 TrackerCollisionTrackMon.doRecHitVsPhiVsEtaPerTrack = cms.bool(True)
47 TrackerCollisionTrackMon.doGoodTrackRecHitVsPhiVsEtaPerTrack = cms.bool(True)
48 TrackerCollisionTrackMon.doLayersVsPhiVsEtaPerTrack = cms.bool(True)
49 TrackerCollisionTrackMon.doGoodTrackLayersVsPhiVsEtaPerTrack = cms.bool(True)
50 TrackerCollisionTrackMon.doPUmonitoring = cms.bool(False)
51 TrackerCollisionTrackMon.doPlotsVsBXlumi = cms.bool(False)
52 TrackerCollisionTrackMon.doPlotsVsGoodPVtx = cms.bool(True)
53 TrackerCollisionTrackMon.doEffFromHitPattern = cms.bool(True)
54 
55 # LS analysis
56 TrackerCollisionTrackMon.doLumiAnalysis = cms.bool(True)
57 TrackerCollisionTrackMon.doProfilesVsLS = cms.bool(True)
58 
59 TrackerCollisionTrackMon.doSeedNumberHisto = cms.bool(False)
60 TrackerCollisionTrackMon.doSeedETAHisto = cms.bool(False)
61 TrackerCollisionTrackMon.doSeedVsClusterHisto = cms.bool(False)
62 
63 # Number of Tracks per Event
64 TrackerCollisionTrackMon.TkSizeBin = cms.int32(200)
65 TrackerCollisionTrackMon.TkSizeMax = cms.double(999.5)
66 TrackerCollisionTrackMon.TkSizeMin = cms.double(-0.5)
67 
68 # chi2 dof
69 TrackerCollisionTrackMon.Chi2NDFBin = cms.int32(50)
70 TrackerCollisionTrackMon.Chi2NDFMax = cms.double(49.5)
71 TrackerCollisionTrackMon.Chi2NDFMin = cms.double(-0.5)
72 
73 # Number of seeds per Event
74 TrackerCollisionTrackMon.TkSeedSizeBin = cms.int32(100)
75 TrackerCollisionTrackMon.TkSeedSizeMax = cms.double(499.5)
76 TrackerCollisionTrackMon.TkSeedSizeMin = cms.double(-0.5)
77 
78 # Number of Track Cadidates per Event
79 TrackerCollisionTrackMon.TCSizeBin = cms.int32(100)
80 TrackerCollisionTrackMon.TCSizeMax = cms.double(499.5)
81 TrackerCollisionTrackMon.TCSizeMin = cms.double(-0.5)
82 
83 TrackerCollisionTrackMon.GoodPVtxBin = cms.int32(60)
84 TrackerCollisionTrackMon.GoodPVtxMin = cms.double( 0.)
85 TrackerCollisionTrackMon.GoodPVtxMax = cms.double(60.)
86 
87 #TrackerCollisionTrackMon.BXlumiBin = cms.int32(100) # (400)
88 #TrackerCollisionTrackMon.BXlumiMin = cms.double(1) # (2000)
89 #TrackerCollisionTrackMon.BXlumiMax = cms.double(10) # (6000)