CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
year_2017_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.p2017)
7 ppsAssociationCutsESSource = ac.ppsAssociationCutsESSource
8 
9 from CalibPPS.ESProducers.ctppsOpticalFunctions_non_DB_cff import optics_2017 as selected_optics
10 
11 # base profile settings for 2017
12 profile_base_2017 = profile_base.clone(
13  ctppsLHCInfo = dict(
14  beamEnergy = 6500
15  ),
16 
17  ctppsOpticalFunctions = dict(
18  opticalFunctions = selected_optics.opticalFunctions,
19  scoringPlanes = selected_optics.scoringPlanes,
20  )
21 )
22 
23 # geometry
24 from Geometry.VeryForwardGeometry.commons_cff import cloneGeometry
25 XMLIdealGeometryESSource_CTPPS, _ctppsGeometryESModule = cloneGeometry('Geometry.VeryForwardGeometry.geometryRPFromDD_2017_cfi')
26 ctppsCompositeESSource.compactViewTag = _ctppsGeometryESModule.compactViewTag
27 ctppsCompositeESSource.isRun2 = _ctppsGeometryESModule.isRun2
28 
29 # local reconstruction
30 ctppsLocalTrackLiteProducer.includeStrips = True
31 ctppsLocalTrackLiteProducer.includePixels = True
32 ctppsLocalTrackLiteProducer.includeDiamonds = True
33 
34 reco_local = cms.Sequence(
35  totemRPUVPatternFinder
36  * totemRPLocalTrackFitter
37  * ctppsPixelLocalTracks
38  * ctppsDiamondLocalReconstruction
39  * ctppsLocalTrackLiteProducer
40 )
41 
42 # RP ids
43 rpIds = cms.PSet(
44  rp_45_F = cms.uint32(23),
45  rp_45_N = cms.uint32(3),
46  rp_56_N = cms.uint32(103),
47  rp_56_F = cms.uint32(123)
48 )
49 
50 # default list of profiles
51 from Validation.CTPPS.simu_config.profile_2017_preTS2_cff import profile_2017_preTS2
52 from Validation.CTPPS.simu_config.profile_2017_postTS2_cff import profile_2017_postTS2
53 ctppsCompositeESSource.periods = [profile_2017_postTS2, profile_2017_preTS2]
def cloneGeometry
Definition: commons_cff.py:5