CMS 3D CMS Logo

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