CMS 3D CMS Logo

Phase2TrackerValidateDigi_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
4 digiValid = DQMEDAnalyzer('Phase2TrackerValidateDigi',
5  Verbosity = cms.bool(False),
6  TopFolderName = cms.string("Ph2TkPixelDigi"),
7  PixelPlotFillingFlag = cms.bool(False),
8  OuterTrackerDigiSource = cms.InputTag("mix", "Tracker"),
9  OuterTrackerDigiSimLinkSource = cms.InputTag("simSiPixelDigis", "Tracker"),
10  InnerPixelDigiSource = cms.InputTag("simSiPixelDigis","Pixel"),
11  InnerPixelDigiSimLinkSource = cms.InputTag("simSiPixelDigis", "Pixel"),
12  PSimHitSource = cms.VInputTag('g4SimHits:TrackerHitsPixelBarrelLowTof',
13  'g4SimHits:TrackerHitsPixelBarrelHighTof',
14  'g4SimHits:TrackerHitsPixelEndcapLowTof',
15  'g4SimHits:TrackerHitsPixelEndcapHighTof',
16  'g4SimHits:TrackerHitsTIBLowTof',
17  'g4SimHits:TrackerHitsTIBHighTof',
18  'g4SimHits:TrackerHitsTIDLowTof',
19  'g4SimHits:TrackerHitsTIDHighTof',
20  'g4SimHits:TrackerHitsTOBLowTof',
21  'g4SimHits:TrackerHitsTOBHighTof',
22  'g4SimHits:TrackerHitsTECLowTof',
23  'g4SimHits:TrackerHitsTECHighTof'),
24  SimTrackSource = cms.InputTag("g4SimHits"),
25  SimVertexSource = cms.InputTag("g4SimHits"),
26  GeometryType = cms.string('idealForDigi'),
27  PtCutOff = cms.double(9.5),
28  EtaCutOff = cms.double(3.5),
29  TOFLowerCutOff = cms.double(-12.5),
30  TOFUpperCutOff = cms.double(12.5),
31  TrackPtH = cms.PSet(
32  Nbins = cms.int32(50),
33  xmin = cms.double(0.0),
34  xmax = cms.double(100.0)
35  ),
36  TrackEtaH = cms.PSet(
37  Nbins = cms.int32(45),
38  xmin = cms.double(-4.5),
39  xmax = cms.double(4.5)
40  ),
41  TrackPhiH = cms.PSet(
42  Nbins = cms.int32(64),
43  xmin = cms.double(-3.2),
44  xmax = cms.double(3.2)
45  ),
46  SimHitElossH = cms.PSet(
47  Nbins = cms.int32(100),
48  xmin = cms.double(0.0),
49  xmax = cms.double(100000.0)
50  ),
51  SimHitDxH = cms.PSet(
52  Nbins = cms.int32(1000),
53  xmin = cms.double(0.0),
54  xmax = cms.double(0.1)
55  ),
56  SimHitDyH = cms.PSet(
57  Nbins = cms.int32(1000),
58  xmin = cms.double(0.0),
59  xmax = cms.double(0.1)
60  ),
61  SimHitDzH = cms.PSet(
62  Nbins = cms.int32(150),
63  xmin = cms.double(0.0),
64  xmax = cms.double(0.03)
65  ),
66  XYPositionMapH = cms.PSet(
67  Nxbins = cms.int32(1250),
68  xmin = cms.double(-1250.),
69  xmax = cms.double(1250.),
70  Nybins = cms.int32(1250),
71  ymin = cms.double(-1250.),
72  ymax = cms.double(1250.)
73  ),
74  RZPositionMapH = cms.PSet(
75  Nxbins = cms.int32(3000),
76  xmin = cms.double(-3000.),
77  xmax = cms.double(3000.),
78  Nybins = cms.int32(1250),
79  ymin = cms.double(0.),
80  ymax = cms.double(1250.)
81  ),
82  TOFEtaMapH = cms.PSet(
83  Nxbins = cms.int32(45),
84  xmin = cms.double(-4.5),
85  xmax = cms.double(4.5),
86  Nybins = cms.int32(100),
87  ymin = cms.double(0.),
88  ymax = cms.double(50.)
89  ),
90  TOFPhiMapH = cms.PSet(
91  Nxbins = cms.int32(64),
92  xmin = cms.double(-3.2),
93  xmax = cms.double(3.2),
94  Nybins = cms.int32(100),
95  ymin = cms.double(0.),
96  ymax = cms.double(50.)
97  ),
98  TOFZMapH = cms.PSet(
99  Nxbins = cms.int32(3000),
100  xmin = cms.double(-300.),
101  xmax = cms.double(300.),
102  Nybins = cms.int32(100),
103  ymin = cms.double(0.),
104  ymax = cms.double(50.)
105  ),
106  TOFRMapH = cms.PSet(
107  Nxbins = cms.int32(1200),
108  xmin = cms.double(0.),
109  xmax = cms.double(120.),
110  Nybins = cms.int32(100),
111  ymin = cms.double(0.),
112  ymax = cms.double(50.)
113  )
114 )
115 
116 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
117 premix_stage2.toModify(digiValid,
118  OuterTrackerDigiSimLinkSource = "mixData:Phase2OTDigiSimLink",
119  InnerPixelDigiSimLinkSource = "mixData:PixelDigiSimLink",
120 )