CMS 3D CMS Logo

Functions

APDSimu_cff Namespace Reference

Functions

def customise

Function Documentation

def APDSimu_cff::customise (   process)

Definition at line 3 of file APDSimu_cff.py.

00004                       :
00005 
00006 # add ECAL and HCAL specific Geant4 hits objects
00007 
00008     process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
00009         instanceLabel = cms.untracked.string('EcalValidInfo'),
00010         type = cms.string('EcalSimHitsValidProducer'),
00011         verbose = cms.untracked.bool(False)
00012     ))
00013 
00014 # use directly the generator output, no Hector
00015 
00016     process.g4SimHits.generator.HepMCProductLabel = cms.string('generator')
00017 
00018 # user schedule: use only calorimeters digitization and local reconstruction
00019 
00020     process.g4SimHits.ECalSD.StoreSecondary = True
00021     process.g4SimHits.CaloTrkProcessing.PutHistory = True
00022     process.simEcalUnsuppressedDigis.apdAddToBarrel = True
00023 
00024     return(process)