Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-08-04 22:45:30

0001 import FWCore.ParameterSet.Config as cms
0002 from CalibPPS.ESProducers.ctppsCompositeESSource_cfi import ctppsCompositeESSource as _esComp
0003 from CalibPPS.ESProducers.ppsAssociationCuts_non_DB_cff import use_single_infinite_iov_entry, p2022
0004 from CalibPPS.ESProducers.ppsAssociationCuts_non_DB_cff import ppsAssociationCutsESSource as _esAssCuts
0005 from Geometry.VeryForwardGeometry.commons_cff import cloneGeometry
0006 from SimPPS.DirectSimProducer.profiles_2022_cff import profile_2022_default
0007 from SimPPS.DirectSimProducer.simPPS2017_cfi import rpIds
0008 
0009 ppsAssociationCutsESSource = _esAssCuts.clone()
0010 use_single_infinite_iov_entry(ppsAssociationCutsESSource, p2022)
0011 XMLIdealGeometryESSource_CTPPS, _ctppsGeometryESModule = cloneGeometry('Geometry.VeryForwardGeometry.geometryRPFromDD_2022_cfi')
0012 # not cloning the ctppsGeometryESModule, as it is replaced by the composite ES source
0013 
0014 ctppsCompositeESSource = _esComp.clone(
0015     generateEveryNEvents = 100,
0016     periods = [profile_2022_default],
0017     # geometry (using 2017 here is OK)
0018     compactViewTag = _ctppsGeometryESModule.compactViewTag,
0019     isRun2 = _ctppsGeometryESModule.isRun2
0020 )