CMS 3D CMS Logo

Functions | Variables
base_cff Namespace Reference

Functions

def SetLargeTheta (process)
 
def SetLevel1 (process)
 
def SetLevel2 (process)
 
def SetLevel3 (process)
 
def SetLevel4 (process)
 
def SetLowTheta (process)
 
def SetSmearingLevel1 (obj)
 
def SetSmearingLevel2 (obj)
 
def UseConstantXangleBetaStar (process, xangle, betaStar)
 
def UseXangleBetaStarHistogram (process, f="", obj="")
 

Variables

 beamDivergenceVtxGenerator
 
 beamDivX45
 
 beamDivX56
 
 beamDivY45
 
 beamDivY56
 
 beamEnergy
 
 betaStar
 
 ctppsBeamParametersFromLHCInfoESSource
 
 ctppsDirectProtonSimulation
 
 ctppsDirectSimuData
 
 ctppsLHCInfo
 
 ctppsOpticalFunctions
 
 ctppsRPAlignmentCorrectionsDataXML
 
 efficienciesPerPlane
 
 efficienciesPerRP
 
 empiricalAperture45
 
 empiricalAperture56
 
 firstRun
 
 generateEveryNEvents
 
 generator
 
 hepMCTag
 
 includeDiamonds
 
 initialSeed
 
 L_int
 
 lhcInfoLabel
 
 MeasuredFiles
 
 MisalignedFiles
 
 numberEventsInLuminosityBlock
 
 opticalFunctions
 
 pitchPixelsHor
 
 pitchPixelsVer
 
 pitchStrips
 
 produceHitsRelativeToBeam
 
 produceRecHits
 
 produceScoringPlaneHits
 
 profile_base
 
 RandomNumberGeneratorService
 
 RealFiles
 
 recHitsTag
 
 roundToPitch
 
 scoringPlanes
 
 source
 
 sourceSeed
 
 tag
 
 tagLocalTrackLite
 
 tagRecHit
 
 theta_x_sigma
 
 theta_y_sigma
 
 timeResolutionDiamonds45
 
 timeResolutionDiamonds56
 
 useEmpiricalApertures
 
 verbosity
 
 vtxOffsetX45
 
 vtxOffsetX56
 
 vtxOffsetY45
 
 vtxOffsetY56
 
 vtxOffsetZ45
 
 vtxOffsetZ56
 
 vtxStddevX
 
 vtxStddevY
 
 vtxStddevZ
 
 xangle
 
 xangleBetaStarHistogramFile
 
 xangleBetaStarHistogramObject
 
 xi_max
 

Function Documentation

◆ SetLargeTheta()

def base_cff.SetLargeTheta (   process)

Definition at line 166 of file base_cff.py.

166 def SetLargeTheta(process):
167  pass
168 

◆ SetLevel1()

def base_cff.SetLevel1 (   process)

Definition at line 140 of file base_cff.py.

140 def SetLevel1(process):
141  SetSmearingLevel1(process.ctppsBeamParametersFromLHCInfoESSource)
142 
143  process.ctppsDirectProtonSimulation.roundToPitch = False
144 

References SetSmearingLevel1().

◆ SetLevel2()

def base_cff.SetLevel2 (   process)

Definition at line 151 of file base_cff.py.

151 def SetLevel2(process):
152  SetSmearingLevel2(process.ctppsBeamParametersFromLHCInfoESSource)
153 
154  process.ctppsDirectProtonSimulation.roundToPitch = False
155 

References SetSmearingLevel2().

◆ SetLevel3()

def base_cff.SetLevel3 (   process)

Definition at line 156 of file base_cff.py.

156 def SetLevel3(process):
157  process.ctppsDirectProtonSimulation.roundToPitch = False
158 

◆ SetLevel4()

def base_cff.SetLevel4 (   process)

Definition at line 159 of file base_cff.py.

159 def SetLevel4(process):
160  pass
161 

◆ SetLowTheta()

def base_cff.SetLowTheta (   process)

Definition at line 162 of file base_cff.py.

162 def SetLowTheta(process):
163  process.generator.theta_x_sigma = 0E-6
164  process.generator.theta_y_sigma = 0E-6
165 

◆ SetSmearingLevel1()

def base_cff.SetSmearingLevel1 (   obj)

Definition at line 131 of file base_cff.py.

131 def SetSmearingLevel1(obj):
132  obj.vtxStddevX = 0E-4
133  obj.vtxStddevZ = 0
134 
135  obj.beamDivX45 = 0E-6
136  obj.beamDivX56 = 0E-6
137  obj.beamDivY45 = 0E-6
138  obj.beamDivY56 = 0E-6
139 

Referenced by SetLevel1().

◆ SetSmearingLevel2()

def base_cff.SetSmearingLevel2 (   obj)

Definition at line 145 of file base_cff.py.

