CMS 3D CMS Logo

Functions
APDSimu_cff Namespace Reference

Functions

def customise (process)
 

Function Documentation

◆ customise()

def APDSimu_cff.customise (   process)

Definition at line 3 of file APDSimu_cff.py.

References mathSSE.return().

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 = "EcalValidInfo",
9  type = "EcalSimHitsValidProducer",
10  verbose = 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)
24 
return((rh ^ lh) &mask)
def customise(process)
Definition: APDSimu_cff.py:3