pionanalysis.fcl
Go to the documentation of this file.
1 #include "BeamEvent.fcl"
2 #include "services_dune.fcl"
3 #include "RawDecoder.fcl"
4 
5 #include "ProtoDUNEDataUtils.fcl"
6 #include "ProtoDUNEBeamlineUtils.fcl"
7 #include "ProtoDUNEBeamlineReco.fcl"
8 #include "ProtoDUNEBeamCuts.fcl"
9 
10 #include "ProtoDUNEUnstableHVFilter.fcl"
11 #include "ProtoDUNEFembFilter.fcl"
12 #
13 #include "hitfindermodules_dune.fcl"
14 #include "filters.fcl"
15 #include "signalservices_dune.fcl"
16 #include "caldata_dune.fcl"
17 #include "trackfindermodules_dune.fcl"
18 #include "ecalibration.fcl"
19 #include "triggeralgo_service.fcl"
20 #include "photpropservices_dune.fcl"
21 #include "protodune_tools_dune.fcl"
22 
23 process_name: pionanalysis
24 
25 #proto_savesps:
26 #{
27 # module_type: "pionanalysis"
28 # SpacePointModuleLabel: "reco3d"
29 # BeamModuleLabel: "beamevent"
30 # TrackModuleLabel: "pandoraTrack"
31 # TimeDecoderModuleLabel: "timingrawdecoder:daq"
32 #}
33 
34 services:
35 {
36  #Load the service that manages root files for histograms.
37  TFileService: { fileName: "Beam.root" }
38 
39  TimeTracker: {}
40  MemoryTracker: {}
41  RandomNumberGenerator: {} #ART native random number generator
42  IFDH :{}
43 
44  #@table::protodune_services
45  @table::protodune_data_reco_services
46  message: @local::standard_info
47  message: @local::dune_message_services_prod_debug
48 
49  FileCatalogMetadata: @local::art_file_catalog_mc
50 }
51 
52 #source is now a root file
53 source:
54 {
55  module_type: RootInput
56  maxEvents: -1 # Number of events to create
57 }
58 
59 outputs:
60 {
61  out1:
62  {
63  module_type: RootOutput
64  fileName: "Beam.root" #default file name, can override from command line with -o or --output
65  dataTier: "reconstructed"
66  fastCloning: false
67  }
68 }
69 
70 physics:
71 {
72  producers:{
73  beamevent: @local::proto_beamevent
74  }
75  filters: {
76  f2: @local::pdsp_fembfilter_beamside
77  f1: @local::HVfilter
78  #f1: @local::standard_protodunebeamlinefilter_Proton_1GeV
79 
80  }
81 
82  #fpath: [f1, f2, f3]
83  fpath: [f1, f2] #for the mcc12 test sample v2, hv filter seemed not working
84 
85  analyzers:{
86  pionanalysis:
87  {
88  module_type: "pionanalysis"
89 
90  SpacePointModuleLabel: "reco3d"
91  BeamCuts: @local::Prod2BeamCuts
92  BeamlineUtils: @local::standard_protodunebeamlineutils
93  BeamModuleLabel: "beamevent"
94  TrackModuleLabel: "pandoraTrack"
95  TimeDecoderModuleLabel: "timingrawdecoder:daq"
96 
97  #CalorimetryTag: "pandoracalo"
98  CalorimetryTag: "pandoracaloSCE"
99  TrackerTag: "pandoraTrack"
100  ShowerTag: "pandoraShower"
101  PFParticleTag: "pandora"
102  GeneratorTag: "generator"
103  Verbose: true
104  DataUtils: @local::standard_protodunedatautils
105  #beamreco: @local::beamline_reco
106 
107  BeamPars: {
108  Momentum: 1.0
109  }
110 
111  SelectEvents: [fpath]
112  }
113  }
114 
115  reco: [beamevent]
116  trigger_paths: [reco,fpath]
117 
118  #define the producer and filter modules for this path, order matters,
119  #filters reject all following items. see lines starting physics.producers below
120  ana: [ pionanalysis ]
121 
122  #ana: []
123 
124  #define the output stream, there could be more than one if using filters
125  stream1: [ out1 ]
126 
127  #trigger_paths is a keyword and contains the paths that modify the art::event,
128  #ie filters and producers
129  #trigger_paths: [reco]
130 
131  #end_paths is a keyword and contains the paths that do not modify the art::Event,
132  #ie analyzers and output streams. these all run simultaneously
133  #end_paths: [ stream1, ana ]
134  end_paths: [ ana ]
135 }
136 
137 # define the list of LArSoft modules to run through the simulate path
138 #change TrackModuleLabel and CalorimetryModuleLabel here to "pmtrack" and "pmtrackcalo" or "pandoraTrack and pandoracalo" if required
139 #physics.analyzers.pionanalysis.TrackModuleLabel: "pmtrack"
140 #physics.analyzers.pionanalysis.CalorimetryModuleLabel: "pmtrackcalo"
141 #physics.analyzers.pionanalysis.HitsModuleLabel: "gaushit"
142 #physics.analyzers.pionanalysis.rawdecoderlabel: "beamevent"
143 
144 physics.analyzers.ana.SelectEvents: [fpath]
145 services.IFBeam: {}
146 #physics.filters.f1.BeamlineUtils.TOFOffset: 0.
147 #physics.filters.f1.BeamlineUtils.UseCERNCalibSelection: true
148 services.PdspChannelMapService: @local::pdspchannelmap
149 physics.analyzers.pionanalysis.BeamlineUtils.UseCERNCalibSelection: true
150 
151 
152 physics.analyzers.pionanalysis.TrackModuleLabel: "pandoraTrack"
153 #physics.analyzers.pionanalysis.CalorimetryModuleLabel: "pandoracalo"
154 physics.analyzers.pionanalysis.CalorimetryModuleLabel: "pandoracalo"
155 #physics.analyzers.pionanalysis.HitsModuleLabel: "linecluster"
156 physics.analyzers.pionanalysis.HitsModuleLabel: "hitpdune"
157 physics.analyzers.pionanalysis.SaveTrackInfo: true
158 
159 #physics.analyzers.pionanalysis.CalorimetryTag: "pandoracalo"
160 #physics.analyzers.pionanalysis.TrackerTag: "pandoraTrack"
161 #physics.analyzers.pionanalysis.ShowerTag: "pandoraShower"
162 #physics.analyzers.pionanalysis.PFParticleTag: "pandora"
163 #physics.analyzers.pionanalysis.PGeneratorTag:"generator"
164 #physics.analyzers.pionanalysis.Verbose: false
165 #physics.analyzers.pionanalysis.DataUtils: @local::standard_protodunedatautils
166 
167 
168 #services.SpaceCharge.EnableSimSpatialSCE: true
169 #services.SpaceCharge.EnableCorrSCE: true
170 #services.SpaceCharge.EnableSimEfieldSCE: true
171 #services.SpaceCharge.EnableSimulationSCE: true