1 #include "services_dune.fcl"
2 #include "backtrackerservice.fcl"
3 #include "particleinventoryservice.fcl"
5 #include "largeantmodules.fcl"
6 #include "detsimmodules.fcl"
7 #include "opticaldetectormodules_dune.fcl"
8 #include "opticaldetectorservices_dune.fcl"
9 #include "photolibbuild_services_dune.fcl"
10 #include "photpropservices_dune.fcl"
11 #include "lightsource.fcl"
14 process_name: LibraryBuild
22 # Load the service that manages root files for histograms.
23 TFileService: { fileName: "PhotonLibraryFile_dune4APA.root" }
25 RandomNumberGenerator: {} #ART native random number generator
26 @table::dune35t_photolibbuild_services
27 message: @local::standard_info
28 BackTrackerService: @local::dunefd_backtrackerservice # defined in backtrackerservice.fcl
29 ParticleInventoryService: @local::dunefd_particleinventoryservice # defined in backtrackerservice.fcl
33 services.Geometry.GDML: "dune4apa36deg.gdml"
34 services.Geometry.ROOT: "dune4apa36deg.gdml"
35 services.Geometry.SortingParameters.DetectorVersion: "dune4apa36deg"
37 services.OpDetResponseInterface.LongAxis: z
39 #Start each new event with an empty event.
42 module_type: EmptyEvent
43 maxEvents: 60 # Number of events to create
44 firstRun: 1 # Run number to use for this file
45 firstEvent: 1 # number of first event in the file
48 # Define and configure some modules to do work on each event.
49 # First modules are defined; they are scheduled later.
50 # Modules are grouped by type.
56 generator: @local::standard_lightsource
57 largeant: @local::standard_largeant
62 pmtresponse: @local::dune35t_simphotoncounter # defined in opticaldetectormodules.fcl
65 #define the producer and filter modules for this path, order matters,
66 #filters reject all following items. see lines starting physics.producers below
67 simulate: [ generator, largeant ]
68 analyzeIt: [ pmtresponse ]
69 #define the output stream, there could be more than one if using filters
72 #trigger_paths is a keyword and contains the paths that modify the art::event,
73 #ie filters and producers
74 trigger_paths: [simulate]
76 #end_paths is a keyword and contains the paths that do not modify the art::Event,
77 #ie analyzers and output streams. these all run simultaneously
78 end_paths: [analyzeIt, stream1]
81 #block to define where the output goes. if you defined a filter in the physics
82 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
83 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
88 module_type: RootOutput
89 fileName: "opticallibrary_dune35t.root" #default file name, can override from command line with -o or --output
96 ##### Parameter changes for the generator (lightsource) #####
98 # do not allow lightsource to write output into root file
99 physics.producers.generator.FillTree: false
101 ##### Parameter changes for the pmt respnse analyzer (simphotoncounter) #####
103 physics.analyzers.pmtresponse.MakeAllPhotonsTree: false
104 physics.analyzers.pmtresponse.MakeDetectedPhotonsTree: false
105 physics.analyzers.pmtresponse.MakeOpDetsTree: false
106 physics.analyzers.pmtresponse.MakeOpDetEventsTree: false
109 # To disable wireplane absorption, uncomment this line
110 #services.LArG4Parameters.OpticalParamModels: ["TransparentPlaneAction"]
114 #services.PhotonVisibilityService.NX: 30
115 #services.PhotonVisibilityService.NY: 30
116 #services.PhotonVisibilityService.NZ: 30
117 #physics.producers.generator.FirstVoxel: 1000
118 #physics.producers.generator.LastVoxel: 1020
119 #physics.producers.generator.N: 500
121 #physics.analyzers.pmtresponse.Verbosity: 3
123 physics.producers.generator.N: 10000
127 services.PhotonVisibilityService.NX: 1
128 services.PhotonVisibilityService.NY: 3
129 services.PhotonVisibilityService.NZ: 20
131 services.PhotonVisibilityService.UseCryoBoundary: false
133 # IF UseCryoBoundary is set to false, so use the following parameters in cm
134 services.PhotonVisibilityService.XMin: -3.
135 services.PhotonVisibilityService.XMax: -1.
136 services.PhotonVisibilityService.YMin: 5.
137 services.PhotonVisibilityService.YMax: 15.
138 services.PhotonVisibilityService.ZMin: 0.
139 services.PhotonVisibilityService.ZMax: 520.