CMS 3D CMS Logo

Functions
reproc2011_2012_cff Namespace Reference

Functions

def customiseG4 (process)
 

Function Documentation

def reproc2011_2012_cff.customiseG4 (   process)

Definition at line 3 of file reproc2011_2012_cff.py.

References mathSSE.return().

3 def customiseG4(process):
4 
5  if hasattr(process,'g4SimHits'):
6  process.g4SimHits.Physics.type = cms.string('SimG4Core/Physics/QGSP_FTFP_BERT_EML_New')
7  # use HF shower library instead of GFlash parameterization
8  process.g4SimHits.HCalSD.UseShowerLibrary = cms.bool(True)
9  process.g4SimHits.HCalSD.UseParametrize = cms.bool(False)
10  process.g4SimHits.HCalSD.UsePMTHits = cms.bool(False)
11  process.g4SimHits.HCalSD.UseFibreBundleHits = cms.bool(False)
12  process.g4SimHits.HFShowerLibrary.FileName = 'SimG4CMS/Calo/data/HFShowerLibrary_oldpmt_eta4_16en.root'
13  process.g4SimHits.HFShowerLibrary.BranchPost= ''
14  process.g4SimHits.HFShowerLibrary.BranchPre = ''
15  process.g4SimHits.HFShowerLibrary.BranchEvt = ''
16 
17  return(process)
18 
return((rh^lh)&mask)