CMS 3D CMS Logo

simPPS2022_cfi.py
Go to the documentation of this file.
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, p2022
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_2022_cff import profile_2022_default
7 from SimPPS.DirectSimProducer.simPPS2017_cfi import rpIds
8 
9 ppsAssociationCutsESSource = _esAssCuts.clone()
10 use_single_infinite_iov_entry(ppsAssociationCutsESSource, p2022)
11 XMLIdealGeometryESSource_CTPPS, _ctppsGeometryESModule = cloneGeometry('Geometry.VeryForwardGeometry.geometryRPFromDD_2022_cfi')
12 # not cloning the ctppsGeometryESModule, as it is replaced by the composite ES source
13 
14 ctppsCompositeESSource = _esComp.clone(
15  generateEveryNEvents = 100,
16  periods = [profile_2022_default],
17  # geometry (using 2017 here is OK)
18  compactViewTag = _ctppsGeometryESModule.compactViewTag,
19  isRun2 = _ctppsGeometryESModule.isRun2
20 )
def use_single_infinite_iov_entry(ppsAssociationCutsESSource, iov)
def cloneGeometry(mod_path)
Definition: commons_cff.py:5