CMS 3D CMS Logo

year_2021_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 # base profile settings for 2021
6 profile_base_2021 = profile_base.clone(
7  ctppsLHCInfo = dict(
8  beamEnergy = 7000
9  ),
10 
11  ctppsOpticalFunctions = dict(
12  opticalFunctions = cms.VPSet(
13  cms.PSet( xangle = cms.double(110.444), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions/2021/version_pre3/110.444urad.root") ),
14  cms.PSet( xangle = cms.double(184.017), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions/2021/version_pre3/184.017urad.root") )
15  ),
16 
17  scoringPlanes = cms.VPSet(
18  # z in cm
19  cms.PSet( rpId = cms.uint32(2014838784), dirName = cms.string("XRPH_D6L5_B2"), z = cms.double(-21255.1) ), # RP 003, pixel
20  cms.PSet( rpId = cms.uint32(2056257536), dirName = cms.string("XRPH_A6L5_B2"), z = cms.double(-21507.8) ), # RP 022, diamond
21  cms.PSet( rpId = cms.uint32(2054160384), dirName = cms.string("XRPH_E6L5_B2"), z = cms.double(-21570.0) ), # RP 016, diamond
22  cms.PSet( rpId = cms.uint32(2023227392), dirName = cms.string("XRPH_B6L5_B2"), z = cms.double(-21955.0) ), # RP 023, pixel
23 
24  cms.PSet( rpId = cms.uint32(2031616000), dirName = cms.string("XRPH_D6R5_B1"), z = cms.double(+21255.1) ), # RP 103, pixel
25  cms.PSet( rpId = cms.uint32(2073034752), dirName = cms.string("XRPH_A6R5_B1"), z = cms.double(+21507.8) ), # RP 122, diamond
26  cms.PSet( rpId = cms.uint32(2070937600), dirName = cms.string("XRPH_E6R5_B1"), z = cms.double(+21570.0) ), # RP 116, diamond
27  cms.PSet( rpId = cms.uint32(2040004608), dirName = cms.string("XRPH_B6R5_B1"), z = cms.double(+21955.0) ), # RP 123, pixel
28  )
29  ),
30 
31  ctppsDirectSimuData = dict(
32  empiricalAperture45 = cms.string("1E3*([xi] - 0.20)"),
33  empiricalAperture56 = cms.string("1E3*([xi] - 0.20)")
34  )
35 )
36 
37 # adjust basic settings
38 generator.energy = profile_base_2021.ctppsLHCInfo.beamEnergy
39 
40 # geometry
42 ctppsCompositeESSource.compactViewTag = ctppsGeometryESModule.compactViewTag
43 del ctppsGeometryESModule # this functionality is replaced by the composite ES source
44 
45 # local reconstruction
46 ctppsLocalTrackLiteProducer.includeStrips = False
47 ctppsLocalTrackLiteProducer.includePixels = True
48 ctppsLocalTrackLiteProducer.includeDiamonds = True
49 
50 reco_local = cms.Sequence(
51  ctppsPixelLocalTracks
52  * ctppsDiamondLocalReconstruction
53  * ctppsLocalTrackLiteProducer
54 )
55 
56 # RP ids
57 rpIds = cms.PSet(
58  rp_45_F = cms.uint32(23),
59  rp_45_N = cms.uint32(3),
60  rp_56_N = cms.uint32(103),
61  rp_56_F = cms.uint32(123)
62 )
63 
64 # default list of profiles
65 from Validation.CTPPS.simu_config.profile_2021_default_cff import profile_2021_default
66 ctppsCompositeESSource.periods = [profile_2021_default]
base_cff
geometryRPFromDD_2021_cfi