CMS 3D CMS Logo

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

Functions

def customise
 

Function Documentation

def APDSimu_cff.customise (   process)

Definition at line 3 of file APDSimu_cff.py.

References gpuVertexFinder.return.

3 
4 def customise(process):
5 
6 # add ECAL and HCAL specific Geant4 hits objects
7 
8  process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
9  instanceLabel = cms.untracked.string('EcalValidInfo'),
10  type = cms.string('EcalSimHitsValidProducer'),
11  verbose = cms.untracked.bool(False)
12  ))
13 
14 # use directly the generator output, no Hector
15 
16  process.g4SimHits.Generator.HepMCProductLabel = cms.string('generatorSmeared')
17 
18 # user schedule: use only calorimeters digitization and local reconstruction
19 
20  process.g4SimHits.ECalSD.StoreSecondary = True
21  process.g4SimHits.CaloTrkProcessing.PutHistory = True
22  process.simEcalUnsuppressedDigis.apdAddToBarrel = True
23 
24  return(process)
def customise
Definition: APDSimu_cff.py:3