CMS 3D CMS Logo

simPPS2017_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, p2017
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_2017_cff import profile_2017_preTS2, profile_2017_postTS2
7 
8 ppsAssociationCutsESSource = _esAssCuts.clone()
9 use_single_infinite_iov_entry(ppsAssociationCutsESSource, p2017)
10 XMLIdealGeometryESSource_CTPPS, ctppsGeometryESModule = cloneGeometry('Geometry.VeryForwardGeometry.geometryRPFromDD_2017_cfi')
11 
12 ctppsCompositeESSource = _esComp.clone(
13  generateEveryNEvents = 100,
14  periods = [profile_2017_preTS2, profile_2017_postTS2],
15  compactViewTag = ctppsGeometryESModule.compactViewTag,
16  isRun2 = ctppsGeometryESModule.isRun2
17 )
18 
19 # RP ids
20 rpIds = cms.PSet(
21  rp_45_F = cms.uint32(23),
22  rp_45_N = cms.uint32(3),
23  rp_56_N = cms.uint32(103),
24  rp_56_F = cms.uint32(123)
25 )
def use_single_infinite_iov_entry(ppsAssociationCutsESSource, iov)
def cloneGeometry(mod_path)
Definition: commons_cff.py:5