CMS 3D CMS Logo

simPPS2016_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, 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
7 
8 ppsAssociationCutsESSource = _esAssCuts.clone()
9 use_single_infinite_iov_entry(ppsAssociationCutsESSource, p2016)
10 # geometry (using 2017 here is OK)
11 XMLIdealGeometryESSource_CTPPS, ctppsGeometryESModule = cloneGeometry('Geometry.VeryForwardGeometry.geometryRPFromDD_2017_cfi')
12 
13 ctppsCompositeESSource = _esComp.clone(
14  generateEveryNEvents = 100,
15  periods = [profile_2016_preTS2, profile_2016_postTS2],
16  compactViewTag = ctppsGeometryESModule.compactViewTag,
17  isRun2 = ctppsGeometryESModule.isRun2
18 )
19 
20 # RP ids
21 rpIds = cms.PSet(
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)
26 )
def use_single_infinite_iov_entry(ppsAssociationCutsESSource, iov)
def cloneGeometry(mod_path)
Definition: commons_cff.py:5