1 import FWCore.ParameterSet.Config
as cms
2 from CalibPPS.ESProducers.ctppsCompositeESSource_cfi
import ctppsCompositeESSource
as _esComp
3 from CalibPPS.ESProducers.ppsAssociationCuts_non_DB_cff
import use_single_infinite_iov_entry, p2017
4 from CalibPPS.ESProducers.ppsAssociationCuts_non_DB_cff
import ppsAssociationCutsESSource
as _esAssCuts
5 from Geometry.VeryForwardGeometry.commons_cff
import cloneGeometry
6 from SimPPS.DirectSimProducer.profiles_2017_cff
import profile_2017_preTS2, profile_2017_postTS2
8 ppsAssociationCutsESSource = _esAssCuts.clone()
10 XMLIdealGeometryESSource_CTPPS, ctppsGeometryESModule =
cloneGeometry(
'Geometry.VeryForwardGeometry.geometryRPFromDD_2017_cfi')
12 ctppsCompositeESSource = _esComp.clone(
13 generateEveryNEvents = 100,
14 periods = [profile_2017_preTS2, profile_2017_postTS2],
15 compactViewTag = ctppsGeometryESModule.compactViewTag,
16 isRun2 = ctppsGeometryESModule.isRun2
21 rp_45_F = cms.uint32(23),
22 rp_45_N = cms.uint32(3),
23 rp_56_N = cms.uint32(103),
24 rp_56_F = cms.uint32(123)
def use_single_infinite_iov_entry(ppsAssociationCutsESSource, iov)
def cloneGeometry(mod_path)