1 #include "services_microboone.fcl"
2 #include "backtrackerservice.fcl"
3 #include "particleinventoryservice.fcl"
4 #include "singles_microboone.fcl"
5 #include "largeantmodules_microboone.fcl"
6 #include "detsimmodules_microboone.fcl"
7 #include "opticaldetectormodules_microboone.fcl"
8 #include "lightsource.fcl"
11 process_name: LibraryBuild
16 # Load the service that manages root files for histograms.
17 TFileService: { fileName: "PhotonLibraryFile.root" }
19 RandomNumberGenerator: {} #ART native random number generator
20 @table::microboone_simulation_services
21 BackTrackerService: @local::microboone_backtracker # defined in backtrackerservice.fcl
22 ParticleInventoryService: @local::standard_particleinventoryservice # defined in backtrackerservice.fcl
26 services.OpDetResponseInterface: @local::microboone_opdetresponse
29 #Start each new event with an empty event.
32 module_type: EmptyEvent
33 maxEvents: 240 # Number of events to create
34 firstRun: 1 # Run number to use for this file
35 firstEvent: 1 # number of first event in the file
38 # Define and configure some modules to do work on each event.
39 # First modules are defined; they are scheduled later.
40 # Modules are grouped by type.
46 generator: @local::microboone_lightsource
47 largeant: @local::microboone_largeant
52 pmtresponse: @local::microboone_simphotoncounter
55 #define the producer and filter modules for this path, order matters,
56 #filters reject all following items. see lines starting physics.producers below
57 simulate: [ generator, largeant ]
58 analyzeIt: [ pmtresponse ]
59 #define the output stream, there could be more than one if using filters
62 #trigger_paths is a keyword and contains the paths that modify the art::event,
63 #ie filters and producers
64 trigger_paths: [simulate]
66 #end_paths is a keyword and contains the paths that do not modify the art::Event,
67 #ie analyzers and output streams. these all run simultaneously
68 end_paths: [analyzeIt, stream1]
71 #block to define where the output goes. if you defined a filter in the physics
72 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
73 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
78 module_type: RootOutput
79 fileName: "single_gen_uboone.root" #default file name, can override from command line with -o or --output
83 # Begin optical specific parts:
85 # set quantum efficiency supressed scint yield to 0.03 * 24000
86 services.LArPropertiesService.ScintYield: 72
88 # enable optical physics in LArG4
89 services.LArG4Parameters.EnabledPhysics: [ "Em",
97 "NeutronTrackingCut" ]
99 # enable this custom physics list
100 services.LArG4Parameters.UseCustomPhysics: true
102 # do not allow lightsource to write output into root file
103 physics.producers.generator.FillTree: false
105 physics.analyzers.pmtresponse.MakeAllPhotonsTree: true
106 physics.analyzers.pmtresponse.MakeDetectedPhotonsTree: true
107 physics.analyzers.pmtresponse.MakeOpDetsTree: true
108 physics.analyzers.pmtresponse.MakeOpDetEventsTree: true
110 #services.Geometry.GDML: "TempGeometry/gdml/microboone.gdml"
112 # To disable wireplane absorption, uncomment this line
113 #services.LArG4Parameters.OpticalParamModels: ["TransparentPlaneAction"]
116 services.PhotonVisibilityService.UseCryoBoundary: true
118 services.PhotonVisibilityService.NX: 75
119 services.PhotonVisibilityService.NY: 75
120 services.PhotonVisibilityService.NZ: 400
122 services.Geometry.GDML: "microboonev10_opticalSim.gdml"
123 services.Geometry.Name: "microboonev10_opticalSim"
124 services.Geometry.ROOT: "microboonev10_opticalSim.gdml"
126 #services.PhotonVisibilityService.XMin: 100
127 #services.PhotonVisibilityService.XMax: 110
128 #services.PhotonVisibilityService.YMin: -50
129 #services.PhotonVisibilityService.YMax: -60
130 #services.PhotonVisibilityService.ZMin: 500
131 #services.PhotonVisibilityService.ZMax: 600
133 physics.producers.generator.FirstVoxel: 1000000
134 physics.producers.generator.LastVoxel: 1000239
135 physics.producers.generator.N: 30000
137 services.DetPedestalService.DetPedestalRetrievalAlg.UseDB: false
138 services.ChannelStatusService.ChannelStatusProvider.UseDB: false