1 import FWCore.ParameterSet.Config
as cms
5 import CalibPPS.ESProducers.ppsAssociationCuts_non_DB_cff
as ac
6 ac.use_single_infinite_iov_entry(ac.ppsAssociationCutsESSource, ac.p2018)
7 ppsAssociationCutsESSource = ac.ppsAssociationCutsESSource
9 from CalibPPS.ESProducers.ctppsOpticalFunctions_non_DB_cff
import optics_2018
as selected_optics
12 profile_base_2018 = profile_base.clone(
17 ctppsOpticalFunctions = dict(
18 opticalFunctions = selected_optics.opticalFunctions,
19 scoringPlanes = selected_optics.scoringPlanes,
22 ctppsDirectSimuData = dict(
23 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))"),
24 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))")
29 from Geometry.VeryForwardGeometry.commons_cff
import cloneGeometry
30 XMLIdealGeometryESSource_CTPPS, _ctppsGeometryESModule =
cloneGeometry(
'Geometry.VeryForwardGeometry.geometryRPFromDD_2018_cfi')
31 ctppsCompositeESSource.compactViewTag = _ctppsGeometryESModule.compactViewTag
32 ctppsCompositeESSource.isRun2 = _ctppsGeometryESModule.isRun2
35 ctppsLocalTrackLiteProducer.includeStrips =
False 36 ctppsLocalTrackLiteProducer.includePixels =
True 37 ctppsLocalTrackLiteProducer.includeDiamonds =
True 39 reco_local = cms.Sequence(
41 * ctppsDiamondLocalReconstruction
42 * ctppsLocalTrackLiteProducer
47 rp_45_F = cms.uint32(23),
48 rp_45_N = cms.uint32(3),
49 rp_56_N = cms.uint32(103),
50 rp_56_F = cms.uint32(123)
54 from Validation.CTPPS.simu_config.profile_2018_preTS1_cff
import profile_2018_preTS1
55 from Validation.CTPPS.simu_config.profile_2018_postTS2_cff
import profile_2018_postTS2
56 from Validation.CTPPS.simu_config.profile_2018_TS1_TS2_cff
import profile_2018_TS1_TS2
57 ctppsCompositeESSource.periods = [profile_2018_postTS2, profile_2018_preTS1, profile_2018_TS1_TS2]
def cloneGeometry(mod_path)