CMS 3D CMS Logo

year_2017_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 # base profile settings for 2017
6 profile_base_2017 = profile_base.clone(
7  ctppsLHCInfo = dict(
8  beamEnergy = 6500
9  ),
10 
11  ctppsOpticalFunctions = dict(
12  opticalFunctions = cms.VPSet(
13  cms.PSet( xangle = cms.double(120), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions/2017/version5tim/120urad.root") ),
14  cms.PSet( xangle = cms.double(130), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions/2017/version5tim/130urad.root") ),
15  cms.PSet( xangle = cms.double(140), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions/2017/version5tim/140urad.root") )
16  ),
17 
18  scoringPlanes = cms.VPSet(
19  # z in cm
20  cms.PSet( rpId = cms.uint32(0x76180000), dirName = cms.string("XRPH_D6L5_B2"), z = cms.double(-21255.1) ), # RP 003, strip
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(0x77180000), dirName = cms.string("XRPH_D6R5_B1"), z = cms.double(+21255.1) ), # RP 103, strip
25  cms.PSet( rpId = cms.uint32(2070937600), dirName = cms.string("XRPH_E6R5_B1"), z = cms.double(+21570.0) ), # RP 116, diamond
26  cms.PSet( rpId = cms.uint32(2040004608), dirName = cms.string("XRPH_B6R5_B1"), z = cms.double(+21955.0) ), # RP 123, pixel
27  )
28  )
29 )
30 
31 # geometry
32 from Geometry.VeryForwardGeometry.commons_cff import cloneGeometry
33 XMLIdealGeometryESSource_CTPPS, _ctppsGeometryESModule = cloneGeometry('Geometry.VeryForwardGeometry.geometryRPFromDD_2017_cfi')
34 ctppsCompositeESSource.compactViewTag = _ctppsGeometryESModule.compactViewTag
35 ctppsCompositeESSource.isRun2 = _ctppsGeometryESModule.isRun2
36 
37 # local reconstruction
38 ctppsLocalTrackLiteProducer.includeStrips = True
39 ctppsLocalTrackLiteProducer.includePixels = True
40 ctppsLocalTrackLiteProducer.includeDiamonds = True
41 
42 reco_local = cms.Sequence(
43  totemRPUVPatternFinder
44  * totemRPLocalTrackFitter
45  * ctppsPixelLocalTracks
46  * ctppsDiamondLocalReconstruction
47  * ctppsLocalTrackLiteProducer
48 )
49 
50 # RP ids
51 rpIds = cms.PSet(
52  rp_45_F = cms.uint32(23),
53  rp_45_N = cms.uint32(3),
54  rp_56_N = cms.uint32(103),
55  rp_56_F = cms.uint32(123)
56 )
57 
58 # default list of profiles
59 from Validation.CTPPS.simu_config.profile_2017_preTS2_cff import profile_2017_preTS2
60 from Validation.CTPPS.simu_config.profile_2017_postTS2_cff import profile_2017_postTS2
61 ctppsCompositeESSource.periods = [profile_2017_postTS2, profile_2017_preTS2]
base_cff
commons_cff.cloneGeometry
def cloneGeometry(mod_path)
Definition: commons_cff.py:5