All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gencosmics_test.fcl
Go to the documentation of this file.
1 #
2 # File: gencosmics_test.fcl
3 # Brief: cosmic ray generation test with standard geometry
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: February 24th, 2015
6 # Version: 1.0
7 #
8 # Cosmic ray generation test, with a "neutral" geometry.
9 #
10 # Changes:
11 # 20150224 (petrillo@fnal.gov) [v1.0]
12 # original version from prodcosmics.fcl, with ArgoNeuT geometry
13 #
14 
15 #include "services_argoneut.fcl"
16 #include "cry.fcl"
17 
18 process_name: CosmicsGen
19 
20 services:
21 {
22  # Load the service that manages root files for histograms.
23  TFileService: { fileName: "cosmics_hist.root" }
24  TimeTracker: {}
25  RandomNumberGenerator: {} #ART native random number generator
26  @table::argoneut_simulation_services
27 }
28 
29 #Start each new event with an empty event.
30 source:
31 {
32  module_type: EmptyEvent
33  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
34  maxEvents: 10 # Number of events to create
35  firstRun: 1 # Run number to use for this file
36  firstEvent: 1 # number of first event in the file
37 }
38 
39 # Define and configure some modules to do work on each event.
40 # First modules are defined; they are scheduled later.
41 # Modules are grouped by type.
42 physics:
43 {
44 
45  producers:
46  {
47  generator: @local::argoneut_cry
48  rns: { module_type: "RandomNumberSaver" }
49  }
50 
51  #define the producer and filter modules for this path, order matters,
52  #filters reject all following items. see lines starting physics.producers below
54 
55  #define the output stream, there could be more than one if using filters
56  stream1: [ out1 ]
57 
58  #trigger_paths is a keyword and contains the paths that modify the art::event,
59  #ie filters and producers
61 
62  #end_paths is a keyword and contains the paths that do not modify the art::Event,
63  #ie analyzers and output streams. these all run simultaneously
65 }
66 
67 #block to define where the output goes. if you defined a filter in the physics
68 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
69 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
70 outputs:
71 {
72  out1:
73  {
74  module_type: RootOutput
75  fileName: "cosmics_gen.root" #default file name, can override from command line with -o or --output
76  }
77 }
78 
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 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
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 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