CMS 3D CMS Logo

year_2016_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 import CalibPPS.ESProducers.ppsAssociationCuts_non_DB_cff as ac
6 ac.use_single_infinite_iov_entry(ac.ppsAssociationCutsESSource, ac.p2016)
7 ppsAssociationCutsESSource = ac.ppsAssociationCutsESSource
8 
9 # base profile settings for 2016
10 profile_base_2016 = profile_base.clone(
11  ctppsLHCInfo = dict(
12  beamEnergy = 6500
13  )
14 )
15 
16 # geometry (using 2017 here is OK)
17 from Geometry.VeryForwardGeometry.commons_cff import cloneGeometry
18 XMLIdealGeometryESSource_CTPPS, _ctppsGeometryESModule = cloneGeometry('Geometry.VeryForwardGeometry.geometryRPFromDD_2017_cfi')
19 
20 ctppsCompositeESSource.compactViewTag = _ctppsGeometryESModule.compactViewTag
21 ctppsCompositeESSource.isRun2 = _ctppsGeometryESModule.isRun2
22 
23 # local reconstruction
24 ctppsLocalTrackLiteProducer.includeStrips = True
25 ctppsLocalTrackLiteProducer.includePixels = False
26 
27 reco_local = cms.Sequence(
28  totemRPUVPatternFinder
29  * totemRPLocalTrackFitter
30  * ctppsLocalTrackLiteProducer
31 )
32 
33 # RP ids
34 rpIds = cms.PSet(
35  rp_45_F = cms.uint32(3),
36  rp_45_N = cms.uint32(2),
37  rp_56_N = cms.uint32(102),
38  rp_56_F = cms.uint32(103)
39 )
40 
41 # default list of profiles
42 from Validation.CTPPS.simu_config.profile_2016_preTS2_cff import profile_2016_preTS2
43 from Validation.CTPPS.simu_config.profile_2016_postTS2_cff import profile_2016_postTS2
44 ctppsCompositeESSource.periods = [profile_2016_postTS2, profile_2016_preTS2]
def cloneGeometry(mod_path)
Definition: commons_cff.py:5