runProtoUtilExample.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "UtilityExample.fcl"
3 #include "ProtoDUNETruthBeamParticle.fcl"
4 
5 process_name: testUtils
6 
7 services:
8 {
9  # Load the service that manages root files for histograms.
10  TFileService: { fileName: "trackUtils.root" }
11  TimeTracker: {}
12  MemoryTracker: {}
13  RandomNumberGenerator: {} #ART native random number generator
14  message: @local::dune_message_services_prod_debug
15  FileCatalogMetadata: @local::art_file_catalog_mc
16  @table::protodune_services
17 }
18 services.message.destinations.LogStandardOut.threshold: "INFO"
19 
20 #source is now a root file
21 source:
22 {
23  module_type: RootInput
24  maxEvents: -1
25  fileNames: ["input_file.root"]
26 }
27 
28 physics:
29 {
30  analyzers:
31  {
32  trkUtil: @local::proto_util_example
33  beamtruth: @local::ProtoDUNETruthBeamParticle_params
34  }
35 
36  ana2: [ trkUtil, beamtruth ]
37 
38  end_paths: [ ana2 ]
39 }
40