conversionedepjob.fcl
Go to the documentation of this file.
1 #include "ConvertEdep2Art.fcl"
2 
3 #include "DetectorClocks.fcl"
4 #include "DetectorProperties.fcl"
5 #include "GArProperties.fcl"
6 #include "ECALProperties.fcl"
7 #include "Geometry.fcl"
8 
9 process_name: ConvertEdep2ArtProc
10 
11 services:
12 {
13 # Load the service that manages root files for histograms.
14 TFileService: { fileName: "convert_hist.root" }
15 TimeTracker: {}
16  #See Geometry.fcl for the list of geometries available
17 GeometryGAr: @local::nd_hall_mpd_only_SPYv3_geo
18 GeometryGArConfigurationWriter: {}
19 ExptGeoHelperInterface: @local::standard_geometry_helper
20 DetectorClocks: @local::standard_clocks
21 DetectorProperties: @local::standard_detproperties
22 GArProperties: @local::standard_garproperties
23 ECALProperties: @local::standard_ecalproperties
24 RandomNumberGenerator: {} #ART native random number generator
25 }
26 
27 # Define and configure some modules to do work on each event.
28 # First modules are defined; they are scheduled later.
29 # Modules are grouped by type.
30 physics:
31 {
32 producers:
33 {
34 edepconvert: @local::standard_edep2art
35 }
36 analyzers:
37 {
38 }
39 
40 #define the producer and filter modules for this path, order matters,
41 #filters reject all following items. see lines starting physics.producers below
42 simulate: [ edepconvert ]
43 
44 #define the output stream, there could be more than one if using filters
45 stream1: [ out1 ]
46 
47 #trigger_paths is a keyword and contains the paths that modify the ::art::event,
48 #ie filters and producers
49 trigger_paths: [ simulate ]
50 }
51 
52 #block to define where the output goes. if you defined a filter in the physics
53 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
54 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
55 outputs:
56 {
57 out1:
58 {
59 module_type: RootOutput
60 fileName: "convert_edepsim.root" # default name, override w/ -o --output
61 SelectEvents: [ simulate ]
62 }
63 }
64 
65 physics.producers.edepconvert.EDepSimFile: ""
66 physics.producers.edepconvert.GhepFile: ""
67 physics.producers.edepconvert.OverlayFile: false