All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
g4_only_energydeposits.fcl
Go to the documentation of this file.
1 #
2 # File: g4_only_energydeposits.fcl
3 # Purpose: Drop in configuration to set LArG4 to simulate only energy deposits.
4 # Author: Gianluca Petrillo (petrillo@slac.stanford.edu)
5 # Date: May 13, 2020
6 # Version: 1.0
7 #
8 # This configuration can be used as drop-in to instruct LArSoft to produce
9 # only energy depositions during GEANT4 runs.
10 # This is achieved via `LArG4Parameters` service configuration.
11 #
12 # This configuration produces particles and energy depositions as output,
13 # skipping the transportation of scintillation light and ionization charge to
14 # the readout. It is tailored around the way the `LArG4Parameters` is used in
15 # LArSoft module `LegacyLArG4`.
16 #
17 # The `LegacyLArG4` module simulates the energy depositions as a spin off of
18 # the processing of scintillation light. For that reason this configuration
19 # leaves the simulation of the scintillation light enabled (and the charge
20 # as well, since they go together), but it does not perform the transportation
21 # of the light to the photodetectors.
22 #
23 # Example: to run only energy depositions with a base configuration
24 # `cosmics_g4_icarus_volCryostat.fcl`, have a job configuration like:
25 #
26 # #include "cosmics_g4_icarus_volCryostat.fcl"
27 #
28 # #include "g4_only_energydeposits.fcl"
29 #
30 # Note that small saving can be achieved by disabling the services that are
31 # not needed. For example, if space charge maps are not used:
32 #
33 # services.SpaceChargeService: @erase
34 #
35 # can be added to the configuration file.
36 #
37 #
38 # Dependencies
39 # =============
40 #
41 # This configuration does not directly depend on any specific configuration,
42 # but it requires the service `LArG4Parameters` to have been already
43 # configured.
44 #
45 #
46 # Settings
47 # =========
48 #
49 # TPC charge and light propagation are not performed.
50 # The simulation of the auxiliary detectors is not disabled, including both
51 # energy deposition and readout.
52 #
53 #
54 # Input
55 # ======
56 #
57 # No specific input is required.
58 #
59 #
60 # Output
61 # =======
62 #
63 # No specific output is produced.
64 #
65 #
66 # Changes
67 # ========
68 #
69 # 20200513 (petrillo@slac.stanford.edu) [v1.0]
70 # original version for `icaruscode` `v08_51_00`
71 #
72 
73 services.LArG4Parameters: {
74  @table::services.LArG4Parameters
75 
76  # "disabling wire planes" seems to affect the way GEANT4 performs the
77  # simulation, maybe not imposing a short stepping
78  # (two orders of magnitude fewer energy depositions, in count)
79  DisableWireplanes: false
80  FillSimEnergyDeposits: true
81  NoElectronPropagation: true
82  NoPhotonPropagation: true
83 
84 } # services.LArG4Parameters
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 caloskimCalorimetryCryoE physics caloskimCalorimetryCryoW physics sequence::physics pathW services