CMS 3D CMS Logo

Functions | Variables
customise_stdgeom Namespace Reference

Functions

def customise (process)
 
def customise_pu15_25ns (process)
 
def customise_pu50_25ns (process)
 

Variables

 AddPixelInefficiency
 if doing inefficiency at <PU>=50 More...
 
 averageNumber
 
 nbPileupEvents
 set the number of pileup More...
 

Function Documentation

◆ customise()

def customise_stdgeom.customise (   process)

Definition at line 4 of file customise_stdgeom.py.

4 def customise(process):
5  process.load("SLHCUpgradeSimulations.Geometry.recoFromSimDigis_cff")
6  #this line is different
7  process.load("SLHCUpgradeSimulations.Geometry.upgradeTracking_stdgeom_cff")
8 
9  process.ctfWithMaterialTracks.TTRHBuilder = 'WithTrackAngle'
10  #this line is different
11  process.PixelCPEGenericESProducer.UseErrorsFromTemplates = cms.bool(True)
12  process.PixelCPEGenericESProducer.TruncatePixelCharge = cms.bool(False)
13  #this line is different
14  process.PixelCPEGenericESProducer.LoadTemplatesFromDB = cms.bool(True)
15  #two lines removed here
16  process.PixelCPEGenericESProducer.IrradiationBiasCorrection = False
17  process.PixelCPEGenericESProducer.DoCosmics = False
18 
19 
20  process.siPixelRecHits.CPE = cms.string('PixelCPEGeneric')
21  process.initialStepTracks.TTRHBuilder = cms.string('WithTrackAngle')
22  process.lowPtTripletStepTracks.TTRHBuilder = cms.string('WithTrackAngle')
23  process.pixelPairStepTracks.TTRHBuilder = cms.string('WithTrackAngle')
24  process.detachedTripletStepTracks.TTRHBuilder = cms.string('WithTrackAngle')
25  process.mixedTripletStepTracks.TTRHBuilder = cms.string('WithTrackAngle')
26  process.pixelLessStepTracks.TTRHBuilder = cms.string('WithTrackAngle')
27  process.tobTecStepTracks.TTRHBuilder = cms.string('WithTrackAngle')
28 
29  # Need these lines to stop some errors about missing siStripDigis collections.
30  # should add them to fakeConditions_Phase1_cff
31  process.MeasurementTracker.inactiveStripDetectorLabels = cms.VInputTag()
32  process.MeasurementTracker.UseStripModuleQualityDB = cms.bool(False)
33  process.MeasurementTracker.UseStripAPVFiberQualityDB = cms.bool(False)
34  process.MeasurementTracker.UseStripStripQualityDB = cms.bool(False)
35  process.MeasurementTracker.UsePixelModuleQualityDB = cms.bool(False)
36  process.MeasurementTracker.UsePixelROCQualityDB = cms.bool(False)
37 
38 
39  process.DigiToRaw.remove(process.castorRawData)
40 
41 
43 
44  if hasattr(process,'dqmoffline_step'):
45  process.dqmoffline_step.remove(process.SiPixelTrackResidualSource)
46  process.dqmoffline_step.remove(process.jetMETAnalyzer)
47  process.dqmoffline_step.remove(process.hltMonMuBits)
48  process.dqmoffline_step.remove(process.vbtfAnalyzer)
49  process.dqmoffline_step.remove(process.hltResults)
50  process.dqmoffline_step.remove(process.egHLTOffDQMSource)
51  process.dqmoffline_step.remove(process.globalAnalyzer)
52  process.dqmoffline_step.remove(process.jetMETHLTOfflineSource)
53 
54  process.dqmoffline_step.remove(process.TrackerCollisionTrackMon)
55  if hasattr(process,'validation_step'):
56  process.validation_step.remove(process.hltHITval)
57  process.validation_step.remove(process.HLTSusyExoVal)
58  process.validation_step.remove(process.relvalMuonBits)
59  process.validation_step.remove(process.hltMuonValidator)
60  else:
61 
62  process.pdigi.remove(process.mergedtruth)
63 
64  return(process)
65 
66 
67 #pileup specific stuff here

References mathSSE.return().

◆ customise_pu15_25ns()

def customise_stdgeom.customise_pu15_25ns (   process)

Definition at line 68 of file customise_stdgeom.py.

68 def customise_pu15_25ns(process):
69 
70  process=customise(process)
71 
72  process.load("SLHCUpgradeSimulations.Geometry.mixLowLumPU_stdgeom_cff")
73 

◆ customise_pu50_25ns()

def customise_stdgeom.customise_pu50_25ns (   process)

Definition at line 81 of file customise_stdgeom.py.

81 def customise_pu50_25ns(process):
82 
83  process=customise(process)
84 
85  process.load("SLHCUpgradeSimulations.Geometry.mixLowLumPU_stdgeom_cff")
86 

Variable Documentation

◆ AddPixelInefficiency

customise_stdgeom.AddPixelInefficiency

if doing inefficiency at <PU>=50

Definition at line 94 of file customise_stdgeom.py.

◆ averageNumber

customise_stdgeom.averageNumber

Definition at line 76 of file customise_stdgeom.py.

◆ nbPileupEvents

customise_stdgeom.nbPileupEvents

set the number of pileup

Definition at line 75 of file customise_stdgeom.py.

customise
Definition: customise.py:1
mathSSE::return
return((rh ^ lh) &mask)
customise_stdgeom.customise_pu15_25ns
def customise_pu15_25ns(process)
Definition: customise_stdgeom.py:68
customise_stdgeom.customise
def customise(process)
Definition: customise_stdgeom.py:4
customise_stdgeom.customise_pu50_25ns
def customise_pu50_25ns(process)
Definition: customise_stdgeom.py:81