All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
prova_source.fcl
Go to the documentation of this file.
1 #include "singles.fcl"
2 #include "largeantmodules.fcl"
3 #include "detsimmodules.fcl"
4 #include "mccheatermodules.fcl"
5 #include "photpropservices.fcl"
8 #include "lightsource.fcl"
9 # #include "services_common_icarus.fcl"
11 
12 process_name: ProvaSource
13 
14 services:
15 {
16  # Load the service that manages root files for histograms.
17  TFileService: { fileName: "Source_histo.root" }
18  TimeTracker: {}
19  RandomNumberGenerator: {} #ART native random number generator
20  @table::icarus_g4_services
21  OpDetResponse: @local::standard_opdetresponse
22 }
23 
24 services.PhotonVisibilityService: @local::standard_photonvisibilityservice
25 
26 services.SignalShapingServiceICARUS: @erase
27 
28 services.LArG4Parameters.ReflectiveSurfaceNames: [
29  "STEEL_STAINLESS_Fe7Cr2Ni"
30  ]
31 services.LArG4Parameters.ReflectiveSurfaceReflectances: [
32  [
33  1.5e-8,
34  1.5e-8,
35  1.5e-8
36  ]
37  ]
38 
39 #Start each new event with an empty event.
40 source:
41 {
42  module_type: EmptyEvent
43  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
44  maxEvents: 1 # Number of events to create
45  firstRun: 1 # Run number to use for this file
46  firstEvent: 1 # number of first event in the file
47 }
48 
49 # Define and configure some modules to do work on each event.
50 # First modules are defined; they are scheduled later.
51 # Modules are grouped by type.
52 physics:
53 {
54 
55  producers:
56  {
57  generator: @local::standard_lightsource
58  largeant: @local::standard_largeant
59  }
60 
61  analyzers:
62  {
63  pmtresponse: @local::standard_simphotoncounter
64  }
65 
66  #define the producer and filter modules for this path, order matters,
67  #filters reject all following items. see lines starting physics.producers below
70  #analyzeIt: []
71  #define the output stream, there could be more than one if using filters
72  stream1: [out1]
73 
74  #trigger_paths is a keyword and contains the paths that modify the art::event,
75  #ie filters and producers
77 
78  #end_paths is a keyword and contains the paths that do not modify the art::Event,
79  #ie analyzers and output streams. these all run simultaneously
81 
82 }
83 
84 #block to define where the output goes. if you defined a filter in the physics
85 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
86 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
87 outputs:
88 {
89  out1:
90  {
91  module_type: RootOutput
92  fileName: "prova_source_icarus.root" #default file name, can override from command line with -o or --output
93  }
94 }
95 
96 # Begin optical specific parts:
97 
98 #physics.producers.generator.SteeringFile: "LightSourceSteering.txt"
99 
100 #physics.producers.generator.T0: 0
101 #physics.producers.generator.SigmaT: 0.0
102 physics.producers.generator.N: 100000
103 #physics.producers.generator.FirstVoxel: 0
104 #physics.producers.generator.LastVoxel: -1
105 #physics.producers.generator.P: 9.7
106 #physics.producers.generator.SigmaP: 0.0
107 
108 physics.producers.generator.UseCustomRegion: true
109 
110 physics.producers.generator.XSteps: 1
111 physics.producers.generator.YSteps: 1
112 physics.producers.generator.ZSteps: 1
113 physics.producers.generator.RegionMin: [ -160 , -16 , 0 ]
114 physics.producers.generator.RegionMax: [ -159 , -15 , 1 ]
115 
116 
117 # set quantum efficiency supressed scint yield to 0.03 * 24000
118 #services.DetectorPropertiesService.ScintYield: 72
119 #services.DetectorPropertiesService.ScintYield: 1440
120 
121 # enable optical physics in LArG4
122 services.LArG4Parameters.EnabledPhysics: [ "Em",
123  "Optical",
124  "SynchrotronAndGN",
125  "Ion",
126  "Hadron",
127  "Decay",
128  "HadronElastic",
129  "Stopping",
130  "NeutronTrackingCut" ]
131 
132 # enable this custom physics list
133  services.LArG4Parameters.UseCustomPhysics: true
134 
135 # do not allow lightsource to write output into root file
136  physics.producers.generator.FillTree: true
137 
138 
139 physics.analyzers.pmtresponse.MakeAllPhotonsTree: true
140 physics.analyzers.pmtresponse.MakeDetectedPhotonsTree: true
141 physics.analyzers.pmtresponse.MakeSimPhotonssTree: true
142 physics.analyzers.pmtresponse.MakeEventsTree: 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
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
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