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