All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
prodsingle_full_optical_electronic.fcl
Go to the documentation of this file.
3 #include "singles_icarus.fcl"
6 #include "mccheatermodules.fcl"
7 #include "photpropservices.fcl"
10 #include "backtrackerservice.fcl"
11 
12 #include "opdetsim_pmt_icarus.fcl"
13 #include "wvfana.fcl"
14 #include "icaopthitfinder.fcl"
15 
17 
18 #include "mcreco.fcl"
19 
20 
21 process_name: SinglesGen
22 
23 services:
24 {
25  # Load the service that manages root files for histograms.
26  TFileService: { fileName: "single_hist_uboone.root" }
27  TimeTracker: {}
28  RandomNumberGenerator: {} #ART native random number generator
29  @table::icarus_simulation_services
30 
31  OpDetResponseInterface: @local::standard_opdetresponse
32 }
33 
34 #services.MemoryPeakReporter: @erase
35 #services.MemoryTracker: @erase
36 #services.TimeTracker: @erase
37 
38 services.PhotonVisibilityService: @local::sbnd_timeparametrization_photonvisibilityservice
39 
40 services.PhotonVisibilityService.LibraryFile: "PhotonLibrary-20180801.root"
41 
42 
43 services.PhotonVisibilityService.UseCryoBoundary: false
44 //version test_final
45 services.PhotonVisibilityService.XMin: -391
46 services.PhotonVisibilityService.XMax: -41
47 services.PhotonVisibilityService.YMin: -210
48 services.PhotonVisibilityService.YMax: 180
49 services.PhotonVisibilityService.ZMin: -995
50 services.PhotonVisibilityService.ZMax: 965
51 
52 services.PhotonVisibilityService.NX: 70
53 services.PhotonVisibilityService.NY: 78
54 services.PhotonVisibilityService.NZ: 392
55 
56 
57 services.DetectorClocksService.ClockSpeedOptical: 1000
58 
59 #Start each new event with an empty event.
60 source:
61 {
62  module_type: EmptyEvent
63  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
64  maxEvents: 1 # Number of events to create
65  firstRun: 1 # Run number to use for this file
66  firstEvent: 1 # number of first event in the file
67 }
68 
69 # Define and configure some modules to do work on each event.
70 # First modules are defined; they are scheduled later.
71 # Modules are grouped by type.
72 physics:
73 {
74 
75  producers:
76  {
78  largeant: @local::icarus_largeant
79  photprop: @local::photon_propogration_icarus
80  #daq: @local::icarus_simwire
81  backtrack: @local::standard_backtrackerloader
82  #opdaq: @local::icarus_simpmt
83  #ophit: @local::icarus_opthitfinder
84  rns: {module_type: "RandomNumberSaver"}
85  }
86 
87  analyzers:
88  {
89  largana: @local::standard_largeantana
90  pmtresponse: @local::standard_simphotoncounter
91  #wvfanalyzer: @local::wvf_ana_icarus
92  }
93 
94  #define the producer and filter modules for this path, order matters,
95  #filters reject all following items. see lines starting physics.producers below
97  #simulate: [ generator, largeant, photprop, daq, backtrack, opdaq, ophit, rns ]
98  #simulate: [ generator, largeant, daq, backtrack, opdaq, ophit, rns ]
99  analyzeIt: [ largana, pmtresponse]
100  #analyzeIt: [ largana, pmtresponse, wvfanalyzer]
101  #define the output stream, there could be more than one if using filters
102  stream1: [ out1 ]
103 
104  #trigger_paths is a keyword and contains the paths that modify the art::event,
105  #ie filters and producers
107 
108  #end_paths is a keyword and contains the paths that do not modify the art::Event,
109  #ie analyzers and output streams. these all run simultaneously
111 }
112 
113 #block to define where the output goes. if you defined a filter in the physics
114 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
115 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
116 outputs:
117 {
118  out1:
119  {
120  module_type: RootOutput
121  fileName: "single_gen_icarus.root" #default file name, can override from command line with -o or --output
122  }
123 }
124 
125 # set quantum efficiency supressed scint yield to 0.03 * 24000
126 # services.LArPropertiesService.ScintYield: 24000
127 services.LArPropertiesService.ScintPreScale: 1
128 
129 
130 
131 # enable optical physics in LArG4
132 services.LArG4Parameters.EnabledPhysics: [ "Em",
133  "FastOptical",
134  "SynchrotronAndGN",
135  "Ion",
136  "Hadron",
137  "Decay",
138  "HadronElastic",
139  "Stopping",
140  "NeutronTrackingCut" ]
141 
142 # enable this custom physics list
143 services.LArG4Parameters.UseCustomPhysics: true
144 
145 # disable cerenkov light
146 #services.DetectorPropertiesService.EnableCerenkovLight: false
147 
148 physics.producers.generator.PDG: [ 2212 ] # proton
149 
150 physics.producers.generator.Y0: [ 0 ]
151 physics.producers.generator.X0: [ -100 ]
152 physics.producers.generator.Z0: [ 0 ]
153 physics.producers.generator.P0: [ 0.2 ]
154 
155 physics.producers.generator.SigmaX: [ 0 ] # x = (0, 256)
156 physics.producers.generator.SigmaY: [ 0 ] # y = (-116.5, 116.5)
157 physics.producers.generator.SigmaZ: [ 0 ] # z = (0, 1037)
158 
159 physics.producers.generator.Theta0XZ: [ 0. ] # y-azimuth
160 physics.producers.generator.Theta0YZ: [ 0. ] # y-latitude
161 physics.producers.generator.SigmaThetaXZ: [ 0. ] # Quasi-isotropic
162 physics.producers.generator.SigmaThetaYZ: [ 0. ]
163 
164 #services.PhotonVisibilityService.IncludePropTime: true
165 #services.PhotonVisibilityService.D_max: 750
166 #services.PhotonVisibilityService.T0_max: 55
167 
168 #physics.producers.generator.FillTree: true
169 
170 physics.analyzers.pmtresponse.InputModule: photprop
171 
172 physics.analyzers.pmtresponse.MakeAllPhotonsTree: true
173 physics.analyzers.pmtresponse.MakeDetectedPhotonsTree: true
174 physics.analyzers.pmtresponse.MakeSimPhotonssTree: true
175 physics.analyzers.pmtresponse.MakeEventsTree: true
176 # physics.analyzers.pmtresponse.MakeLightAnalysisTree: true
177 
services RandomNumberGenerator
process_name opflash particleana ie ie ie z
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 photprop
BEGIN_PROLOG pandoraTrackRangeCryoW pandoraTrackRangeCryoW rns
process_name largeant analyzeIt
process_name opflash particleana ie x
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
process_name opflash particleana ie ie y
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
BEGIN_PROLOG icarus_singlep
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