All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
prodgenie_sbnd_proj.fcl
Go to the documentation of this file.
2 #include "largeantmodules_sbnd.fcl"
3 #include "detsimmodules_sbnd.fcl"
4 
5 process_name: GenieGen
6 
8 
9 {
10 
11  module_type: "GENIEGen"
12  PassEmptySpills: false
13  FluxType: "simple_flux" #mono, histogram, ntuple, or simple_flux
14  FluxFiles: ["gsimple_SBND_april07_baseline_z20_00001.root"] #name of file with flux histos
15  BeamName: "booster" #numi or booster at this point - really for bookkeeping
16  TopVolume: "volDetEnclosure" #volume in which to produce interactions
17  EventsPerSpill: 0. #set != 0 to get n events per spill
18  POTPerSpill: 5.e12 #should be obvious
19  MonoEnergy: 2. #in GEV
20  BeamCenter: [-1400., -350., 0.] #center of the beam in cm relative to detector coordinate origin, in meters for GENIE
21  BeamDirection: [0., 0., 1.] #all in the z direction
22  BeamRadius: 3. #in meters for GENIE
23  SurroundingMass: 0.0 #mass surrounding the detector to use
24  GlobalTimeOffset: 1.25e6 #in ns - 10000 means the spill appears 10 us into the readout window
25  RandomTimeOffset: 1600. #length of spill in ns
26  FiducialCut: "none" #fiducial cut, see https://cdcvs.fnal.gov/redmine/projects/nusoft/wiki/GENIEHelper
27  GenFlavors: [12,14,-12,-14] #pdg codes of flux generator neutrino flavors
28  Environment: ["GPRODMODE",
29  "YES",
30  "GEVGL", #GEVGL sets the type of interactions to make
31  "Default"] #Default is everything, can also do NC, CC, etc,
32  #see $GENIE/config/EventGeneratorListAssembler.xml
33  #for possible configuration options
34  ProductionMode: "yes" #turn off the GENIE verbosity
35  DetectorLocation: "MINOS-NearDet" #location name for flux window
36  MixerConfig: "none" #no flux mixing by default
37  #MixerConfig: "swap 12:16 14:16 -12:-16 -14:-16" # example flavor swapping
38  MixerBaseline: 0. #distance from tgt to flux window needs to be set if using histogram flx
39  DebugFlags: 0 #no debug flags on by default
40 
41 }
42 
43 
44 
45 services:
46 {
47  # Load the service that manages root files for histograms.
48  TFileService: { fileName: "genie_hist.root" }
49  IFDH: {} # required by GENIEGen
50  RandomNumberGenerator: {} #ART native random number generator
51  FileCatalogMetadata: @local::sbnd_file_catalog_mc
52  user: @local::sbnd_simulation_services
53 }
54 
55 #Start each new event with an empty event.
56 source:
57 {
58  module_type: EmptyEvent
59  maxEvents: 10 # Number of events to create
60  firstRun: 1 # Run number to use for this file
61  firstEvent: 1 # number of first event in the file
62 }
63 
64 # Define and configure some modules to do work on each event.
65 # First modules are defined; they are scheduled later.
66 # Modules are grouped by type.
67 physics:
68 {
69 
70  producers:
71  {
73  rns: { module_type: "RandomNumberSaver" }
74  }
75 
76  #define the producer and filter modules for this path, order matters,
77  #filters reject all following items. see lines starting physics.producers below
78  simulate: [ generator, rns ]
79 
80  #define the output stream, there could be more than one if using filters
81  stream1: [ out1 ]
82 
83  #trigger_paths is a keyword and contains the paths that modify the art::event,
84  #ie filters and producers
86 
87  #end_paths is a keyword and contains the paths that do not modify the art::Event,
88  #ie analyzers and output streams. these all run simultaneously
89  end_paths: [stream1]
90 }
91 
92 #block to define where the output goes. if you defined a filter in the physics
93 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
94 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
95 outputs:
96 {
97  out1:
98  {
99  module_type: RootOutput
100  dataTier: "generated"
101  fileName: "genie_gen.root" #default file name, can override from command line with -o or --output
102  }
103 }
104 
105 
106 services.user.FileCatalogMetadataExtras: @local::sbnd_file_catalog
107 services.user.FileCatalogMetadataExtras.Metadata: [ "group", "sbnd",
108  "fileFormat", "root",
109  "runType", "physics",
110  "fclName", "prodgenie_sbnd.fcl",
111  "fclVersion", "v1_5" ]
112 services.user.FileCatalogMetadataExtras.RenameTemplate: "prodgenie_sbnd_${CLUSTER 0}_${PROCESS 0}.root"
BEGIN_PROLOG PassEmptySpills
Definition: genie.fcl:8
services RandomNumberGenerator
BEGIN_PROLOG or simple_flux see Environment
Definition: genie.fcl:8
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
var pdg
Definition: selectors.fcl:14
BEGIN_PROLOG histogram
Definition: genie.fcl:8
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
BEGIN_PROLOG or simple_flux BeamRadius
Definition: genie.fcl:8
do source
* file
Definition: file_to_url.sh:69
BEGIN_PROLOG BeamName
process_name showerreco Particles Coinciding wih the Vertex services ScanOptions nu_mu NC
physics producers generator FiducialCut
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
meter meters
Alias for common language habits.
Definition: spacetime.h:403
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
BEGIN_PROLOG standard_genie
Definition: genie.fcl:8
BEGIN_PROLOG or simple_flux BeamDirection
Definition: genie.fcl:8
BEGIN_PROLOG ntuple
Definition: genie.fcl:8
double distance(geo::Point_t const &point, CathodeDesc_t const &cathode)
Returns the distance of a point from the cathode.
BEGIN_PROLOG or simple_flux FluxFiles
Definition: genie.fcl:8
BEGIN_PROLOG or simple_flux see https
Definition: genie.fcl:8
BEGIN_PROLOG Ave chg rms true true true set to to turn off had been working not really
process_name or simple_flux see Default ProductionMode
physics simulate
process_name showerreco Particles Coinciding wih the Vertex services ScanOptions nu_mu CC
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 but batches in spill RandomTimeOffset
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM6O6 effSlidingORW output
float mass
Definition: dedx.py:47
physics producers generator GenFlavors
then echo fcl name
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian larg4Main stream1
Definition: multigen.fcl:18
process_name or simple_flux see GEVGL
then echo find_global_symbol finds mangled or demangled symbols in libraries echo within LD_LIBRARY_PATH match any symbol that echo contains name echo Default
process_name showerreco Particles Coinciding wih the Vertex services ScanOptions nu_mu services ScanOptions Number
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
constexpr Point origin()
Returns a origin position with a point of the specified type.
Definition: geo_vectors.h:227
process_name sequence::icarus_reco_cluster3d physics trigger_paths
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name