standard_g4_3x1x1dp.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::dunedphase3x1x1_simulation_services_legacy
16 }
17 
18 #source is now a root file
19 source:
20 {
21  module_type: RootInput
22  maxEvents: -1 # Number of events to create
23 }
24 
25 # Define and configure some modules to do work on each event.
26 # First modules are defined; they are scheduled later.
27 # Modules are grouped by type.
28 physics:
29 {
30 
31  producers:
32  {
33  largeant: @local::dunefd_largeant
34  rns: { module_type: "RandomNumberSaver" }
35  }
36 
37  #define the producer and filter modules for this path, order matters,
38  #filters reject all following items. see lines starting physics.producers below
39  simulate: [ rns, largeant ]
40 
41  #define the output stream, there could be more than one if using filters
42  stream1: [ out1 ]
43 
44  #trigger_paths is a keyword and contains the paths that modify the art::event,
45  #ie filters and producers
46  trigger_paths: [simulate]
47 
48  #end_paths is a keyword and contains the paths that do not modify the art::Event,
49  #ie analyzers and output streams. these all run simultaneously
50  end_paths: [stream1]
51 }
52 
53 #block to define where the output goes. if you defined a filter in the physics
54 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
55 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
56 outputs:
57 {
58  out1:
59  {
60  module_type: RootOutput
61  fileName: "%ifb_g4.root"
62  dataTier: "simulated"
63  compressionLevel: 1
64  }
65 }
66 
67 services.LArG4Parameters.MinNumberOfElCluster: 20
68 services.LArG4Parameters.EnabledPhysics: [
69  "Em",
70  "FastOptical",
71  "SynchrotronAndGN",
72  "Ion",
73  "Hadron",
74  "Decay",
75  "HadronElastic",
76  "Stopping"
77  ]
78 services.LArG4Parameters.KeepEMShowerDaughters: false
79 
80 services.PhotonVisibilityService.DoNotLoadLibrary: false
81 services.PhotonVisibilityService.Interpolate: false
82 services.PhotonVisibilityService.LibraryBuildJob: false
83 services.PhotonVisibilityService.LibraryFile: "PhotonPropagation/LibraryData/libext_dunedphase3x1x1_lightsim_20171213.root"
84 services.PhotonVisibilityService.NX: 4
85 services.PhotonVisibilityService.NY: 4
86 services.PhotonVisibilityService.NZ: 12
87 services.PhotonVisibilityService.ParametrisedTimePropagation: true
88 services.PhotonVisibilityService.ParametrisedTimePropagationFittedFormula: "TMath::Exp([0]*x) + [2]*TMath::Exp([1]*x)"
89 services.PhotonVisibilityService.ParametrisedTimePropagationNParameters: 4
90 services.PhotonVisibilityService.UseCryoBoundary: false
91 services.PhotonVisibilityService.XMax: 50
92 services.PhotonVisibilityService.XMin: -50
93 services.PhotonVisibilityService.YMax: 50
94 services.PhotonVisibilityService.YMin: -50
95 services.PhotonVisibilityService.ZMax: 300
96 services.PhotonVisibilityService.ZMin: 0