All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FixedTriggerGateBuilderTool_tool.h
Go to the documentation of this file.
1 /**
2  * @file icaruscode/PMT/Trigger/FixedTriggerGateBuilderTool_tool.h
3  * @brief Toolization of `icarus::trigger::FixedTriggerGateBuilder`.
4  * @author Gianluca Petrillo (petrillo@slac.stanford.edu)
5  * @date April 1, 2019
6  * @see `icaruscode/PMT/Trigger/Algoritmhs/FixedTriggerGateBuilder.h`
7  *
8  */
9 
10 #ifndef ICARUSCODE_PMT_TRIGGER_FIXEDTRIGGERGATEBUILDERTOOL_TOOL_H
11 #define ICARUSCODE_PMT_TRIGGER_FIXEDTRIGGERGATEBUILDERTOOL_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 Fixed gate builder tool.
26  * @see `icarus::trigger::FixedTriggerGateBuilder`
27  */
30  {
31 
32  using Parameters =
33  art::ToolConfigTable<icarus::trigger::FixedTriggerGateBuilder::Config>;
34 
35  /// Constructor: sets the configuration.
37  : FixedTriggerGateBuilder(config()) {}
38 
39 
40  }; // class icarus::trigger::FixedTriggerGateBuilderTool
41 
42 
43  //----------------------------------------------------------------------------
44 
45 } // namespace icarus::trigger
46 
47 
48 //------------------------------------------------------------------------------
49 
50 
51 #endif // ICARUSCODE_PMT_TRIGGER_FIXEDTRIGGERGATEBUILDERTOOL_TOOL_H
FixedTriggerGateBuilderTool(Parameters const &config)
Constructor: sets the configuration.
art::ToolConfigTable< icarus::trigger::FixedTriggerGateBuilder::Config > Parameters
Fixed-length gate builder.