standard_ana_dune35t.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "photpropservices_dune.fcl"
3 #include "opticaldetectormodules_dune.fcl"
4 #include "AnalysisTree.fcl"
5 #include "hitfindermodules_dune.fcl"
6 #include "disambigcheck.fcl"
7 
8 process_name: Mergeana
9 
10 services:
11 {
12  # Load the service that manages root files for histograms.
13  TFileService: { fileName: "ana_hist.root" }
14  MemoryTracker: {}
15  TimeTracker: {}
16  RandomNumberGenerator: {}
17  FileCatalogMetadata: @local::art_file_catalog_mc
18  @table::dune35t_simulation_services_legacy
19 }
20 #services.PhotonVisibilityService: @local::dune35t_photonvisibilityservice
21 #source is now a root file
22 source:
23 {
24  module_type: RootInput
25  maxEvents: 10 # Number of events to create
26 }
27 
28 # Define and configure some modules to do work on each event.
29 # First modules are defined; they are scheduled later.
30 # Modules are grouped by type.
31 physics:
32 {
33  analyzers:
34 {
35  pmtresponse: @local::dune35t_simphotoncounter
36  analysistree: @local::dune35t_analysistree
37  disambigcheck: @local::standard_disambigcheck
38 
39 }
40  #define the output stream, there could be more than one if using filters
41  stream1: [ out1 ]
42 
43  #define the producer and filter modules for this path, order matters,
44  #filters reject all following items. see lines starting physics.producers below
45  ana: [ analysistree ]
46 
47  #end_paths is a keyword and contains the paths that do not modify the art::Event,
48  #ie analyzers and output streams. these all run simultaneously
49  end_paths: [stream1,ana]
50 # end_paths: [stream1]
51 }
52 
53 #block to define where the output goes. if you defined a filter in the physics
54 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
55 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
56 outputs:
57 {
58  out1:
59  {
60  module_type: RootOutput
61  fileName: "%ifb_%tc_merged.root"
62  dataTier: "full-reconstructed"
63  compressionLevel: 1
64  fastCloning: false
65  }
66 }
67 
68 ### Here, we overwrite ALL module Labels with the ones defined above.
69