All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
makelvdstrees_icarus.fcl
Go to the documentation of this file.
1 #
2 # File: makelvdstrees_icarus.fcl
3 # Purpose: Runs `icarus::trigger::MakeTriggerSimulationTree` module.
4 # Author: Gianluca Petrillo (petrillo@slac.stanford.edu)
5 # Date: May 16, 2020
6 #
7 # This is a top-level configuration that can be run directly.
8 #
9 # Required inputs
10 # ----------------
11 #
12 # * `generator` (`std::vector<simb::MCTruth>`): event generation information
13 # * `largeant:TPCActive` (`std::vector<sim::SimEnergyDeposits>`):
14 # energy deposition information
15 # * lvdsgates (`std::vector<icarus::trigger::TriggerGateData>`): LVDS gates
16 #
17 #
18 # Output
19 # -------
20 #
21 # In the `TFileService` output file:
22 #
23 # * `treegger/Treegger` (TTree): tree is produced in the `TFileService` output
24 # file
25 #
26 #
27 
29 #include "trigger_icarus.fcl"
30 
31 process_name: TrgTree
32 
33 
34 services: {
35 
36  # this provides: file service, random management (unused),
37  # Geometry, detector properties and clocks
38  @table::icarus_common_services
39 
40  # currently unused (remove the line if they start mattering):
41  LArPropertiesService: @erase
42  DetectorPropertiesService: @erase
43 
44 } # services
45 
46 
47 physics: {
48 
49  analyzers: {
50 
51  treegger: {
52 
53  module_type: MakeTriggerSimulationTree
54 
55  GeneratorTags: [ "generator" ]
56 
57  EnergyDepositTags: [ "largeant:TPCActive" ]
58 
59  TriggerGatesTag: "lvdsgates:40"
60 
61  # duration of the beam gate (BNB: 1.6 us; NuMI: 9.5 us)
62  BeamGateDuration: @local::BNB_settings.spill_duration # from trigger_icarus.fcl
63 
64  # name of the tree being created
65  EventTreeName: "Treegger"
66 
67  # message facility stream
68  LogCategory: "MakeTriggerSimulationTree"
69 
70  } # treegger
71 
72  } # analyzers
73 
74  trees: [ treegger ]
75 
76 } # physics
77 
78 
79 #
80 # add debug output to its own file
81 #
82 services.message.destinations.MakeTriggerSimulationTreeLog: {
83  type: file
84  filename: "MakeTriggerSimulationTree.log"
85  threshold: DEBUG
86  categories: {
87  MakeTriggerSimulationTree: { limit: -1 }
88  default: { limit: 0 }
89  }
90 } # services.messages.destinations.MakeTriggerSimulationTreeLog
91 
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 caloskimCalorimetryCryoE physics caloskimCalorimetryCryoW physics sequence::physics pathW services
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
* file
Definition: file_to_url.sh:69
BEGIN_PROLOG could also be dds filename
BEGIN_PROLOG BNB_settings
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 module_type
process_name analyzers
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name