CMS 3D CMS Logo

year_2022_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.p2022)
7 ppsAssociationCutsESSource = ac.ppsAssociationCutsESSource
8 
9 from CalibPPS.ESProducers.ctppsOpticalFunctions_non_DB_cff import optics_2022 as selected_optics
10 
11 # base profile settings for 2022
12 profile_base_2022 = profile_base.clone(
13  ctppsLHCInfo = dict(
14  beamEnergy = 7000
15  ),
16 
17  ctppsOpticalFunctions = dict(
18  opticalFunctions = selected_optics.opticalFunctions,
19  scoringPlanes = selected_optics.scoringPlanes,
20  ),
21 
22  ctppsDirectSimuData = dict(
23  empiricalAperture45 = cms.string("1E3*([xi] - 0.20)"),
24  empiricalAperture56 = cms.string("1E3*([xi] - 0.20)")
25  )
26 )
27 
28 # adjust basic settings
29 generator.energy = profile_base_2022.ctppsLHCInfo.beamEnergy
30 
32 ctppsCompositeESSource.compactViewTag = ctppsGeometryESModule.compactViewTag
33 del ctppsGeometryESModule # this functionality is replaced by the composite ES source
34 
35 # local reconstruction
36 ctppsLocalTrackLiteProducer.includeStrips = False
37 ctppsLocalTrackLiteProducer.includePixels = True
38 ctppsLocalTrackLiteProducer.includeDiamonds = True
39 
40 reco_local = cms.Sequence(
41  ctppsPixelLocalTracks
42  * ctppsDiamondLocalReconstruction
43  * ctppsLocalTrackLiteProducer
44 )
45 
46 # RP ids
47 rpIds = cms.PSet(
48  rp_45_F = cms.uint32(23),
49  rp_45_N = cms.uint32(3),
50  rp_56_N = cms.uint32(103),
51  rp_56_F = cms.uint32(123)
52 )
53 
54 # default list of profiles
55 from Validation.CTPPS.simu_config.profile_2022_default_cff import profile_2022_default
56 ctppsCompositeESSource.periods = [profile_2022_default]