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(2.0), #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  switch = cms.bool(True)
36  ),
37  TrackEtaH = cms.PSet(
38  Nbins = cms.int32(45),
39  xmin = cms.double(-4.5),
40  xmax = cms.double(4.5),
41  switch = cms.bool(True)
42  ),
43  TrackPhiH = cms.PSet(
44  Nbins = cms.int32(64),
45  xmin = cms.double(-3.2),
46  xmax = cms.double(3.2),
47  switch = cms.bool(True)
48  ),
49  SimHitElossH = cms.PSet(
50  Nbins = cms.int32(100),
51  xmin = cms.double(0.0),
52  xmax = cms.double(100000.0),
53  switch = cms.bool(True)
54  ),
55  SimHitDxH = cms.PSet(
56  Nbins = cms.int32(1000),
57  xmin = cms.double(0.0),
58  xmax = cms.double(0.1),
59  switch = cms.bool(True)
60  ),
61  SimHitDyH = cms.PSet(
62  Nbins = cms.int32(1000),
63  xmin = cms.double(0.0),
64  xmax = cms.double(0.1),
65  switch = cms.bool(True)
66  ),
67  SimHitDzH = cms.PSet(
68  Nbins = cms.int32(150),
69  xmin = cms.double(0.0),
70  xmax = cms.double(0.03),
71  switch = cms.bool(True)
72  ),
73  XYPositionMapH = cms.PSet(
74  Nxbins = cms.int32(1250),
75  xmin = cms.double(-1250.),
76  xmax = cms.double(1250.),
77  Nybins = cms.int32(1250),
78  ymin = cms.double(-1250.),
79  ymax = cms.double(1250.),
80  switch = cms.bool(False)
81  ),
82  RZPositionMapH = cms.PSet(
83  Nxbins = cms.int32(3000),
84  xmin = cms.double(-3000.),
85  xmax = cms.double(3000.),
86  Nybins = cms.int32(1250),
87  ymin = cms.double(0.),
88  ymax = cms.double(1250.),
89  switch = cms.bool(False)
90  ),
91  TOFEtaMapH = cms.PSet(
92  Nxbins = cms.int32(45),
93  xmin = cms.double(-4.5),
94  xmax = cms.double(4.5),
95  Nybins = cms.int32(100),
96  ymin = cms.double(0.),
97  ymax = cms.double(50.),
98  switch = cms.bool(False)
99  ),
100  TOFPhiMapH = cms.PSet(
101  Nxbins = cms.int32(64),
102  xmin = cms.double(-3.2),
103  xmax = cms.double(3.2),
104  Nybins = cms.int32(100),
105  ymin = cms.double(0.),
106  ymax = cms.double(50.),
107  switch = cms.bool(False)
108  ),
109  TOFZMapH = cms.PSet(
110  Nxbins = cms.int32(3000),
111  xmin = cms.double(-300.),
112  xmax = cms.double(300.),
113  Nybins = cms.int32(100),
114  ymin = cms.double(0.),
115  ymax = cms.double(50.),
116  switch = cms.bool(False)
117  ),
118  TOFRMapH = cms.PSet(
119  Nxbins = cms.int32(1200),
120  xmin = cms.double(0.),
121  xmax = cms.double(120.),
122  Nybins = cms.int32(100),
123  ymin = cms.double(0.),
124  ymax = cms.double(50.),
125  switch = cms.bool(False)
126  )
127 )
128 
129 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
130 premix_stage2.toModify(digiValid,
131  InnerPixelDigiSource = "mixData:Pixel",
132  OuterTrackerDigiSource = "mixData:Tracker",
133  OuterTrackerDigiSimLinkSource = "mixData:Phase2OTDigiSimLink",
134  InnerPixelDigiSimLinkSource = "mixData:PixelDigiSimLink",
135 )