-
Notifications
You must be signed in to change notification settings - Fork 4.2k
/
fakeConditions_Phase1_cff.py
42 lines (36 loc) · 1.99 KB
/
fakeConditions_Phase1_cff.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import FWCore.ParameterSet.Config as cms
# I do not know why this is here, comment-out d.k. 2/16
#siPixelFakeGainOfflineESSource = cms.ESSource("SiPixelFakeGainOfflineESSource",
# file = cms.FileInPath('SLHCUpgradeSimulations/Geometry/data/PhaseI/Empt#yPixelSkimmedGeometry_phase1.txt')
# )
#es_prefer_fake_gain = cms.ESPrefer("SiPixelFakeGainOfflineESSource","siPixelFakeGainOfflineESSource")
# from Geometry.TrackerGeometryBuilder.trackerGeometry_cfi import * Double check this later
# TrackerDigiGeometryESModule.applyAlignment = False
from SimGeneral.TrackingAnalysis.trackingParticles_cfi import *
mergedtruth.volumeRadius = cms.double(100.0)
mergedtruth.volumeZ = cms.double(900.0)
mergedtruth.discardOutVolume = cms.bool(True)
#from Geometry.TrackerNumberingBuilder.pixelSLHCGeometryConstants_cfi import *
from Geometry.TrackerGeometryBuilder.idealForDigiTrackerGeometry_cff import *
# this assumes that the beamspot is gaussian
# remove this when the right global tag is used!
from RecoVertex.BeamSpotProducer.BeamSpotFakeParameters_cfi import *
BeamSpotFakeConditions.X0 = cms.double(0.0)
BeamSpotFakeConditions.Y0 = cms.double(0.0)
BeamSpotFakeConditions.Z0 = cms.double(0.0)
BeamSpotFakeConditions.dxdz = cms.double(0.0)
BeamSpotFakeConditions.dydz = cms.double(0.0)
BeamSpotFakeConditions.sigmaZ = cms.double(5.3)
BeamSpotFakeConditions.widthX = cms.double(0.0015)
BeamSpotFakeConditions.widthY = cms.double(0.0015)
BeamSpotFakeConditions.emittanceX = cms.double(0.)
BeamSpotFakeConditions.emittanceY = cms.double(0.)
BeamSpotFakeConditions.betaStar = cms.double(0.)
BeamSpotFakeConditions.errorX0 = cms.double(0.00002)
BeamSpotFakeConditions.errorY0 = cms.double(0.00002)
BeamSpotFakeConditions.errorZ0 = cms.double(0.04000)
BeamSpotFakeConditions.errordxdz = cms.double(0.0)
BeamSpotFakeConditions.errordydz = cms.double(0.0)
BeamSpotFakeConditions.errorSigmaZ = cms.double(0.03000)
BeamSpotFakeConditions.errorWidth = cms.double(0.00003)
es_prefer_beamspot = cms.ESPrefer("BeamSpotFakeConditions","")