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 # base profile settings for 2018
6 profile_base_2018 = profile_base.clone(
7  ctppsLHCInfo = dict(
8  beamEnergy = 6500
9  ),
10 
11  ctppsOpticalFunctions = dict(
12  opticalFunctions = cms.VPSet(
13  cms.PSet( xangle = cms.double(120), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions/2018/version6/120urad.root") ),
14  cms.PSet( xangle = cms.double(130), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions/2018/version6/130urad.root") ),
15  cms.PSet( xangle = cms.double(140), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions/2018/version6/140urad.root") )
16  ),
17 
18  scoringPlanes = cms.VPSet(
19  # z in cm
20  cms.PSet( rpId = cms.uint32(2014838784), dirName = cms.string("XRPH_D6L5_B2"), z = cms.double(-21255.1) ), # RP 003, pixel
21  cms.PSet( rpId = cms.uint32(2054160384), dirName = cms.string("XRPH_E6L5_B2"), z = cms.double(-21570.0) ), # RP 016, diamond
22  cms.PSet( rpId = cms.uint32(2023227392), dirName = cms.string("XRPH_B6L5_B2"), z = cms.double(-21955.0) ), # RP 023, pixel
23 
24  cms.PSet( rpId = cms.uint32(2031616000), dirName = cms.string("XRPH_D6R5_B1"), z = cms.double(+21255.1) ), # RP 103, pixel
25  cms.PSet( rpId = cms.uint32(2070937600), dirName = cms.string("XRPH_E6R5_B1"), z = cms.double(+21570.0) ), # RP 116, diamond
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  ctppsDirectSimuData = dict(
31  empiricalAperture45 = cms.string("-(8.44219E-07*[xangle]-0.000100957)+(([xi]<(0.000247185*[xangle]+0.101599))*-(1.40289E-05*[xangle]-0.00727237)+([xi]> = (0.000247185*[xangle]+0.101599))*-(0.000107811*[xangle]-0.0261867))*([xi]-(0.000247185*[xangle]+0.101599))"),
32  empiricalAperture56 = cms.string("-(-4.74758E-07*[xangle]+3.0881E-05)+(([xi]<(0.000727859*[xangle]+0.0722653))*-(2.43968E-05*[xangle]-0.0085461)+([xi]> = (0.000727859*[xangle]+0.0722653))*-(7.19216E-05*[xangle]-0.0148267))*([xi]-(0.000727859*[xangle]+0.0722653))")
33  )
34 )
35 
36 # geometry
37 from Geometry.VeryForwardGeometry.commons_cff import cloneGeometry
38 XMLIdealGeometryESSource_CTPPS, _ctppsGeometryESModule = cloneGeometry('Geometry.VeryForwardGeometry.geometryRPFromDD_2018_cfi')
39 ctppsCompositeESSource.compactViewTag = _ctppsGeometryESModule.compactViewTag
40 ctppsCompositeESSource.isRun2 = _ctppsGeometryESModule.isRun2
41 
42 # local reconstruction
43 ctppsLocalTrackLiteProducer.includeStrips = False
44 ctppsLocalTrackLiteProducer.includePixels = True
45 ctppsLocalTrackLiteProducer.includeDiamonds = True
46 
47 reco_local = cms.Sequence(
48  ctppsPixelLocalTracks
49  * ctppsDiamondLocalReconstruction
50  * ctppsLocalTrackLiteProducer
51 )
52 
53 # RP ids
54 rpIds = cms.PSet(
55  rp_45_F = cms.uint32(23),
56  rp_45_N = cms.uint32(3),
57  rp_56_N = cms.uint32(103),
58  rp_56_F = cms.uint32(123)
59 )
60 
61 # default list of profiles
62 from Validation.CTPPS.simu_config.profile_2018_preTS1_cff import profile_2018_preTS1
63 from Validation.CTPPS.simu_config.profile_2018_postTS2_cff import profile_2018_postTS2
64 from Validation.CTPPS.simu_config.profile_2018_TS1_TS2_cff import profile_2018_TS1_TS2
65 ctppsCompositeESSource.periods = [profile_2018_postTS2, profile_2018_preTS1, profile_2018_TS1_TS2]
base_cff
commons_cff.cloneGeometry
def cloneGeometry(mod_path)
Definition: commons_cff.py:5