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, p2016
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_2016_cff import profile_2016_preTS2, profile_2016_postTS2
0007 
0008 ppsAssociationCutsESSource = _esAssCuts.clone()
0009 use_single_infinite_iov_entry(ppsAssociationCutsESSource, p2016)
0010 # geometry (using 2017 here is OK)
0011 XMLIdealGeometryESSource_CTPPS, ctppsGeometryESModule = cloneGeometry('Geometry.VeryForwardGeometry.geometryRPFromDD_2017_cfi')
0012 
0013 ctppsCompositeESSource = _esComp.clone(
0014     generateEveryNEvents = 100,
0015     periods = [profile_2016_preTS2, profile_2016_postTS2],
0016     compactViewTag = ctppsGeometryESModule.compactViewTag,
0017     isRun2 = ctppsGeometryESModule.isRun2
0018 )
0019 
0020 # RP ids
0021 rpIds = cms.PSet(
0022     rp_45_F = cms.uint32(3),
0023     rp_45_N = cms.uint32(2),
0024     rp_56_N = cms.uint32(102),
0025     rp_56_F = cms.uint32(103)
0026 )