All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
prodsingle_fastoptical_sbnd.fcl
Go to the documentation of this file.
2 #include "singles_sbnd.fcl"
3 #include "largeantmodules_sbnd.fcl"
4 #include "detsimmodules_sbnd.fcl"
5 #include "mccheatermodules.fcl"
9 
10 
11 process_name: SinglesGen
12 
13 services:
14 {
15  # Load the service that manages root files for histograms.
16  TFileService: { fileName: "single_hist_sbnd.root" }
17  Timing: {}
18  RandomNumberGenerator: {} #ART native random number generator
19 #user: @local::sbnd_opsimulation_services
20  user: @local::sbnd_simulation_services
21 }
22 services.user.PhotonVisibilityService: @local::sbnd_photonvisibilityservice
23 services.user.OpDigiProperties: @local::sbnd_opdigiproperties
24 
25 services.user.PhotonVisibilityService.LibraryFile: "photonlibrary_temp.root"
26 
27 #Generation specific voxelization
28 services.user.PhotonVisibilityService.NX: 40
29 services.user.PhotonVisibilityService.NY: 80
30 services.user.PhotonVisibilityService.NZ: 100
31 
32 #Start each new event with an empty event.
33 source:
34 {
35  module_type: EmptyEvent
36  maxEvents: 5 # Number of events to create
37  firstRun: 1 # Run number to use for this file
38  firstEvent: 1 # number of first event in the file
39 }
40 
41 # Define and configure some modules to do work on each event.
42 # First modules are defined; they are scheduled later.
43 # Modules are grouped by type.
44 physics:
45 {
46 
47  producers:
48  {
49  generator: @local::sbnd_singlep
50  largeant: @local::sbnd_largeant
52  backtrack: @local::standard_backtrackerloader
53  opdigi: @local::sbnd_opdigi
54  rns: {module_type: "RandomNumberSaver"}
55  }
56 
57  analyzers:
58  {
59  largana: @local::sbnd_largeantana
60  pmtresponse: @local::sbnd_simphotoncounter
61  opdigiana: @local::sbnd_opdigiana
62  }
63 
64  #define the producer and filter modules for this path, order matters,
65  #filters reject all following items. see lines starting physics.producers below
67  analyzeIt: [ largana, pmtresponse, opdigiana ]
68  #define the output stream, there could be more than one if using filters
69  stream1: [ out1 ]
70 
71  #trigger_paths is a keyword and contains the paths that modify the art::event,
72  #ie filters and producers
74 
75  #end_paths is a keyword and contains the paths that do not modify the art::Event,
76  #ie analyzers and output streams. these all run simultaneously
78 }
79 
80 #block to define where the output goes. if you defined a filter in the physics
81 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
82 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
83 outputs:
84 {
85  out1:
86  {
87  module_type: RootOutput
88  fileName: "single_gen_sbnd.root" #default file name, can override from command line with -o or --output
89  }
90 }
91 
92 # set quantum efficiency supressed scint yield to 0.03 * 24000
93 services.user.LArPropertiesService.ScintYield: 24000
94 
95 # enable optical physics in LArG4
96 services.user.LArG4Parameters.EnabledPhysics: [ "Em",
97  "FastOptical",
98  "SynchrotronAndGN",
99  "Ion",
100  "Hadron",
101  "Decay",
102  "HadronElastic",
103  "Stopping",
104  "NeutronTrackingCut" ]
105 
106 # enable this custom physics list
107 services.user.LArG4Parameters.UseCustomPhysics: true
108 
109 # disable cerenkov light
110 services.user.LArPropertiesService.EnableCerenkovLight: false
111 
112 
113 
114 physics.producers.generator.P0: [1. ]
115 physics.producers.generator.X0: [100. ]
116 physics.producers.generator.Y0: [0. ]
117 physics.producers.generator.Z0: [-245. ]
118 physics.producers.generator.Theta0XZ: [0. ]
119 physics.producers.generator.Theta0YZ: [0. ]
120 
121 physics.analyzers.pmtresponse.MakeAllPhotonsTree: true
122 physics.analyzers.pmtresponse.MakeDetectedPhotonsTree: true
123 physics.analyzers.pmtresponse.MakeSimPhotonsTree: true
124 physics.analyzers.pmtresponse.MakeOpDetsTree: true
125 physics.analyzers.pmtresponse.MakeOpDetEventsTree: true
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
BEGIN_PROLOG pandoraTrackRangeCryoW pandoraTrackRangeCryoW rns
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
process_name opdigi
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
BEGIN_PROLOG sbnd_simwire
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
process_name backtrack
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