1 import FWCore.ParameterSet.Config
as cms
6 profile_base_2018 = profile_base.clone(
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") )
18 scoringPlanes = cms.VPSet(
20 cms.PSet( rpId = cms.uint32(2014838784), dirName = cms.string(
"XRPH_D6L5_B2"), z = cms.double(-21255.1) ),
21 cms.PSet( rpId = cms.uint32(2054160384), dirName = cms.string(
"XRPH_E6L5_B2"), z = cms.double(-21570.0) ),
22 cms.PSet( rpId = cms.uint32(2023227392), dirName = cms.string(
"XRPH_B6L5_B2"), z = cms.double(-21955.0) ),
24 cms.PSet( rpId = cms.uint32(2031616000), dirName = cms.string(
"XRPH_D6R5_B1"), z = cms.double(+21255.1) ),
25 cms.PSet( rpId = cms.uint32(2070937600), dirName = cms.string(
"XRPH_E6R5_B1"), z = cms.double(+21570.0) ),
26 cms.PSet( rpId = cms.uint32(2040004608), dirName = cms.string(
"XRPH_B6R5_B1"), z = cms.double(+21955.0) ),
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))")
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
43 ctppsLocalTrackLiteProducer.includeStrips =
False
44 ctppsLocalTrackLiteProducer.includePixels =
True
45 ctppsLocalTrackLiteProducer.includeDiamonds =
True
47 reco_local = cms.Sequence(
49 * ctppsDiamondLocalReconstruction
50 * ctppsLocalTrackLiteProducer
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)
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]