test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiTrackerGaussianSmearingRecHitConverter_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 #Note: legacy validation code of this producer was removed between CMSSW74->CMSSW75
5 
6 siTrackerGaussianSmearingRecHits = cms.EDProducer("SiTrackerGaussianSmearingRecHitConverter",
7 
8 # ROUList = cms.VInputTag(cms.InputTag("mix","famosSimHitsTrackerHits")),
9  InputSimHits = cms.InputTag("famosSimHits","TrackerHits"),
10  VerboseLevel = cms.untracked.int32(2),
11  UseSigma = cms.bool(True),
12  # matching of 1dim hits in double-sided modules
13  # creating 2dim hits
14  doRecHitMatching = cms.bool(True),
15  # If you want to have RecHits == PSimHits (tracking with PSimHits)
16  trackingPSimHits = cms.bool(False),
17 
18  # Set to (True) for taking the existence of dead modules into account:
19  killDeadChannels = cms.bool(True),
20  #
21  DeltaRaysMomentumCut = cms.double(0.5),
22 
23  # Pixel
24  AlphaBarrelMultiplicity = cms.int32(4),
25  AlphaBarrel_BinWidthNew = cms.double(0.1),
26  AlphaBarrel_BinN = cms.int32(4),
27  AlphaBarrel_BinMinNew = cms.double(-0.2),
28  AlphaBarrel_BinMin = cms.double(-0.2),
29  AlphaBarrelMultiplicityNew = cms.int32(4),
30  AlphaBarrel_BinWidth = cms.double(0.1),
31  AlphaBarrel_BinNNew = cms.int32(4),
32  AlphaForward_BinN = cms.int32(0),
33  AlphaForward_BinMinNew = cms.double(0.0),
34  AlphaForward_BinNNew = cms.int32(0),
35  AlphaForward_BinWidthNew = cms.double(0.0),
36  AlphaForwardMultiplicity = cms.int32(3),
37  AlphaForwardMultiplicityNew = cms.int32(3),
38  AlphaForward_BinWidth = cms.double(0.0),
39  AlphaForward_BinMin = cms.double(0.0),
40  BetaBarrel_BinNNew = cms.int32(7),
41  BetaBarrelMultiplicity = cms.int32(6),
42  BetaBarrel_BinWidthNew = cms.double(0.2),
43  BetaBarrel_BinN = cms.int32(7),
44  BetaBarrelMultiplicityNew = cms.int32(7),
45  BetaBarrel_BinMin = cms.double(0.0),
46  BetaBarrel_BinWidth = cms.double(0.2),
47  BetaBarrel_BinMinNew = cms.double(0.0),
48  BetaForward_BinMin = cms.double(0.0),
49  BetaForwardMultiplicity = cms.int32(3),
50  BetaForward_BinWidthNew = cms.double(0.0),
51  BetaForward_BinWidth = cms.double(0.0),
52  BetaForward_BinN = cms.int32(0),
53  BetaForward_BinNNew = cms.int32(0),
54  BetaForwardMultiplicityNew = cms.int32(3),
55  BetaForward_BinMinNew = cms.double(0.0),
56 
57  # Needed to compute Pixel Errors
58  PixelErrorParametrization = cms.string('NOTcmsim'),
59 
60  # Switch between old and new parametrization
61  UseCMSSWPixelParametrization = cms.bool(True),
62 
63  # Pixel CMSSW Parametrization
64  # the pixel parametrization is found using pixelAV templates like in FullSim/reco
65  templateIdBarrel = cms.int32( 40 ),
66  templateIdForward = cms.int32( 41 ),
67  PixelMultiplicityFile40T = cms.string('FastSimulation/TrackingRecHitProducer/data/PixelData40T.root'),
68  PixelMultiplicityFile38T = cms.string('FastSimulation/TrackingRecHitProducer/data/PixelData38T.root'),
69  PixelForwardResolutionFile40T = cms.string('FastSimulation/TrackingRecHitProducer/data/PixelForwardResolution40T.root'),
70  PixelForwardResolutionFile38T = cms.string('FastSimulation/TrackingRecHitProducer/data/PixelForwardResolution38T.root'),
71  PixelMultiplicityFile = cms.string('FastSimulation/TrackingRecHitProducer/data/PixelData.root'),
72  PixelBarrelResolutionFile40T = cms.string('FastSimulation/TrackingRecHitProducer/data/PixelBarrelResolution40T.root'),
73  PixelBarrelResolutionFile38T = cms.string('FastSimulation/TrackingRecHitProducer/data/PixelBarrelResolution38T.root'),
74  PixelForwardResolutionFile = cms.string('FastSimulation/TrackingRecHitProducer/data/PixelForwardResolution.root'),
75  PixelBarrelResolutionFile = cms.string('FastSimulation/TrackingRecHitProducer/data/PixelBarrelResolution.root'),
76  NewPixelForwardResolutionFile = cms.string('FastSimulation/TrackingRecHitProducer/data/NewPixelResolutionForward38T.root'),
77  NewPixelBarrelResolutionFile1 = cms.string('FastSimulation/TrackingRecHitProducer/data/NewPixelResolutionBarrel38T.root'),
78  NewPixelBarrelResolutionFile2 = cms.string('FastSimulation/TrackingRecHitProducer/data/NewPixelResolutionBarrelEdge38T.root'),
79  NewPixelForwardResolutionFile2 = cms.string('FastSimulation/TrackingRecHitProducer/data/PixelForwardResolution2014.root'),
80  NewPixelBarrelResolutionFile3 = cms.string('FastSimulation/TrackingRecHitProducer/data/PixelBarrelResolution2014.root'),
81 
82  UseNewParametrization = cms.bool(True),
83 
84 
85  #converting energy loss from GeV to ADC counts
86  GevPerElectron = cms.double(3.61e-09),
87  ElectronsPerADC = cms.double(250.0),
88 
89 
90  # Hit Finding Probabilities
91  HitFindingProbability_PXB = cms.double(1.0),
92  HitFindingProbability_PXF = cms.double(1.0),
93  HitFindingProbability_TIB1 = cms.double(1.0),
94  HitFindingProbability_TIB2 = cms.double(1.0),
95  HitFindingProbability_TIB3 = cms.double(1.0),
96  HitFindingProbability_TIB4 = cms.double(1.0),
97  HitFindingProbability_TID1 = cms.double(1.0),
98  HitFindingProbability_TID2 = cms.double(1.0),
99  HitFindingProbability_TID3 = cms.double(1.0),
100  HitFindingProbability_TOB1 = cms.double(1.0),
101  HitFindingProbability_TOB2 = cms.double(1.0),
102  HitFindingProbability_TOB3 = cms.double(1.0),
103  HitFindingProbability_TOB5 = cms.double(1.0),
104  HitFindingProbability_TOB4 = cms.double(1.0),
105  HitFindingProbability_TOB6 = cms.double(1.0),
106  HitFindingProbability_TEC1 = cms.double(1.0),
107  HitFindingProbability_TEC2 = cms.double(1.0),
108  HitFindingProbability_TEC3 = cms.double(1.0),
109  HitFindingProbability_TEC4 = cms.double(1.0),
110  HitFindingProbability_TEC5 = cms.double(1.0),
111  HitFindingProbability_TEC6 = cms.double(1.0),
112  HitFindingProbability_TEC7 = cms.double(1.0),
113 
114 
115  # the strip parametrization is approximated by Gaussian distributions
116 
117  # TIB
118  TIB1x = cms.double(0.00195),
119  TIB1y = cms.double(3.3775), ## 11.7/sqrt(12.)
120  TIB2x = cms.double(0.00191),
121  TIB2y = cms.double(3.3775), ## 11.7/sqrt(12.)
122  TIB3x = cms.double(0.00325),
123  TIB3y = cms.double(3.3775), ## 11.7/sqrt(12.)
124  TIB4x = cms.double(0.00323),
125  TIB4y = cms.double(3.3775), ## 11.7/sqrt(12.)
126 
127  # TID
128  TID1x = cms.double(0.00262),
129  TID1y = cms.double(3.6662), ## 12.7/sqrt(12.)
130  TID2x = cms.double(0.00354),
131  TID2y = cms.double(3.6662), ## 12.7/sqrt(12.)
132  TID3x = cms.double(0.00391),
133  TID3y = cms.double(3.4352), ## 11.9/sqrt(12.)
134 
135  # TOB
136  TOB1x = cms.double(0.00461),
137  TOB1y = cms.double(5.2836), ## 2*9.1514/sqrt(12.)
138  TOB2x = cms.double(0.00458),
139  TOB2y = cms.double(5.2836), ## 2*9.1514/sqrt(12.)
140  TOB3x = cms.double(0.00488),
141  TOB3y = cms.double(5.2836), ## 2*9.1514/sqrt(12.)
142  TOB4x = cms.double(0.00491),
143  TOB4y = cms.double(5.2836), ## 2*9.1514/sqrt(12.)
144  TOB5x = cms.double(0.00293),
145  TOB5y = cms.double(5.2836), ## 2*9.1514/sqrt(12.)
146  TOB6x = cms.double(0.00299),
147  TOB6y = cms.double(5.2836), ## 2*9.1514/sqrt(12.)
148 
149  # TEC
150  TEC1x = cms.double(0.00262),
151  TEC1y = cms.double(3.6662), ## 12.7/sqrt(12.)
152  TEC2x = cms.double(0.00354),
153  TEC2y = cms.double(3.6662), ## 12.7/sqrt(12.)
154  TEC3x = cms.double(0.00391),
155  TEC3y = cms.double(3.4352), ## 11.9/sqrt(12.)
156  TEC4x = cms.double(0.00346),
157  TEC4y = cms.double(3.493), ## 12.1/sqrt(12.)
158  TEC5x = cms.double(0.00378),
159  TEC5y = cms.double(7.1014), ## 2*12.3/sqrt(12.)
160  TEC6x = cms.double(0.00508),
161  TEC6y = cms.double(6.8704), ## 2*11.9/sqrt(12.)
162  TEC7x = cms.double(0.00422),
163  TEC7y = cms.double(6.9859), ## 2*12.1/sqrt(12.)
164 
165 
166 )
167