CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
customise_stdgeom Namespace Reference

Functions

def customise
 
def customise_pu15_25ns
 
def customise_pu50_25ns
 

Variables

tuple averageNumber = cms.double(15.0)
 set the number of pileup More...
 

Function Documentation

def customise_stdgeom.customise (   process)

Definition at line 4 of file customise_stdgeom.py.

References mathSSE.return().

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

Definition at line 68 of file customise_stdgeom.py.

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

Definition at line 81 of file customise_stdgeom.py.

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

Variable Documentation

tuple customise_stdgeom.averageNumber = cms.double(15.0)

set the number of pileup

Definition at line 76 of file customise_stdgeom.py.