LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
WireCreator.h
Go to the documentation of this file.
1 
10 #ifndef WIRECREATOR_H
11 #define WIRECREATOR_H
12 
13 // C/C++ standard library
14 #include <utility> // std::move()
15 
16 // LArSoft libraries
17 #include "larcoreobj/SimpleTypesAndConstants/RawTypes.h" // raw::ChannelID_t
18 #include "larcoreobj/SimpleTypesAndConstants/geo_types.h" // geo::View_t
20 
21 namespace raw {
22  class RawDigit;
23 }
24 
26 namespace recob {
27 
55  class WireCreator {
56  public:
59 
60  // destructor, copy and move constructor and assignment as default
61 
70  WireCreator(const RegionsOfInterest_t& sigROIlist, const raw::RawDigit& rawdigit);
71 
82  WireCreator(RegionsOfInterest_t&& sigROIlist, const raw::RawDigit& rawdigit);
83 
93  WireCreator(RegionsOfInterest_t const& sigROIlist, raw::ChannelID_t channel, geo::View_t view);
94 
106  WireCreator(RegionsOfInterest_t&& sigROIlist, raw::ChannelID_t channel, geo::View_t view);
107 
122  Wire&& move() { return std::move(wire); }
123 
138  const Wire& copy() const { return wire; }
139 
140  protected:
142 
143  }; // class WireCreator
144 
145 } // namespace recob
146 
147 #endif // WIRECREATOR_H
Collection of charge vs time digitized from a single readout channel.
Definition: RawDigit.h:68
Reconstruction base classes.
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
Wire wire
local instance of the wire being constructed
Definition: WireCreator.h:141
Raw data description.
Definition: RawTypes.h:6
Wire && move()
Prepares the constructed wire to be moved away.
Definition: WireCreator.h:122
Class managing the creation of a new recob::Wire object.
Definition: WireCreator.h:55
const Wire & copy() const
Returns the constructed wire.
Definition: WireCreator.h:138
Definition of data types for geometry description.
Class holding the regions of interest of signal from a channel.
Definition: Wire.h:116
Declaration of basic channel signal object.
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Definition: RawTypes.h:28