145 def SetSmearingLevel2(obj):
146  obj.beamDivX45 = 0E-6
147  obj.beamDivX56 = 0E-6
148  obj.beamDivY45 = 0E-6
149  obj.beamDivY56 = 0E-6
150 

Referenced by SetLevel2().

◆ UseConstantXangleBetaStar()

def base_cff.UseConstantXangleBetaStar (   process,
  xangle,
  betaStar 
)

Definition at line 169 of file base_cff.py.

169 def UseConstantXangleBetaStar(process, xangle, betaStar):
170  for p in ctppsCompositeESSource.periods:
171  p.ctppsLHCInfo.xangle = xangle
172  p.ctppsLHCInfo.betaStar = betaStar
173 

◆ UseXangleBetaStarHistogram()

def base_cff.UseXangleBetaStarHistogram (   process,
  f = "",
  obj = "" 
)

Definition at line 174 of file base_cff.py.

174 def UseXangleBetaStarHistogram(process, f="", obj=""):
175  for p in ctppsCompositeESSource.periods:
176  p.ctppsLHCInfo.xangle = -1 # negative value indicates to use the xangle/beta* histogram
177 
178  if f:
179  p.ctppsLHCInfo.xangleBetaStarHistogramFile = f
180  if obj:
181  p.ctppsLHCInfo.xangleBetaStarHistogramObject = obj

Variable Documentation

◆ beamDivergenceVtxGenerator

base_cff.beamDivergenceVtxGenerator

Definition at line 79 of file base_cff.py.

◆ beamDivX45

base_cff.beamDivX45

Definition at line 53 of file base_cff.py.

◆ beamDivX56

base_cff.beamDivX56

Definition at line 54 of file base_cff.py.

◆ beamDivY45

base_cff.beamDivY45

Definition at line 55 of file base_cff.py.

◆ beamDivY56

base_cff.beamDivY56

Definition at line 56 of file base_cff.py.

◆ beamEnergy

base_cff.beamEnergy

Definition at line 17 of file base_cff.py.

◆ betaStar

base_cff.betaStar

Definition at line 16 of file base_cff.py.

◆ ctppsBeamParametersFromLHCInfoESSource

base_cff.ctppsBeamParametersFromLHCInfoESSource

Definition at line 49 of file base_cff.py.

◆ ctppsDirectProtonSimulation

base_cff.ctppsDirectProtonSimulation

Definition at line 80 of file base_cff.py.

◆ ctppsDirectSimuData

base_cff.ctppsDirectSimuData

Definition at line 36 of file base_cff.py.

Referenced by CTPPSCompositeESSource.buildDirectSimuData().

◆ ctppsLHCInfo

base_cff.ctppsLHCInfo

Definition at line 14 of file base_cff.py.

Referenced by CTPPSCompositeESSource.buildLHCInfo().

◆ ctppsOpticalFunctions

base_cff.ctppsOpticalFunctions

Definition at line 23 of file base_cff.py.

Referenced by CTPPSCompositeESSource.buildOptics().

◆ ctppsRPAlignmentCorrectionsDataXML

base_cff.ctppsRPAlignmentCorrectionsDataXML

Definition at line 29 of file base_cff.py.

◆ efficienciesPerPlane

base_cff.efficienciesPerPlane

Definition at line 44 of file base_cff.py.

◆ efficienciesPerRP

base_cff.efficienciesPerRP

Definition at line 43 of file base_cff.py.

◆ empiricalAperture45

base_cff.empiricalAperture45

Definition at line 37 of file base_cff.py.

◆ empiricalAperture56

base_cff.empiricalAperture56

Definition at line 38 of file base_cff.py.

◆ firstRun

base_cff.firstRun

Definition at line 85 of file base_cff.py.

◆ generateEveryNEvents

base_cff.generateEveryNEvents

Definition at line 8 of file base_cff.py.

◆ generator

base_cff.generator

Definition at line 78 of file base_cff.py.

◆ hepMCTag

base_cff.hepMCTag

Definition at line 101 of file base_cff.py.

◆ includeDiamonds

base_cff.includeDiamonds

Definition at line 123 of file base_cff.py.

◆ initialSeed

base_cff.initialSeed

Definition at line 77 of file base_cff.py.

◆ L_int

base_cff.L_int

Definition at line 11 of file base_cff.py.

◆ lhcInfoLabel

base_cff.lhcInfoLabel

Definition at line 50 of file base_cff.py.

◆ MeasuredFiles

base_cff.MeasuredFiles

Definition at line 30 of file base_cff.py.

◆ MisalignedFiles

base_cff.MisalignedFiles

Definition at line 32 of file base_cff.py.

◆ numberEventsInLuminosityBlock

base_cff.numberEventsInLuminosityBlock

Definition at line 86 of file base_cff.py.

◆ opticalFunctions

base_cff.opticalFunctions

Definition at line 24 of file base_cff.py.

◆ pitchPixelsHor

base_cff.pitchPixelsHor

