All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
recreatetree_timed_tracks_icarus_magic.fcl
Go to the documentation of this file.
1 #
2 # File: recreatetree_timed_tracks_icarus_magic.fcl
3 # Purpose: Store selected timed tracks with energy estimation and trigger
4 # emulation into flat ROOT trees.
5 # Authors: Animesh Chatterjee (ANC238@pitt.edu),
6 # Gianluca Petrillo (petrillo@slac.stanford.edu),
7 # Jacob Zettlemoyer (jzettle@fnal.gov)
8 # Date: July 29, 2022
9 #
10 # This is a variation of `createtree_timed_tracks_icarus.fcl` intended to be
11 # run on the art/ROOT file output of
12 # `magic_raw_to_triggeremu_icarus_Run1_data.fcl` job.
13 # The main differences compared to running on Stage1 files are that calorimetry
14 # is already saved, and dropping the data products can't be based on process
15 # name any more.
16 #
17 # Here only the trigger emulation is rerun.
18 # The emulation window extraction is also rerun (even if it's available from
19 # the input tree).
20 # If the windowing also needs to be reperformed, the
21 # `triggeremu_data_config_icarus.simulationPrepXxxx` sequences needs to be added
22 # to the paths `selectionX`. There is not enough information in the input files
23 # to rerun the discrimination.
24 # Also optical hit information is not saved, so re-reconstructing the optical
25 # sector is also not possible.
26 #
27 
29 
30 
31 # ------------------------------------------------------------------------------
32 process_name: TrgEmuAgain
33 
34 
35 # ------------------------------------------------------------------------------
36 source.inputCommands: [
37  "keep *"
38  , "drop *_gatesFromTracks*_*_*"
39  , "drop simTiled*_*_*_*", "drop simSliding*_*_*_*"
40 ]
41 
42 
43 # ------------------------------------------------------------------------------
44 physics.analyzers.t0TreeStoreE.CaloProducer: "caloskimCalorimetryCryoE"
45 physics.analyzers.t0TreeStoreW.CaloProducer: "caloskimCalorimetryCryoW"
46 
47 physics.selectionE: [
48  "gatesFromTracksE", @sequence::triggeremu_data_config_icarus.simulationEast
49  ]
50 physics.selectionW: [
51  "gatesFromTracksW", @sequence::triggeremu_data_config_icarus.simulationWest
52  ]
53 
54 physics.trigger_paths: [ selectionE, selectionW ]
55 
56 
57 # ------------------------------------------------------------------------------
58 # no need for ROOT output at this time:
59 outputs.rootoutput.outputCommands: @erase
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
do source
BEGIN_PROLOG gatesFromTracksW selectionE
process_name drop *_gatesFromTracks *_ *_ drop simTiled *_ *_ *_ drop simSliding *_ *_ *_ *physics analyzers t0TreeStoreE sequence::triggeremu_data_config_icarus simulationEast physics selectionW
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name