runPID.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "calorimetry_dune10kt.fcl"
3 
4 process_name: LArPID
5 
6 services:
7 {
8  # Load the service that manages root files for histograms.
9  TFileService: { fileName: "ntuple.root" }
10  TimeTracker: {}
11  MemoryTracker: { } # default is one
12  @table::dunefd_services
13 }
14 
15 
16 ### Define input file format
17 source:
18 {
19  module_type: RootInput
20 }
21 
22 ### Define output file format
23 outputs:
24 {
25  out1:
26  {
27  module_type: RootOutput
28  fileName: "standard_pid.root" #default file name, can override from command line with -o or --output
29  dataTier: "full-reconstructed"
30  }
31 }
32 
33 ### Define the modules and create chains
34 physics:
35 {
36  producers:{
37  pid: {
38  module_type: "MVAPID"
39  HitLabel: "linecluster"
40  TrackLabel: "pandora"
41  ShowerLabel: "pandora"
42  SpacePointLabel: "pandora"
43  CalorimetryAlg: @local::dune10kt_calorimetryalgmc
44  MVAMethods: [ "electron","muon","photon","pich","proton" ]
45  WeightFiles: [ "mvapid_weights/electron_all_BDT.weights.xml",
46  "mvapid_weights/muon_all_BDT.weights.xml",
47  "mvapid_weights/photon_all_BDT.weights.xml",
48  "mvapid_weights/pich_all_BDT.weights.xml",
49  "mvapid_weights/proton_all_BDT.weights.xml" ]
50  }
51 }
52 
53  ### Set up a chain of Producer modules
54  reco: [ pid ]
55 
56  ### Set up the output stream
57  stream1: [ out1 ]
58 
59  ### Set up the trigger paths (these are the modules that modify the event)
60  trigger_paths: [ reco ]
61 
62  ### Set up the end paths (these are the modules that do not modify the event)
63  end_paths: [ stream1 ]
64 }