k4SimGeant4
Loading...
Searching...
No Matches
mergeLayers Namespace Reference

Variables

 pgun
 
 gen = GenAlg("ParticleGun", SignalProvider=pgun, VertexSmearingTool="FlatSmearVertex")
 
 Path
 
 hepmc_converter = HepMCToEDMConverter("Converter")
 
 geoservice
 
 geantservice = SimG4Svc("SimG4Svc")
 
 inspecttool = InspectHitsCollectionsTool("inspect", readoutNames=["ECalHits"], OutputLevel = INFO)
 
 savecaltool = SimG4SaveCalHits("saveECalHits", readoutNames = ["ECalHits"], OutputLevel = DEBUG)
 
 particle_converter = SimG4PrimariesFromEdmTool("EdmConverter")
 
 geantsim = SimG4Alg("SimG4Alg", outputs= ["SimG4SaveCalHits/saveECalHits","InspectHitsCollectionsTool/inspect"], eventProvider=particle_converter)
 
 merge
 
 podiosvc = FCCDataSvc("EventDataSvc")
 
 out = PodioOutput("out", filename="testMergeLayers.root")
 
 outputCommands
 
 EvtSel
 
 EvtMax
 
 TopAlg
 
 ExtSvc
 
 OutputLevel
 

Variable Documentation

◆ EvtMax

mergeLayers.EvtMax

◆ EvtSel

mergeLayers.EvtSel

◆ ExtSvc

mergeLayers.ExtSvc

◆ geantservice

mergeLayers.geantservice = SimG4Svc("SimG4Svc")

◆ geantsim

mergeLayers.geantsim = SimG4Alg("SimG4Alg", outputs= ["SimG4SaveCalHits/saveECalHits","InspectHitsCollectionsTool/inspect"], eventProvider=particle_converter)

◆ gen

mergeLayers.gen = GenAlg("ParticleGun", SignalProvider=pgun, VertexSmearingTool="FlatSmearVertex")

◆ geoservice

mergeLayers.geoservice
Initial value:
1= GeoSvc("GeoSvc", detectors=['file:Test/TestGeometry/data/Barrel_testCaloSD_rphiz.xml'],
2 OutputLevel = DEBUG)
Definition GeoSvc.h:22

◆ hepmc_converter

mergeLayers.hepmc_converter = HepMCToEDMConverter("Converter")

◆ inspecttool

mergeLayers.inspecttool = InspectHitsCollectionsTool("inspect", readoutNames=["ECalHits"], OutputLevel = INFO)

◆ merge

mergeLayers.merge
Initial value:
1= MergeLayers("mergeLayers",
2 # common part of the name of the group of volumes to merge
3 volumeName = "slice",
4 # corresponding identifier in the readout for the volumes that should be merged
5 identifier = "z",
6 # readout - bitfield description from the geometry service
7 readout ="ECalHits",
8 # specify how many volumes to merge
9 # if it is a constant number (e.g. merge every second volume with previous one), 'MergeCells' can be used
10 # below: merge first 3k volumes into new one (id=0), next 10k into second one (id=1) and last 3k into third volume (id=2)
11 merge = [3000,10001,3000],
12 OutputLevel = DEBUG)
Merge layers (volume ids).
Definition MergeLayers.h:37

◆ out

mergeLayers.out = PodioOutput("out", filename="testMergeLayers.root")

◆ outputCommands

mergeLayers.outputCommands

◆ OutputLevel

mergeLayers.OutputLevel

◆ particle_converter

mergeLayers.particle_converter = SimG4PrimariesFromEdmTool("EdmConverter")

◆ Path

mergeLayers.Path

◆ pgun

mergeLayers.pgun
Initial value:
1= MomentumRangeParticleGun("PGun",
2 PdgCodes=[11], # electron
3 MomentumMin = 20, # GeV
4 MomentumMax = 20, # GeV
5 ThetaMin = 1.58, # rad
6 ThetaMax = 1.58, # rad
7 PhiMin = 0, # rad
8 PhiMax = 0)

◆ podiosvc

mergeLayers.podiosvc = FCCDataSvc("EventDataSvc")

◆ savecaltool

mergeLayers.savecaltool = SimG4SaveCalHits("saveECalHits", readoutNames = ["ECalHits"], OutputLevel = DEBUG)

◆ TopAlg

mergeLayers.TopAlg