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"
10 process_name: LibraryBuild
15 # Load the service that manages root files for histograms.
16 TFileService: { fileName: "PhotonLibraryFile_dunefd.root" }
18 RandomNumberGenerator: {} #ART native random number generator
19 @table::dunefd_simulation_services
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
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
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
45 #Start each new event with an empty event.
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
60 generator: @local::dunefd_lightsource
61 largeant: @local::dunefd_largeant
66 pmtresponse: @local::dunefd_simphotoncounter
69 simulate: [ generator, largeant ]
70 analyzeIt: [ pmtresponse ]
73 trigger_paths: [simulate]
75 end_paths: [analyzeIt, stream1]
82 module_type: RootOutput
83 fileName: "single_dunefd_build.root" #default file name, can override from command line with -o or --output
87 # Begin optical specific parts:
89 # set quantum efficiency supressed scint yield to 0.03 * 24000
90 services.LArPropertiesService.ScintYield: 72
92 # enable optical physics in LArG4
93 services.LArG4Parameters.EnabledPhysics: [ "Em",
101 "NeutronTrackingCut" ]
103 # enable this custom physics list
104 services.LArG4Parameters.UseCustomPhysics: true
106 # do not allow lightsource to write output into root file
107 physics.producers.generator.FillTree: false
110 physics.analyzers.pmtresponse.MakeAllPhotonsTree: false
111 physics.analyzers.pmtresponse.MakeDetectedPhotonsTree: false
112 physics.analyzers.pmtresponse.MakeSimPhotonssTree: false
113 physics.analyzers.pmtresponse.MakeEventsTree: false