standard_g4_dune35t.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::dune35t_g4_services_legacy
16 }
17 #services.LArG4Parameters.UseModBoxRecomb: true
18 services.PhotonVisibilityService: @local::dune35t_photonvisibilityservice
19 #source is now a root file
20 source:
21 {
22  module_type: RootInput
23  maxEvents: 10 # Number of events to create
24 }
25 
26 # Define and configure some modules to do work on each event.
27 # First modules are defined; they are scheduled later.
28 # Modules are grouped by type.
29 physics:
30 {
31 
32  producers:
33  {
34  largeant: @local::dune35t_largeant
35  rns: { module_type: "RandomNumberSaver" }
36  }
37 
38  #define the producer and filter modules for this path, order matters,
39  #filters reject all following items. see lines starting physics.producers below
40  simulate: [ rns, largeant ]
41 
42  #define the output stream, there could be more than one if using filters
43  stream1: [ out1 ]
44 
45  #trigger_paths is a keyword and contains the paths that modify the art::event,
46  #ie filters and producers
47  trigger_paths: [simulate]
48 
49  #end_paths is a keyword and contains the paths that do not modify the art::Event,
50  #ie analyzers and output streams. these all run simultaneously
51  end_paths: [stream1]
52 }
53 
54 #block to define where the output goes. if you defined a filter in the physics
55 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
56 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
57 outputs:
58 {
59  out1:
60  {
61  module_type: RootOutput
62  fileName: "%ifb_%tc_g4.root"
63  dataTier: "simulated"
64  compressionLevel: 1
65  fastCloning: false
66  }
67 }
68 
69