prodsingle_dunefd_buildoplib.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "detsimmodules_dune.fcl"
5 #include "opticaldetectormodules_dune.fcl"
6 #include "photpropservices_dune.fcl"
7 #include "lightsource_dune.fcl"
8 
9 
10 process_name: LibraryBuild
11 
12 
13 services:
14 {
15  # Load the service that manages root files for histograms.
16  TFileService: { fileName: "PhotonLibraryFile_dunefd.root" }
17  TimeTracker: {}
18  RandomNumberGenerator: {} #ART native random number generator
19  @table::dunefd_simulation_services
20 }
21 
22 # Use the build pset, with BuildLibraryFile set to true. Don't use the
23 # cryo boundary since each cryostat is divided into 3 sections for 10kt
24 services.PhotonVisibilityService: @local::standard_photonvisibilityservice_buildlib
25 services.PhotonVisibilityService.UseCryoBoundary: false
26 
27 # UseCryoBoundary is set to false, so use the following parameters.
28 # For now, set equal to first APA yz-slice, will need adjustment
29 services.PhotonVisibilityService.XMin: -1597.11
30 services.PhotonVisibilityService.XMax: -1121.12
31 services.PhotonVisibilityService.YMin: -702.5
32 services.PhotonVisibilityService.YMax: 702.5
33 services.PhotonVisibilityService.ZMin: -0.75
34 services.PhotonVisibilityService.ZMax: 2534.25
35 
36 # Number of voxels, will need adjustment
37 # The following are the uB numbers for now
38 services.PhotonVisibilityService.NX: 75
39 services.PhotonVisibilityService.NY: 75
40 services.PhotonVisibilityService.NZ: 400
41 
42 
43 services.LArFFT: ""
44 
45 #Start each new event with an empty event.
46 source:
47 {
48  module_type: EmptyEvent
49  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
50  maxEvents: 2 # Number of events to create
51  firstRun: 1 # Run number to use for this file
52  firstEvent: 1 # number of first event in the file
53 }
54 
55 physics:
56 {
57 
58  producers:
59  {
60  generator: @local::dunefd_lightsource
61  largeant: @local::dunefd_largeant
62  }
63 
64  analyzers:
65  {
66  pmtresponse: @local::dunefd_simphotoncounter
67  }
68 
69  simulate: [ generator, largeant ]
70  analyzeIt: [ pmtresponse ]
71  stream1: [ ]
72 
73  trigger_paths: [simulate]
74 
75  end_paths: [analyzeIt, stream1]
76 }
77 
78 outputs:
79 {
80  out1:
81  {
82  module_type: RootOutput
83  fileName: "single_dunefd_build.root" #default file name, can override from command line with -o or --output
84  }
85 }
86 
87 # Begin optical specific parts:
88 
89 # set quantum efficiency supressed scint yield to 0.03 * 24000
90 services.LArPropertiesService.ScintYield: 72
91 
92 # enable optical physics in LArG4
93 services.LArG4Parameters.EnabledPhysics: [ "Em",
94  "Optical",
95  "SynchrotronAndGN",
96  "Ion",
97  "Hadron",
98  "Decay",
99  "HadronElastic",
100  "Stopping",
101  "NeutronTrackingCut" ]
102 
103 # enable this custom physics list
104 services.LArG4Parameters.UseCustomPhysics: true
105 
106 # do not allow lightsource to write output into root file
107 physics.producers.generator.FillTree: false
108 
109 
110 physics.analyzers.pmtresponse.MakeAllPhotonsTree: false
111 physics.analyzers.pmtresponse.MakeDetectedPhotonsTree: false
112 physics.analyzers.pmtresponse.MakeSimPhotonssTree: false
113 physics.analyzers.pmtresponse.MakeEventsTree: false