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, p2018
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_2018_cff
import profile_2018_preTS1, profile_2018_TS1_TS2, profile_2018_postTS2
7 from SimPPS.DirectSimProducer.simPPS2017_cfi
import rpIds
9 ppsAssociationCutsESSource = _esAssCuts.clone()
11 XMLIdealGeometryESSource_CTPPS, ctppsGeometryESModule =
cloneGeometry(
'Geometry.VeryForwardGeometry.geometryRPFromDD_2018_cfi')
13 ctppsCompositeESSource = _esComp.clone(
14 generateEveryNEvents = 100,
15 periods = [profile_2018_preTS1, profile_2018_TS1_TS2, profile_2018_postTS2],
16 compactViewTag = ctppsGeometryESModule.compactViewTag,
17 isRun2 = ctppsGeometryESModule.isRun2
def use_single_infinite_iov_entry(ppsAssociationCutsESSource, iov)
def cloneGeometry(mod_path)