CMS 3D CMS Logo

year_2018_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.p2018)
7 ppsAssociationCutsESSource = ac.ppsAssociationCutsESSource
8 
9 from CalibPPS.ESProducers.ctppsOpticalFunctions_non_DB_cff import optics_2018 as selected_optics
10 
11 # base profile settings for 2018
12 profile_base_2018 = 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  ctppsDirectSimuData = dict(
23  empiricalAperture45 = cms.string("-(8.44219E-07*[xangle]-0.000100957)+(([xi]<(0.000247185*[xangle]+0.101599))*-(1.40289E-05*[xangle]-0.00727237)+([xi]> = (0.000247185*[xangle]+0.101599))*-(0.000107811*[xangle]-0.0261867))*([xi]-(0.000247185*[xangle]+0.101599))"),
24  empiricalAperture56 = cms.string("-(-4.74758E-07*[xangle]+3.0881E-05)+(([xi]<(0.000727859*[xangle]+0.0722653))*-(2.43968E-05*[xangle]-0.0085461)+([xi]> = (0.000727859*[xangle]+0.0722653))*-(7.19216E-05*[xangle]-0.0148267))*([xi]-(0.000727859*[xangle]+0.0722653))")
25  )
26 )
27 
28 # geometry
29 from Geometry.VeryForwardGeometry.commons_cff import cloneGeometry
30 XMLIdealGeometryESSource_CTPPS, _ctppsGeometryESModule = cloneGeometry('Geometry.VeryForwardGeometry.geometryRPFromDD_2018_cfi')
31 ctppsCompositeESSource.compactViewTag = _ctppsGeometryESModule.compactViewTag
32 ctppsCompositeESSource.isRun2 = _ctppsGeometryESModule.isRun2
33 
34 # local reconstruction
35 ctppsLocalTrackLiteProducer.includeStrips = False
36 ctppsLocalTrackLiteProducer.includePixels = True
37 ctppsLocalTrackLiteProducer.includeDiamonds = True
38 
39 reco_local = cms.Sequence(
40  ctppsPixelLocalTracks
41  * ctppsDiamondLocalReconstruction
42  * ctppsLocalTrackLiteProducer
43 )
44 
45 # RP ids
46 rpIds = cms.PSet(
47  rp_45_F = cms.uint32(23),
48  rp_45_N = cms.uint32(3),
49  rp_56_N = cms.uint32(103),
50  rp_56_F = cms.uint32(123)
51 )
52 
53 # default list of profiles
54 from Validation.CTPPS.simu_config.profile_2018_preTS1_cff import profile_2018_preTS1
55 from Validation.CTPPS.simu_config.profile_2018_postTS2_cff import profile_2018_postTS2
56 from Validation.CTPPS.simu_config.profile_2018_TS1_TS2_cff import profile_2018_TS1_TS2
57 ctppsCompositeESSource.periods = [profile_2018_postTS2, profile_2018_preTS1, profile_2018_TS1_TS2]
def cloneGeometry(mod_path)
Definition: commons_cff.py:5