All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sbnd_buildopticallibrary.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"
8 
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  user: @local::sbnd_simulation_services
23 }
24 
25 
26 services.user.PhotonVisibilityService: @local::standard_photonvisibilityservice_buildlib
27 services.user.PhotonVisibilityService.DoNotLoadLibrary: true
28 services.user.PhotonVisibilityService.LibraryBuildJob: true
29 services.user.PhotonVisibilityService.UseCryoBoundary: false
30 services.user.PhotonVisibilityService.XMin: 0
31 services.user.PhotonVisibilityService.XMax: 200
32 services.user.PhotonVisibilityService.YMin: -200
33 services.user.PhotonVisibilityService.YMax: 200
34 services.user.PhotonVisibilityService.ZMin: 0
35 services.user.PhotonVisibilityService.ZMax: 365
36 
37 services.user.PhotonVisibilityService.NX: 3
38 services.user.PhotonVisibilityService.NY: 3
39 services.user.PhotonVisibilityService.NZ: 3
40 
41 services.user.Geometry.GDML: "sbnd.gdml"
42 
43 #services.user.BackTracker: ""
44 #services.user.LArFFT: ""
45 #services.user.SignalShapingServiceT1034: ""
46 
47 #Start each new event with an empty event.
48 source:
49 {
50  module_type: EmptyEvent
51  maxEvents: 27 # Number of events to create
52  firstRun: 1 # Run number to use for this file
53  firstEvent: 1 # number of first event in the file
54 }
55 
56 # Define and configure some modules to do work on each event.
57 # First modules are defined; they are scheduled later.
58 # Modules are grouped by type.
59 physics:
60 {
61 
62  producers:
63  {
64  generator: @local::sbnd_lightsource
65  largeant: @local::sbnd_largeant
66  }
67 
68  analyzers:
69  {
70  pmtresponse: @local::sbnd_simphotoncounter
71  }
72 
73  #define the producer and filter modules for this path, order matters,
74  #filters reject all following items. see lines starting physics.producers below
77  #define the output stream, there could be more than one if using filters
78  stream1: [ ]
79 
80  #trigger_paths is a keyword and contains the paths that modify the art::event,
81  #ie filters and producers
83 
84  #end_paths is a keyword and contains the paths that do not modify the art::Event,
85  #ie analyzers and output streams. these all run simultaneously
87 }
88 
89 #block to define where the output goes. if you defined a filter in the physics
90 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
91 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
92 outputs:
93 {
94  out1:
95  {
96  module_type: RootOutput
97  fileName: "single_gen_sbnd.root" #default file name, can override from command line with -o or --output
98  }
99 }
100 
101 # Begin optical specific parts:
102 
103 # set quantum efficiency supressed scint yield to 0.03 * 24000
104 services.user.LArPropertiesService.ScintYield: 72
105 
106 # enable optical physics in LArG4
107 services.user.LArG4Parameters.EnabledPhysics: [ "Em",
108  "Optical",
109  "SynchrotronAndGN",
110  "Ion",
111  "Hadron",
112  "Decay",
113  "HadronElastic",
114  "Stopping",
115  "NeutronTrackingCut" ]
116 
117 # enable this custom physics list
118 services.user.LArG4Parameters.UseCustomPhysics: true
119 
120 # do not allow lightsource to write output into root file
121 physics.producers.generator.FillTree: true #false
122 physics.analyzers.pmtresponse.MakeAllPhotonsTree: true #false
123 
124 #physics.analyzers.pmtresponse.UsePMTEff: true
125 #physics.analyzers.pmtresponse.WavelengthCutLow: 300
126 #physics.analyzers.pmtresponse.WavelengthCutHigh: 600
127 
128 physics.analyzers.pmtresponse.MakeDetectedPhotonsTree: true
129 physics.analyzers.pmtresponse.MakeSimPhotonssTree: true
130 #physics.analyzers.pmtresponse.MakeEventsTree: false
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
ProcessorBase *(* create)(void)
Definition: Loader.hh:30
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
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM6O6 effSlidingORW output
then echo fcl name
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
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
process_name sequence::icarus_reco_cluster3d physics trigger_paths
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name