All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
prodmarley_lariat.fcl
Go to the documentation of this file.
1 #include "marley.fcl"
2 #include "services_lariat.fcl"
3 #include "largeantmodules_lariat.fcl"
4 #include "detsimmodules_lariat.fcl"
5 
6 process_name: MarleyGen
7 
9 {
10  # Load the service that manages root files for histograms.
11  TFileService: { fileName: "marley_hist.root" }
12  TimeTracker: {}
13  RandomNumberGenerator: {} #ART native random number generator
14  @table::lariat_simulation_services
15 }
16 
17 
18 #Start each new event with an empty event.
19 source:
20 {
21  module_type: EmptyEvent
22  maxEvents: 100 # Number of events to create
23  firstRun: 1 # Run number to use for this file
24  firstEvent: 1 # number of first event in the file
25 }
26 
27 # Define and configure some modules to do work on each event.
28 # First modules are defined; they are scheduled later.
29 # Modules are grouped by type.
30 physics:
31 {
32 
33  producers:
34  {
35  generator: @local::standard_marley
36  # Track particles in the detector using Geant4
37  largeant: @local::lariat_largeant
38  # Simulate TPC wire responses
39  daq: @local::lariat_simwire
40  rns: { module_type: "RandomNumberSaver" }
41  }
42 
43  #define the producer and filter modules for this path, order matters,
44  #filters reject all following items.
45  #see lines starting physics.producers below
47 
48  #define the output stream, there could be more than one if using filters
49  stream1: [ out1 ]
50 
51  #ie analyzers and output streams. these all run simultaneously
52  end_paths: [stream1]
53 }
54 
55 #block to define where the output goes. if you defined a filter in the physics
56 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
57 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
58 outputs:
59 {
60  out1:
61  {
62  module_type: RootOutput
63  fileName: "marley_gen.root" #default file name, can override from command line with -o or --output
64  }
65 }
66 
67 # Adjustments to the standard LArG4 parameters
68 services.LArG4Parameters.ParticleKineticEnergyCut: 1.0e-5 # GeV
69 services.LArG4Parameters.StoreTrajectories: true
70 services.LArG4Parameters.KeepEMShowerDaughters: true
71 # Use NeutronHP data (very important for neutrino-induced neutron emission!)
72 # which is not enabled by default in LArSoft.
73 services.LArG4Parameters.UseCustomPhysics: true
74 services.LArG4Parameters.EnabledPhysics: [ "LowEnergyEm",
75  "SynchrotronAndGN",
76  "Ion",
77  "NeutronHP",
78  "Decay",
79  "HadronElastic",
80  "Stopping" ]
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
process_name larg4outtime largeant
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
A value measured in the specified unit.
Definition: quantities.h:566
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
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name