LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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
21 
22 
24 namespace recob {
25 
53  class WireCreator {
54  public:
57 
58  // destructor, copy and move constructor and assignment as default
59 
69  (const RegionsOfInterest_t& sigROIlist, const raw::RawDigit& rawdigit);
70 
71 
83  (RegionsOfInterest_t&& sigROIlist, const raw::RawDigit& rawdigit);
84 
85 
96  RegionsOfInterest_t const& sigROIlist,
97  raw::ChannelID_t channel,
98  geo::View_t view
99  );
100 
101 
113  WireCreator(
114  RegionsOfInterest_t&& sigROIlist,
115  raw::ChannelID_t channel,
116  geo::View_t view
117  );
118 
133  Wire&& move() { return std::move(wire); }
134 
135 
150  const Wire& copy() const { return wire; }
151 
152  protected:
153 
155 
156  }; // class WireCreator
157 
158 } // namespace recob
159 
160 #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:154
Definition of basic raw digits.
lar::sparse_vector< float > RegionsOfInterest_t
a region of interest is a pair (TDC offset, readings)
Definition: Wire.h:83
Wire && move()
Prepares the constructed wire to be moved away.
Definition: WireCreator.h:133
Class managing the creation of a new recob::Wire object.
Definition: WireCreator.h:53
WireCreator(const RegionsOfInterest_t &sigROIlist, const raw::RawDigit &rawdigit)
Constructor: uses specified signal in regions of interest.
Definition: WireCreator.cxx:30
const Wire & copy() const
Returns the constructed wire.
Definition: WireCreator.h:150
Definition of data types for geometry description.
Class holding the deconvoluted signals from a channel.
Definition: Wire.h:80
Declaration of basic channel signal object.
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Definition: RawTypes.h:27