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, p2016
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_2016_cff
import profile_2016_preTS2, profile_2016_postTS2
8 ppsAssociationCutsESSource = _esAssCuts.clone()
11 XMLIdealGeometryESSource_CTPPS, ctppsGeometryESModule =
cloneGeometry(
'Geometry.VeryForwardGeometry.geometryRPFromDD_2017_cfi')
13 ctppsCompositeESSource = _esComp.clone(
14 generateEveryNEvents = 100,
15 periods = [profile_2016_preTS2, profile_2016_postTS2],
16 compactViewTag = ctppsGeometryESModule.compactViewTag,
17 isRun2 = ctppsGeometryESModule.isRun2
22 rp_45_F = cms.uint32(3),
23 rp_45_N = cms.uint32(2),
24 rp_56_N = cms.uint32(102),
25 rp_56_F = cms.uint32(103)
def use_single_infinite_iov_entry(ppsAssociationCutsESSource, iov)
def cloneGeometry(mod_path)