standard_g4_dune10ktdphase_workspace4x2.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "largeantmodules_dune.fcl"
3 #include "photpropservices_dune.fcl"
4 
5 process_name: G4
6 
7 services:
8 {
9  # Load the service that manages root files for histograms.
10  TFileService: { fileName: "g4_hist.root" }
11  TimeTracker: {}
12  MemoryTracker: { } # default is one
13  RandomNumberGenerator: {} #ART native random number generator
14  FileCatalogMetadata: @local::art_file_catalog_mc
15  @table::dunefddphase_simulation_services_legacy
16 }
17 
18 services.Geometry: @local::dunedphase10kt_workspace4x2_geo
19 
20 #source is now a root file
21 source:
22 {
23  module_type: RootInput
24  maxEvents: -1 # Number of events to create
25 }
26 
27 # Define and configure some modules to do work on each event.
28 # First modules are defined; they are scheduled later.
29 # Modules are grouped by type.
30 physics:
31 {
32 
33  producers:
34  {
35  largeant: @local::dunefd_largeant
36  rns: { module_type: "RandomNumberSaver" }
37  }
38 
39  #define the producer and filter modules for this path, order matters,
40  #filters reject all following items. see lines starting physics.producers below
41  simulate: [ rns, largeant ]
42 
43  #define the output stream, there could be more than one if using filters
44  stream1: [ out1 ]
45 
46  #trigger_paths is a keyword and contains the paths that modify the art::event,
47  #ie filters and producers
48  trigger_paths: [simulate]
49 
50  #end_paths is a keyword and contains the paths that do not modify the art::Event,
51  #ie analyzers and output streams. these all run simultaneously
52  end_paths: [stream1]
53 }
54 
55 #block to define where the output goes. if you defined a filter in the physics
56 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
57 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
58 outputs:
59 {
60  out1:
61  {
62  module_type: RootOutput
63  fileName: "%ifb_g4.root"
64  dataTier: "simulated"
65  compressionLevel: 1
66  }
67 }
68 
69 services.LArG4Parameters.MinNumberOfElCluster: 20
70 services.LArG4Parameters.KeepEMShowerDaughters: true