All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DynamicTriggerGateBuilderTool_tool.h
Go to the documentation of this file.
1 /**
2  * @file icaruscode/PMT/Trigger/DynamicTriggerGateBuilderTool_tool.h
3  * @brief Toolization of `icarus::trigger::DynamicTriggerGateBuilder`.
4  * @author Gianluca Petrillo (petrillo@slac.stanford.edu)
5  * @date April 1, 2019
6  * @see `icaruscode/PMT/Trigger/Algoritmhs/DynamicTriggerGateBuilder.h`
7  *
8  */
9 
10 #ifndef ICARUSCODE_PMT_TRIGGER_DYNAMICTRIGGERGATEBUILDERTOOL_TOOL_H
11 #define ICARUSCODE_PMT_TRIGGER_DYNAMICTRIGGERGATEBUILDERTOOL_TOOL_H
12 
13 
14 // ICARUS libraries
16 
17 // framework libraries
18 #include "art/Utilities/ToolConfigTable.h"
19 
20 
21 namespace icarus::trigger {
22 
23  //----------------------------------------------------------------------------
24  /**
25  * @brief Dynamic gate builder tool.
26  * @see `icarus::trigger::DynamicTriggerGateBuilder`
27  */
30  {
31 
32  using Parameters =
33  art::ToolConfigTable<icarus::trigger::DynamicTriggerGateBuilder::Config>;
34 
35  /// Constructor: sets the configuration.
37  : DynamicTriggerGateBuilder(config()) {}
38 
39 
40  }; // class icarus::trigger::DynamicTriggerGateBuilderTool
41 
42 
43  //----------------------------------------------------------------------------
44 
45 } // namespace icarus::trigger
46 
47 
48 //------------------------------------------------------------------------------
49 
50 
51 #endif // ICARUSCODE_PMT_TRIGGER_DYNAMICTRIGGERGATEBUILDERTOOL_TOOL_H
DynamicTriggerGateBuilderTool(Parameters const &config)
Constructor: sets the configuration.
Dynamic gate builder.
art::ToolConfigTable< icarus::trigger::DynamicTriggerGateBuilder::Config > Parameters