CMS 3D CMS Logo

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

Functions

def customiseG4
 

Function Documentation

def reproc2011_2012_cff.customiseG4 (   process)

Definition at line 3 of file reproc2011_2012_cff.py.

References hitfit.return.

3 
4 def customiseG4(process):
5 
6  process.g4SimHits.Physics.type = cms.string('SimG4Core/Physics/QGSP_FTFP_BERT_EML_New')
7 
8  # extended geometric acceptance (full CASTOR acceptance)
9 
10  process.g4SimHits.Generator.MinEtaCut = cms.double(-6.7)
11  process.g4SimHits.Generator.MaxEtaCut = cms.double(6.7)
12 
13  # use HF shower library instead of GFlash parameterization
14 
15  process.g4SimHits.HCalSD.UseShowerLibrary = cms.bool(True)
16  process.g4SimHits.HCalSD.UseParametrize = cms.bool(False)
17  process.g4SimHits.HCalSD.UsePMTHits = cms.bool(False)
18  process.g4SimHits.HCalSD.UseFibreBundleHits = cms.bool(False)
19 
20  return(process)