CMS 3D CMS Logo

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