All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
prodsingle_common_sbnd.fcl
Go to the documentation of this file.
1 #
2 # File: prodsingle_common_sbnd.fcl
3 # Purpose: Base configuration for the generation of single particle
4 # Version: 1.1
5 #
6 # This configuration runs event generation only.
7 #
8 # Input: no input file required
9 #
10 #
11 # Changes:
12 # 20160707 (petrillo@fnal.gov) [v1.1]
13 # - uniformed to prodsingle_sbnd.fcl
14 #
15 
16 #
17 # services
18 #
19 
20 #include "services_sbnd.fcl"
21 
22 #
23 # algorithms
24 #
25 
26 #include "singles_sbnd.fcl"
27 
28 process_name: SinglesGen
29 
30 services:
31 {
32  @table::sbnd_basic_services
33  @table::sbnd_random_services
34  TFileService: { fileName: "hists_prodeminus_0.1_0.9_sbnd_%p-%tc.root" }
35  FileCatalogMetadata: @local::sbnd_file_catalog_mc
36 }
37 
38 #Start each new event with an empty event.
39 source:
40 {
41  module_type: EmptyEvent
42  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
43  maxEvents: 10 # Number of events to create
44  firstRun: 1 # Run number to use for this file
45  firstEvent: 1 # number of first event in the file
46 }
47 
48 # Define and configure some modules to do work on each event.
49 # First modules are defined; they are scheduled later.
50 # Modules are grouped by type.
51 physics:
52 {
53 
54  producers:
55  {
56  generator: @local::sbnd_singlep
57  rns: { module_type: "RandomNumberSaver" }
58  }
59 
60  #define the producer and filter modules for this path, order matters,
61  #filters reject all following items. see lines starting physics.producers below
63 
64  #define the output stream, there could be more than one if using filters
65  stream1: [ out1 ]
66 
67  #trigger_paths is a keyword and contains the paths that modify the art::event,
68  #ie filters and producers
70 
71  #end_paths is a keyword and contains the paths that do not modify the art::Event,
72  #ie analyzers and output streams. these all run simultaneously
73  end_paths: [stream1]
74 }
75 
76 #block to define where the output goes. if you defined a filter in the physics
77 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
78 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
79 outputs:
80 {
81  out1:
82  {
83  module_type: RootOutput
84  fileName: "prodeminus_0.1_0.9_sbnd_%p-%tc.root"
85  dataTier: "generated"
86  compressionLevel: 1
87  }
88 }
89 
90 physics.producers.generator.X0: [ 0.0 ]
91 physics.producers.generator.Y0: [ 0.0 ]
92 physics.producers.generator.Z0: [ -42. ]
93 physics.producers.generator.T0: [ 0 ] # ns (relative to beam gate time)
94 physics.producers.generator.SigmaX: [ 5.0 ] # x = (0, 256)
95 physics.producers.generator.SigmaY: [ 5.5 ] # y = (-116.5, 116.5)
96 physics.producers.generator.SigmaZ: [ 0 ] # z = (0, 1037)
97 physics.producers.generator.SigmaT: [ 0.0 ] # In time
98 physics.producers.generator.AngleDist: 0 # Flat angle dist.
99 physics.producers.generator.Theta0XZ: [ 0. ] # y-azimuth
100 physics.producers.generator.Theta0YZ: [ 0. ] # y-latitude
101 physics.producers.generator.SigmaThetaXZ: [ 10. ] # Quasi-isotropic
102 physics.producers.generator.SigmaThetaYZ: [ 10. ]
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
BEGIN_PROLOG pandoraTrackRangeCryoW pandoraTrackRangeCryoW rns
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
process_name can override from command line with o or output dataTier
Definition: runPID.fcl:28
#define the
process_name physics producers generator hPHist_pi physics producers generator physics producers generator SigmaX
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
constexpr double dist(const TReal *x, const TReal *y, const unsigned int dimension)
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian larg4Main stream1
Definition: multigen.fcl:18
finds tracks best matching by angle
TH2 * Flat(double level, const Surface &s)
Helper function for the gaussian approximation surfaces.
process_name showerreco Particles Coinciding wih the Vertex services ScanOptions nu_mu services ScanOptions Number
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