CMS 3D CMS Logo

ctppsOpticalFunctions_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 # by default, (raw) optical functions are now loaded from CondDB using a GT
6 
7 #from CalibPPS.ESProducers.ctppsOpticalFunctionsESSource_cfi import *
8 #
9 ## add 2016 pre-TS2 configuration
10 #config_2016_preTS2 = cms.PSet(
11 # validityRange = cms.EventRange("273725:min - 280385:max"),
12 #
13 # opticalFunctions = cms.VPSet(
14 # cms.PSet( xangle = cms.double(185), fileName = cms.FileInPath("CalibPPS/ESProducers/data/optical_functions_2016.root") )
15 # ),
16 #
17 # scoringPlanes = cms.VPSet(
18 # # z in cm
19 # cms.PSet( rpId = cms.uint32(0x76100000), dirName = cms.string("XRPH_C6L5_B2"), z = cms.double(-20382.6) ), # RP 002, strip
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(0x77100000), dirName = cms.string("XRPH_C6R5_B1"), z = cms.double(+20382.6) ), # RP 102, strip
22 # cms.PSet( rpId = cms.uint32(0x77180000), dirName = cms.string("XRPH_D6R5_B1"), z = cms.double(+21255.1) ), # RP 103, strip
23 # )
24 #)
25 #
26 #ctppsOpticalFunctionsESSource.configuration.append(config_2016_preTS2)
27 
28 # optics interpolation between crossing angles
30 ctppsInterpolatedOpticalFunctionsESSource.lhcInfoLabel = ctppsLHCInfoLabel
add 2016 pre-TS2 configuration config_2016_preTS2 = cms.PSet( validityRange = cms.EventRange("273725:min - 280385:max"),