1 import FWCore.ParameterSet.Config
as cms
8 ctppsCompositeESSource.generateEveryNEvents = 100
10 profile_base = cms.PSet(
11 L_int = cms.double(1),
14 ctppsLHCInfo = cms.PSet(
15 xangle = cms.double(-1),
16 betaStar = cms.double(-1),
17 beamEnergy = cms.double(0),
18 xangleBetaStarHistogramFile = cms.string(
"CalibPPS/ESProducers/data/xangle_beta_distributions/version1.root"),
19 xangleBetaStarHistogramObject = cms.string(
"")
23 ctppsOpticalFunctions = cms.PSet(
24 opticalFunctions = cms.VPSet(),
25 scoringPlanes = cms.VPSet()
29 ctppsRPAlignmentCorrectionsDataXML = cms.PSet(
30 MeasuredFiles = cms.vstring(),
31 RealFiles = cms.vstring(),
32 MisalignedFiles = cms.vstring()
36 ctppsDirectSimuData = cms.PSet(
37 empiricalAperture45 = cms.string(
""),
38 empiricalAperture56 = cms.string(
""),
40 timeResolutionDiamonds45 = cms.string(
"999"),
41 timeResolutionDiamonds56 = cms.string(
"999"),
43 efficienciesPerRP = cms.VPSet(),
44 efficienciesPerPlane = cms.VPSet()
49 ctppsBeamParametersFromLHCInfoESSource = cms.ESProducer(
"CTPPSBeamParametersFromLHCInfoESSource",
50 lhcInfoLabel = cms.string(
""),
53 beamDivX45 = cms.double(30E-6),
54 beamDivX56 = cms.double(30E-6),
55 beamDivY45 = cms.double(30E-6),
56 beamDivY56 = cms.double(30E-6),
59 vtxOffsetX45 = cms.double(0.),
60 vtxOffsetX56 = cms.double(0.),
61 vtxOffsetY45 = cms.double(0.),
62 vtxOffsetY56 = cms.double(0.),
63 vtxOffsetZ45 = cms.double(0.),
64 vtxOffsetZ56 = cms.double(0.),
67 vtxStddevX = cms.double(10E-4),
68 vtxStddevY = cms.double(10E-4),
69 vtxStddevZ = cms.double(5)
76 RandomNumberGeneratorService = cms.Service(
"RandomNumberGeneratorService",
77 sourceSeed = cms.PSet(initialSeed = cms.untracked.uint32(98765)),
78 generator = cms.PSet(initialSeed = cms.untracked.uint32(98766)),
79 beamDivergenceVtxGenerator = cms.PSet(initialSeed = cms.untracked.uint32(3849)),
80 ctppsDirectProtonSimulation = cms.PSet(initialSeed = cms.untracked.uint32(4981))
84 source = cms.Source(
"EmptySource",
85 firstRun = cms.untracked.uint32(1),
86 numberEventsInLuminosityBlock = ctppsCompositeESSource.generateEveryNEvents
91 generator.xi_max = 0.25
92 generator.theta_x_sigma = 60E-6
93 generator.theta_y_sigma = 60E-6
100 ctppsDirectProtonSimulation.verbosity = 0
101 ctppsDirectProtonSimulation.hepMCTag = cms.InputTag(
'beamDivergenceVtxGenerator')
102 ctppsDirectProtonSimulation.roundToPitch =
True
103 ctppsDirectProtonSimulation.pitchStrips = 66E-3 * 12 / 19
104 ctppsDirectProtonSimulation.pitchPixelsHor = 50E-3
105 ctppsDirectProtonSimulation.pitchPixelsVer = 80E-3
106 ctppsDirectProtonSimulation.useEmpiricalApertures =
True
107 ctppsDirectProtonSimulation.produceHitsRelativeToBeam =
True
108 ctppsDirectProtonSimulation.produceScoringPlaneHits =
False
109 ctppsDirectProtonSimulation.produceRecHits =
True
119 totemRPUVPatternFinder.tagRecHit = cms.InputTag(
'ctppsDirectProtonSimulation')
120 ctppsPixelLocalTracks.tag = cms.InputTag(
'ctppsDirectProtonSimulation')
121 ctppsDiamondLocalTracks.recHitsTag = cms.InputTag(
'ctppsDirectProtonSimulation')
123 ctppsLocalTrackLiteProducer.includeDiamonds =
False
126 ctppsProtons.tagLocalTrackLite = cms.InputTag(
'ctppsLocalTrackLiteProducer')
132 obj.vtxStddevX = 0E-4
135 obj.beamDivX45 = 0E-6
136 obj.beamDivX56 = 0E-6
137 obj.beamDivY45 = 0E-6
138 obj.beamDivY56 = 0E-6
143 process.ctppsDirectProtonSimulation.roundToPitch =
False
146 obj.beamDivX45 = 0E-6
147 obj.beamDivX56 = 0E-6
148 obj.beamDivY45 = 0E-6
149 obj.beamDivY56 = 0E-6
154 process.ctppsDirectProtonSimulation.roundToPitch =
False
157 process.ctppsDirectProtonSimulation.roundToPitch =
False
163 process.generator.theta_x_sigma = 0E-6
164 process.generator.theta_y_sigma = 0E-6
170 for p
in ctppsCompositeESSource.periods:
171 p.ctppsLHCInfo.xangle = xangle
172 p.ctppsLHCInfo.betaStar = betaStar
175 for p
in ctppsCompositeESSource.periods:
176 p.ctppsLHCInfo.xangle = -1
179 p.ctppsLHCInfo.xangleBetaStarHistogramFile = f
181 p.ctppsLHCInfo.xangleBetaStarHistogramObject = obj