All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mc_info_extraction.fcl
Go to the documentation of this file.
2 #include "MCTruthExtractor.fcl"
3 
4 process_name: NuAna
5 
6 ############ Stolen from uboone:
7 
8 # Standard configurations for art's built-in FileCatalogMetadata service.
9 # Metadata fields are standard, but values are still microboone-specific.
10 
11 sbnd_file_catalog:
12 {
13  # Note sam application name is taken from "process_name" fcl parameter in main job file.
14  applicationFamily: "art"
15  applicationVersion: "development"
16  group: "sbnd"
17  fileFormat: "root"
18  fileType: "unknown"
19 }
20 
21 sbnd_file_catalog_mc: @local::sbnd_file_catalog
22 sbnd_file_catalog_mc.fileType: "mc"
23 
24 sbnd_file_catalog_data: @local::sbnd_file_catalog
25 sbnd_file_catalog_data.fileType: "data"
26 
27 
28 sbnd_file_catalog:
29 {
30  Metadata: [ "group", "sbnd", # This field should move to FileCatalogMetadata.
31  "fileFormat", "root", # This field should move to FileCatalogMetadata.
32  "fclName", "",
33  "fclVersion", "",
34  "projectName", "",
35  "projectStage", "",
36  "projectVersion", "" ]
38  CopyMetadataAttributes: [ "fileType", "runType" ]
39  RenameTemplate: ""
40  RenameOverwrite: true
41 }
42 
43 
44 
45 services:
46 {
47  # Load the service that manages root files for histograms.
48  TFileService: { fileName: "nuana_hist.root" }
49  Timing: {}
50  SimpleMemoryCheck: { ignoreTotal: 1 } # default is one
51  RandomNumberGenerator: {} #ART native random number generator
52  FileCatalogMetadata: @local::sbnd_file_catalog_mc
53  user: @local::sbnd_simulation_services
54 }
55 
56 #Start each new event with an empty event.
57 source:
58 {
59  module_type: RootInput
60  maxEvents: 10 # Number of events to create
61  firstRun: 1 # Run number to use for this file
62  firstEvent: 1 # number of first event in the file
63 }
64 
65 # Define and configure some modules to do work on each event.
66 # First modules are defined; they are scheduled later.
67 # Modules are grouped by type.
68 physics:
69 {
70 
71  producers:
72  {
73  # rns: { module_type: "RandomNumberSaver" }
74  }
75  analyzers:
76  {
77  nuana: @local::standard_nuana
78 
79  }
80 
81  #define the producer and filter modules for this path, order matters,
82  #filters reject all following items. see lines starting physics.producers below
83  ana: [nuana]
84  #define the output stream, there could be more than one if using filters
85  stream1: [ out1 ]
86 
87  #trigger_paths is a keyword and contains the paths that modify the art::event,
88  #ie filters and producers
90 
91  #end_paths is a keyword and contains the paths that do not modify the art::Event,
92  #ie analyzers and output streams. these all run simultaneously
94 }
95 
96 #block to define where the output goes. if you defined a filter in the physics
97 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
98 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
99 outputs:
100 {
101  out1:
102  {
103  module_type: RootOutput
104  dataTier: "generated"
105  fileName: "nuana.root" #default file name, can override from command line with -o or --output
106  }
107 }
108 
109 physics.analyzers.nuana.FullOsc: "true" #use true or false
services RandomNumberGenerator
process_name standard_reco_uboone v1_3 services FileCatalogMetadataExtras RenameTemplate
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 drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
process_name fileFormat
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 opflashCryoW ana
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
BEGIN_PROLOG standard_nuana
then echo echo For and will not be changed by echo further linking echo echo B echo The symbol is in the uninitialized data multiple common symbols may appear with the echo same name If the symbol is defined the common echo symbols are treated as undefined references For more echo details on common see the discussion of warn common echo in *Note Linker see the discussion of warn common echo in *Note Linker such as a global int variable echo as opposed to a large global array echo echo I echo The symbol is an indirect reference to another symbol This echo is a GNU extension to the a out object file format which is echo rarely used echo echo N echo The symbol is a debugging symbol echo echo R echo The symbol is in a read only data section echo echo S echo The symbol is in an uninitialized data section for small echo objects echo echo T echo The symbol is in the the normal defined echo symbol is used with no error When a weak undefined symbol echo is linked and the symbol is not the value of the echo weak symbol becomes zero with no error echo echo W echo The symbol is a weak symbol that has not been specifically echo tagged as a weak object symbol When a weak defined symbol echo is linked with a normal defined the normal defined echo symbol is used with no error When a weak undefined symbol echo is linked and the symbol is not the value of the echo weak symbol becomes zero with no error echo echo echo The symbol is a stabs symbol in an a out object file In echo this the next values printed are the stabs other field
physics simulate
then echo Cowardly refusing to create a new FHiCL file with the same name as the original one('${SourceName}')." >&2 exit 1 fi echo "'$
process_name GeneratePerFileMetadata
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
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