All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
prodsingle_fastoptical2.fcl
Go to the documentation of this file.
2 #include "singles_sbnd.fcl"
3 #include "largeantmodules_sbnd.fcl"
4 #include "detsimmodules_sbnd.fcl"
7 #include "lightsource_sbnd.fcl"
9 
10 process_name: LibraryBuild
11 
12 
13 
14 
15 
16 services:
17 {
18  # Load the service that manages root files for histograms.
19  TFileService: { fileName: "PhotonLibraryFile.root" }
20  Timing: {}
21  RandomNumberGenerator: {} #ART native random number generator
22  FileCatalogMetadata: @local::sbnd_file_catalog_mc
23 #user: @local::sbnd_opsimulation_services
24  user: @local::sbnd_simulation_services
25 }
26 
27 
28 services.user.PhotonVisibilityService: @local::standard_photonvisibilityservice_buildlib
29 services.user.PhotonVisibilityService.DoNotLoadLibrary: true
30 services.user.PhotonVisibilityService.LibraryBuildJob: true
31 services.user.PhotonVisibilityService.UseCryoBoundary: false
32 services.user.PhotonVisibilityService.XMin: 1
33 services.user.PhotonVisibilityService.XMax: 199
34 services.user.PhotonVisibilityService.YMin: -199
35 services.user.PhotonVisibilityService.YMax: 199
36 services.user.PhotonVisibilityService.ZMin: 1
37 services.user.PhotonVisibilityService.ZMax: 499
38 
39 
40 services.user.PhotonVisibilityService.NX: 40
41 services.user.PhotonVisibilityService.NY: 80
42 services.user.PhotonVisibilityService.NZ: 100
43 
44 services.user.Geometry.GDML: "sbnd.gdml"
45 
46 #services.user.sbnd_simulation_services.OpDetResponseInterface: @local::sbnd_opdetresponse
47 #services.user.BackTracker: ""
48 #services.user.LArFFT: ""
49 #services.user.SignalShapingServiceT1034: ""
50 
51 #Start each new event with an empty event.
52 source:
53 {
54  module_type: EmptyEvent
55  maxEvents: 32000 # Number of events to create
56  firstRun: 1 # Run number to use for this file
57  firstEvent: 1 # number of first event in the file
58 }
59 
60 # Define and configure some modules to do work on each event.
61 # First modules are defined; they are scheduled later.
62 # Modules are grouped by type.
63 physics:
64 {
65 
66  producers:
67  {
68  generator: @local::sbnd_lightsource
69  largeant: @local::sbnd_largeant
70  }
71 
72  analyzers:
73  {
74  pmtresponse: @local::sbnd_simphotoncounter
75  }
76 
77  #define the producer and filter modules for this path, order matters,
78  #filters reject all following items. see lines starting physics.producers below
81  #define the output stream, there could be more than one if using filters
82  stream1: [ ]
83 
84  #trigger_paths is a keyword and contains the paths that modify the art::event,
85  #ie filters and producers
87 
88  #end_paths is a keyword and contains the paths that do not modify the art::Event,
89  #ie analyzers and output streams. these all run simultaneously
91 }
92 
93 physics.producers.generator.FirstVoxel: 0
94 physics.producers.generator.LastVoxel: 320000
95 physics.producers.generator.N: 200000
96 
97 
98 #block to define where the output goes. if you defined a filter in the physics
99 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
100 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
101 #outputs:
102 #{
103 # out1:
104 # {
105 # module_type: RootOutput
106 # fileName: "single_gen_sbnd.root" #default file name, can override from command line with -o or --output
107 # Tier: "generated"
108 # }
109 #}
110 
111 # Begin optical specific parts:
112 
113 # set quantum efficiency supressed scint yield to 0.03 * 24000
114 services.user.LArPropertiesService.ScintYield: 72
115 
116 # enable optical physics in LArG4
117 services.user.LArG4Parameters.EnabledPhysics: [ "Em",
118  "Optical",
119  "SynchrotronAndGN",
120  "Ion",
121  "Hadron",
122  "Decay",
123  "HadronElastic",
124  "Stopping",
125  "NeutronTrackingCut" ]
126 
127 # enable this custom physics list
128 services.user.LArG4Parameters.UseCustomPhysics: true
129 
130 # do not allow lightsource to write output into root file
131 physics.producers.generator.FillTree: true
132 physics.analyzers.pmtresponse.MakeAllPhotonsTree: true
133 physics.analyzers.pmtresponse.MakeDetectedPhotonsTree: true
134 physics.analyzers.pmtresponse.MakeSimPhotonsTree: true
135 physics.analyzers.pmtresponse.MakeTimePhotonsTree: false
136 
137 
services RandomNumberGenerator
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 caloskimCalorimetryCryoE physics caloskimCalorimetryCryoW physics sequence::physics pathW services
process_name largeant analyzeIt
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
do source
* file
Definition: file_to_url.sh:69
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
#define the
process_name larg4outtime largeant
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
physics simulate
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 module_type
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian larg4Main stream1
Definition: multigen.fcl:18
process_name analyzers
process_name showerreco Particles Coinciding wih the Vertex services ScanOptions nu_mu services ScanOptions Number
process_name rns pmtresponse
process_name sequence::icarus_reco_cluster3d physics trigger_paths
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name