reweightanajob.fcl
Go to the documentation of this file.
1 #include "job/Reweight.fcl"
2 #include "job/services.fcl"
3 
4 services:
5 {
6  # Load the service that manages root files for histograms.
7  TFileService: { fileName: "histos_mcreweight.root" }
8  scheduler: { wantTracer: true wantSummary: true }
9  Timing: {}
10 
11  @table::standard_services
12 }
13 
14 source:
15 {
16  module_type: RootInput # Keep it like this unless you convert raw data files.
17  maxEvents: -1 #number of events to process, type -1 to process all events
18 }
19 
20 # Define and configure some modules to do work on each event.
21 # First modules are defined; they are scheduled later.
22 # Modules are grouped by type.
23 physics:
24 {
25 
26 
27  analyzers:
28  {
29  reweightana: @local::standard_reweightana
30  }
31 
32  mcana: [ reweightana ]
33  end_paths: [ mcana ]
34 }