CMS 3D CMS Logo

year_2017_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 # define era
7 era = Run2_2017
8 
9 # beam optics
11 
12 config_2017 = cms.PSet(
13  validityRange = cms.EventRange("0:min - 999999:max"),
14 
15  opticalFunctions = cms.VPSet(
16  cms.PSet( xangle = cms.double(120), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions/2017/version4/120urad.root") ),
17  cms.PSet( xangle = cms.double(130), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions/2017/version4/130urad.root") ),
18  cms.PSet( xangle = cms.double(140), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions/2017/version4/140urad.root") )
19  ),
20 
21  scoringPlanes = cms.VPSet(
22  # z in cm
23  cms.PSet( rpId = cms.uint32(0x76180000), dirName = cms.string("XRPH_D6L5_B2"), z = cms.double(-21255.1) ), # RP 003, strip
24  cms.PSet( rpId = cms.uint32(2023227392), dirName = cms.string("XRPH_B6L5_B2"), z = cms.double(-21955.0) ), # RP 023, pixel
25  cms.PSet( rpId = cms.uint32(0x77180000), dirName = cms.string("XRPH_D6R5_B1"), z = cms.double(+21255.1) ), # RP 103, strip
26  cms.PSet( rpId = cms.uint32(2040004608), dirName = cms.string("XRPH_B6R5_B1"), z = cms.double(+21955.0) ), # RP 123, pixel
27  )
28 )
29 
30 ctppsOpticalFunctionsESSource.configuration.append(config_2017)
31 
33 ctppsInterpolatedOpticalFunctionsESSource.lhcInfoLabel = ""
34 
35 # geometry
37 
38 # local reconstruction
39 ctppsLocalTrackLiteProducer.includeStrips = True
40 ctppsLocalTrackLiteProducer.includePixels = True
41 
42 reco_local = cms.Sequence(
43  totemRPUVPatternFinder
44  * totemRPLocalTrackFitter
45  * ctppsPixelLocalTracks
46  * ctppsLocalTrackLiteProducer
47 )
48 
49 # RP ids
50 rpIds = cms.PSet(
51  rp_45_F = cms.uint32(23),
52  rp_45_N = cms.uint32(3),
53  rp_56_N = cms.uint32(103),
54  rp_56_F = cms.uint32(123)
55 )
56 
57 # defaults
58 def SetDefaults(process):
59  UseCrossingAngle(140, process)
def UseCrossingAngle(xangle, process)
Definition: base_cff.py:151
def SetDefaults(process)
add 2016 pre-TS2 configuration config_2016_preTS2 = cms.PSet( validityRange = cms.EventRange("273725:min - 280385:max"),