CMS 3D CMS Logo

Functions
APDSimu_cff Namespace Reference

Functions

def customise (process)
 

Function Documentation

def APDSimu_cff.customise (   process)

Definition at line 3 of file APDSimu_cff.py.

References reco.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 = 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)
24 
def customise(process)
Definition: APDSimu_cff.py:3
return(e1-e2)*(e1-e2)+dp *dp