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_protoDune.root" }
25 RandomNumberGenerator: {} #ART native random number generator
26 message: @local::standard_info
27 @table::dunefd_photolibbuild_services
28 BackTrackerService: @local::dunefd_backtrackerservice # defined in backtrackerservice.fcl
29 ParticleInventoryService: @local::dunefd_particleinventoryservice # defined in backtrackerservice.fcl
33 services.Geometry.GDML: "protodune_v4.gdml"
34 services.Geometry.ROOT: "protodune_v4.gdml"
35 services.Geometry.SortingParameters.DetectorVersion: "dune10kt_v1"
37 services.OpDetResponseInterface.LongAxis: z
39 #Start each new event with an empty event.
42 module_type: EmptyEvent
43 maxEvents: 2 # 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::dunefd_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: "notused.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"]
115 services.PhotonVisibilityService.NX: 100
116 services.PhotonVisibilityService.NY: 100
117 services.PhotonVisibilityService.NZ: 100
119 # New IU Radiator Parameters from arXiv:1710.11233
120 services.OpDetResponseInterface.LambdaShort: 4.3 # cm
121 services.OpDetResponseInterface.LambdaLong: 225.0 # cm
122 services.OpDetResponseInterface.FracShort: 0.29
123 services.OpDetResponseInterface.FracLong: 0.71