CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
fakeConditions_stdgeom_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 siPixelFakeGainOfflineESSource = cms.ESSource("SiPixelFakeGainOfflineESSource",
4  file = cms.FileInPath('CalibTracker/SiPixelESProducers/data/PixelSkimmedGeometry.txt')
5  )
6 es_prefer_fake_gain = cms.ESPrefer("SiPixelFakeGainOfflineESSource","siPixelFakeGainOfflineESSource")
7 
8 siPixelFakeLorentzAngleESSource = cms.ESSource("SiPixelFakeLorentzAngleESSource",
9  file = cms.FileInPath('CalibTracker/SiPixelESProducers/data/PixelSkimmedGeometry.txt')
10 )
11 es_prefer_fake_lorentz = cms.ESPrefer("SiPixelFakeLorentzAngleESSource","siPixelFakeLorentzAngleESSource")
12 
14 SiStripNoisesGenerator.NoiseStripLengthSlope=cms.vdouble(51.) #dec mode
15 SiStripNoisesGenerator.NoiseStripLengthQuote=cms.vdouble(630.)
16 
17 siStripNoisesFakeESSource = cms.ESSource("SiStripNoisesFakeESSource")
18 es_prefer_fake_strip_noise = cms.ESPrefer("SiStripNoisesFakeESSource",
19  "siStripNoisesFakeESSource")
20 
22 siStripQualityFakeESSource = cms.ESSource("SiStripQualityFakeESSource")
23 es_prefer_fake_strip_quality = cms.ESPrefer("SiStripQualityFakeESSource",
24  "siStripQualityFakeESSource")
25 
27 siStripPedestalsFakeESSource = cms.ESSource("SiStripPedestalsFakeESSource")
28 es_prefer_fake_strip_pedestal = cms.ESPrefer("SiStripPedestalsFakeESSource",
29  "siStripPedestalsFakeESSource")
30 
32 siStripLorentzAngleFakeESSource = cms.ESSource("SiStripLorentzAngleFakeESSource")
33 es_prefer_fake_strip_LA = cms.ESPrefer("SiStripLorentzAngleFakeESSource",
34  "siStripLorentzAngleFakeESSource")
35 
36 #siStripLorentzAngleSimFakeESSource = cms.ESSource("SiStripLorentzAngleSimFakeESSource")
37 #es_prefer_fake_strip_LA_sim = cms.ESPrefer("SiStripLorentzAngleSimFakeESSource",
38 # "siStripLorentzAngleSimFakeESSource")
39 
40 #from CalibTracker.SiStripESProducers.fake.SiStripApvGainFakeESSource_cfi import *
41 #SiStripApvGainGenerator.MeanGain=cms.double(1.0)
42 #SiStripApvGainGenerator.SigmaGain=cms.double(0.0)
43 #SiStripApvGainGenerator.genMode = cms.string("default")
44 
45 #myStripApvGainFakeESSource = cms.ESSource("SiStripApvGainFakeESSource")
46 #es_prefer_myStripApvGainFakeESSource = cms.ESPrefer("SiStripApvGainFakeESSource",
47 # "myStripApvGainFakeESSource")
48 
49 #myStripApvGainSimFakeESSource = cms.ESSource("SiStripApvGainSimFakeESSource")
50 #es_prefer_myStripApvGainSimFakeESSource = cms.ESPrefer("SiStripApvGainSimFakeESSource",
51 # "myStripApvGainSimFakeESSource")
52 
54 siStripThresholdFakeESSource = cms.ESSource("SiStripThresholdFakeESSource")
55 es_prefer_fake_strip_threshold = cms.ESPrefer("SiStripThresholdFakeESSource",
56  "siStripThresholdFakeESSource")
57 
59 TrackerDigiGeometryESModule.applyAlignment = False
60 
62 MeasurementTracker.inactiveStripDetectorLabels = cms.VInputTag()
63 MeasurementTracker.UseStripModuleQualityDB = cms.bool(False)
64 MeasurementTracker.UseStripAPVFiberQualityDB = cms.bool(False)
65 
67 
68 BeamSpotFakeConditions.X0 = cms.double(0.0)
69 BeamSpotFakeConditions.Y0 = cms.double(0.0)
70 BeamSpotFakeConditions.Z0 = cms.double(0.0)
71 BeamSpotFakeConditions.dxdz = cms.double(0.0)
72 BeamSpotFakeConditions.dydz = cms.double(0.0)
73 BeamSpotFakeConditions.sigmaZ = cms.double(5.3)
74 BeamSpotFakeConditions.widthX = cms.double(0.0015)
75 BeamSpotFakeConditions.widthY = cms.double(0.0015)
76 BeamSpotFakeConditions.emittanceX = cms.double(0.)
77 BeamSpotFakeConditions.emittanceY = cms.double(0.)
78 BeamSpotFakeConditions.betaStar = cms.double(0.)
79 BeamSpotFakeConditions.errorX0 = cms.double(0.00002)
80 BeamSpotFakeConditions.errorY0 = cms.double(0.00002)
81 BeamSpotFakeConditions.errorZ0 = cms.double(0.04000)
82 BeamSpotFakeConditions.errordxdz = cms.double(0.0)
83 BeamSpotFakeConditions.errordydz = cms.double(0.0)
84 BeamSpotFakeConditions.errorSigmaZ = cms.double(0.03000)
85 BeamSpotFakeConditions.errorWidth = cms.double(0.00003)
86 
87 es_prefer_beamspot = cms.ESPrefer("BeamSpotFakeConditions","")
88 
90 mergedtruth.volumeRadius = cms.double(100.0)
91 mergedtruth.volumeZ = cms.double(900.0)
92 mergedtruth.discardOutVolume = cms.bool(True)