CMS 3D CMS Logo

year_2018_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 # define era
7 era = Run2_2018
8 
9 # beam optics
11 
12 config_2018 = 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/2018/version4/120urad.root") ),
17  cms.PSet( xangle = cms.double(130), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions/2018/version4/130urad.root") ),
18  cms.PSet( xangle = cms.double(140), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions/2018/version4/140urad.root") )
19  ),
20 
21  scoringPlanes = cms.VPSet(
22  # z in cm
23  cms.PSet( rpId = cms.uint32(2014838784), dirName = cms.string("XRPH_D6L5_B2"), z = cms.double(-21255.1) ), # RP 003, pixel
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(2031616000), dirName = cms.string("XRPH_D6R5_B1"), z = cms.double(+21255.1) ), # RP 103, pixel
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_2018)
31 
33 ctppsInterpolatedOpticalFunctionsESSource.lhcInfoLabel = ""
34 
35 # geometry
37 
38 # alignment
40 alignmentFile = "Validation/CTPPS/alignment/2018.xml"
41 ctppsRPAlignmentCorrectionsDataESSourceXML.MisalignedFiles = [alignmentFile]
42 ctppsRPAlignmentCorrectionsDataESSourceXML.RealFiles = [alignmentFile]
43 
44 # aperture cuts
45 ctppsDirectProtonSimulation.useEmpiricalApertures = True
46 ctppsDirectProtonSimulation.empiricalAperture45_xi0_int = 0.079
47 ctppsDirectProtonSimulation.empiricalAperture45_xi0_slp = 4.211E-04
48 ctppsDirectProtonSimulation.empiricalAperture45_a_int = 42.8
49 ctppsDirectProtonSimulation.empiricalAperture45_a_slp = 0.669
50 ctppsDirectProtonSimulation.empiricalAperture56_xi0_int = 0.074
51 ctppsDirectProtonSimulation.empiricalAperture56_xi0_slp = 6.604E-04
52 ctppsDirectProtonSimulation.empiricalAperture56_a_int = -22.7
53 ctppsDirectProtonSimulation.empiricalAperture56_a_slp = 1.600
54 
55 # local reconstruction
56 ctppsLocalTrackLiteProducer.includeStrips = False
57 ctppsLocalTrackLiteProducer.includePixels = True
58 
59 reco_local = cms.Sequence(
60  ctppsPixelLocalTracks
61  * ctppsLocalTrackLiteProducer
62 )
63 
64 # RP ids
65 rpIds = cms.PSet(
66  rp_45_F = cms.uint32(23),
67  rp_45_N = cms.uint32(3),
68  rp_56_N = cms.uint32(103),
69  rp_56_F = cms.uint32(123)
70 )
71 
72 # defaults
73 def SetDefaults(process):
74  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"),