2 #include "seedservice.fcl"
5 #include "DetectorClocks.fcl"
6 #include "DetectorProperties.fcl"
7 #include "GArProperties.fcl"
8 #include "ECALProperties.fcl"
9 #include "Geometry.fcl"
10 #include "RunHistory.fcl"
11 #include "BackTracker.fcl"
14 #include "IonizationReadout.fcl"
15 #include "RawDigitAna.fcl"
16 #include "SiPMReadout.fcl"
18 process_name: DetReadout
22 # Load the service that manages root files for histograms.
23 TFileService: { fileName: "readoutsim_hist.root" }
25 RandomNumberGenerator: {} #ART native random number generator
26 #See Geometry.fcl for the list of geometries available
27 GeometryGAr: @local::nd_hall_mpd_only_SPYv3_geo
28 GeometryGArConfigurationWriter: {}
29 ExptGeoHelperInterface: @local::standard_geometry_helper
30 DetectorClocks: @local::standard_clocks
31 DetectorProperties: @local::standard_detproperties
32 GArProperties: @local::standard_garproperties
33 ECALProperties: @local::standard_ecalproperties
34 NuRandomService: @local::standard_NuRandomService
35 MagneticField: @local::standard_mag_garsoft
36 BackTracker: @local::standard_backtracker
37 #RunHistory: @local::standard_runhistory
41 #Start each new event with an empty event.
44 module_type: RootInput
47 # Define and configure some modules to do work on each event.
48 # First modules are defined; they are scheduled later.
49 # Modules are grouped by type.
55 daq: @local::standard_ionizationreadout
56 daqsipm: @local::standard_sipmreadout
57 daqsipmmuid: @local::standard_sipmreadout_muid
58 rns: { module_type: "RandomNumberSaver"}
62 #daqana: @local::standard_rawdigitana
65 #define the producer and filter modules for this path, order matters,
66 #filters reject all following items. see lines starting physics.producers below
67 simulate: [ daq, daqsipm, daqsipmmuid, rns ]
69 #define the output stream, there could be more than one if using filters
70 #stream1: [ daqana, out1 ]
73 #trigger_paths is a keyword and contains the paths that modify the ::art::event,
74 #ie filters and producers
75 trigger_paths: [ simulate ]
79 #block to define where the output goes. if you defined a filter in the physics
80 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
81 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
86 module_type: RootOutput
87 fileName: "readoutsim.root" #default file name, can override from command line with -o or --output