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