Definition at line 104 of file base_cff.py.

◆ pitchPixelsVer

base_cff.pitchPixelsVer

Definition at line 105 of file base_cff.py.

◆ pitchStrips

base_cff.pitchStrips

Definition at line 103 of file base_cff.py.

◆ produceHitsRelativeToBeam

base_cff.produceHitsRelativeToBeam

Definition at line 107 of file base_cff.py.

◆ produceRecHits

base_cff.produceRecHits

Definition at line 109 of file base_cff.py.

◆ produceScoringPlaneHits

base_cff.produceScoringPlaneHits

Definition at line 108 of file base_cff.py.

◆ profile_base

base_cff.profile_base

Definition at line 10 of file base_cff.py.

◆ RandomNumberGeneratorService

base_cff.RandomNumberGeneratorService

Definition at line 76 of file base_cff.py.

◆ RealFiles

base_cff.RealFiles

Definition at line 31 of file base_cff.py.

◆ recHitsTag

base_cff.recHitsTag

Definition at line 121 of file base_cff.py.

◆ roundToPitch

base_cff.roundToPitch

Definition at line 102 of file base_cff.py.

◆ scoringPlanes

base_cff.scoringPlanes

Definition at line 25 of file base_cff.py.

◆ source

base_cff.source

Definition at line 84 of file base_cff.py.

◆ sourceSeed

base_cff.sourceSeed

Definition at line 77 of file base_cff.py.

◆ tag

base_cff.tag

Definition at line 120 of file base_cff.py.

◆ tagLocalTrackLite

base_cff.tagLocalTrackLite

Definition at line 126 of file base_cff.py.

◆ tagRecHit

base_cff.tagRecHit

Definition at line 119 of file base_cff.py.

◆ theta_x_sigma

base_cff.theta_x_sigma

Definition at line 92 of file base_cff.py.

◆ theta_y_sigma

base_cff.theta_y_sigma

Definition at line 93 of file base_cff.py.

◆ timeResolutionDiamonds45

base_cff.timeResolutionDiamonds45

Definition at line 40 of file base_cff.py.

◆ timeResolutionDiamonds56

base_cff.timeResolutionDiamonds56

Definition at line 41 of file base_cff.py.

◆ useEmpiricalApertures

base_cff.useEmpiricalApertures

Definition at line 106 of file base_cff.py.

◆ verbosity

base_cff.verbosity

Definition at line 100 of file base_cff.py.

◆ vtxOffsetX45

base_cff.vtxOffsetX45

Definition at line 59 of file base_cff.py.

◆ vtxOffsetX56

base_cff.vtxOffsetX56

Definition at line 60 of file base_cff.py.

◆ vtxOffsetY45

base_cff.vtxOffsetY45

Definition at line 61 of file base_cff.py.

◆ vtxOffsetY56

base_cff.vtxOffsetY56

Definition at line 62 of file base_cff.py.

◆ vtxOffsetZ45

base_cff.vtxOffsetZ45

Definition at line 63 of file base_cff.py.

◆ vtxOffsetZ56

base_cff.vtxOffsetZ56

Definition at line 64 of file base_cff.py.

◆ vtxStddevX

base_cff.vtxStddevX

Definition at line 67 of file base_cff.py.

◆ vtxStddevY

base_cff.vtxStddevY

Definition at line 68 of file base_cff.py.

◆ vtxStddevZ

base_cff.vtxStddevZ

Definition at line 69 of file base_cff.py.

◆ xangle

base_cff.xangle

Definition at line 15 of file base_cff.py.

◆ xangleBetaStarHistogramFile

base_cff.xangleBetaStarHistogramFile

◆ xangleBetaStarHistogramObject

base_cff.xangleBetaStarHistogramObject

◆ xi_max

base_cff.xi_max

Definition at line 91 of file base_cff.py.

base_cff.SetLevel1
def SetLevel1(process)
Definition: base_cff.py:140
base_cff.UseConstantXangleBetaStar
def UseConstantXangleBetaStar(process, xangle, betaStar)
Definition: base_cff.py:169
base_cff.SetLargeTheta
def SetLargeTheta(process)
Definition: base_cff.py:166
base_cff.UseXangleBetaStarHistogram
def UseXangleBetaStarHistogram(process, f="", obj="")
Definition: base_cff.py:174
base_cff.SetLowTheta
def SetLowTheta(process)
Definition: base_cff.py:162
base_cff.SetSmearingLevel1
def SetSmearingLevel1(obj)
Definition: base_cff.py:131
base_cff.SetLevel4
def SetLevel4(process)
Definition: base_cff.py:159
base_cff.SetLevel2
def SetLevel2(process)
Definition: base_cff.py:151
base_cff.SetSmearingLevel2
def SetSmearingLevel2(obj)
Definition: base_cff.py:145
base_cff.SetLevel3
def SetLevel3(process)
Definition: base_cff.py:156