diff --git a/DDSim/Helper/Action.py b/DDSim/Helper/Action.py index 5732da3402098d37d6360a858d698de7f94586bb..2252840e01ca3296d662cd75b4ae276f9cbb2ffe 100644 --- a/DDSim/Helper/Action.py +++ b/DDSim/Helper/Action.py @@ -8,7 +8,7 @@ class Action( ConfigHelper ): The default tracker and calorimeter actions can be set with >>> SIM = DD4hepSimulation() - >>> SIM.action.tracker = "Geant4TrackerAction" + >>> SIM.action.tracker = ('Geant4TrackerWeightedAction', {'HitPositionCombination': 2, 'CollectSingleDeposits': False}) >>> SIM.action.calo = "Geant4CalorimeterAction" for specific subdetectors specific sensitive detectors can be set based on pattern matching @@ -24,7 +24,7 @@ class Action( ConfigHelper ): """ def __init__( self ): super(Action, self).__init__() - self._tracker = 'Geant4TrackerAction' + self._tracker = ('Geant4TrackerWeightedAction', {'HitPositionCombination': 2, 'CollectSingleDeposits': False}) self._calo = 'Geant4ScintillatorCalorimeterAction' self._mapActions = dict()