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.p2017)
7 ppsAssociationCutsESSource = ac.ppsAssociationCutsESSource
9 from CalibPPS.ESProducers.ctppsOpticalFunctions_non_DB_cff
import optics_2017
as selected_optics
12 profile_base_2017 = profile_base.clone(
17 ctppsOpticalFunctions = dict(
18 opticalFunctions = selected_optics.opticalFunctions,
19 scoringPlanes = selected_optics.scoringPlanes,
24 from Geometry.VeryForwardGeometry.commons_cff
import cloneGeometry
25 XMLIdealGeometryESSource_CTPPS, _ctppsGeometryESModule =
cloneGeometry(
'Geometry.VeryForwardGeometry.geometryRPFromDD_2017_cfi')
26 ctppsCompositeESSource.compactViewTag = _ctppsGeometryESModule.compactViewTag
27 ctppsCompositeESSource.isRun2 = _ctppsGeometryESModule.isRun2
30 ctppsLocalTrackLiteProducer.includeStrips =
True 31 ctppsLocalTrackLiteProducer.includePixels =
True 32 ctppsLocalTrackLiteProducer.includeDiamonds =
True 34 reco_local = cms.Sequence(
35 totemRPUVPatternFinder
36 * totemRPLocalTrackFitter
37 * ctppsPixelLocalTracks
38 * ctppsDiamondLocalReconstruction
39 * ctppsLocalTrackLiteProducer
44 rp_45_F = cms.uint32(23),
45 rp_45_N = cms.uint32(3),
46 rp_56_N = cms.uint32(103),
47 rp_56_F = cms.uint32(123)
51 from Validation.CTPPS.simu_config.profile_2017_preTS2_cff
import profile_2017_preTS2
52 from Validation.CTPPS.simu_config.profile_2017_postTS2_cff
import profile_2017_postTS2
53 ctppsCompositeESSource.periods = [profile_2017_postTS2, profile_2017_preTS2]
def cloneGeometry(mod_path)