LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ClusterCreator.h
Go to the documentation of this file.
1 
10 #ifndef CLUSTERCREATOR_H
11 #define CLUSTERCREATOR_H
12 
13 // C/C++ standard library
14 #include <utility> // std::move()
15 
16 // LArSoft libraries
19 
20 namespace util {
21  class GeometryUtilities;
22 }
23 
24 namespace cluster {
25 
26  class ClusterParamsAlgBase;
27 
47  public:
48  // destructor, copy and move constructor and assignment as default
49 
87  float start_wire,
88  float sigma_start_wire,
89  float start_tick,
90  float sigma_start_tick,
91  float end_wire,
92  float sigma_end_wire,
93  float end_tick,
94  float sigma_end_tick,
96  geo::View_t view,
97  geo::PlaneID const& plane,
99 
114  recob::Cluster&& move() { return std::move(cluster); }
115 
130  recob::Cluster const& copy() const { return cluster; }
131 
132  protected:
135 
171  recob::Cluster CreateCluster(util::GeometryUtilities const& gser,
172  ClusterParamsAlgBase& algo,
173  float start_wire,
174  float sigma_start_wire,
175  float start_tick,
176  float sigma_start_tick,
177  float end_wire,
178  float sigma_end_wire,
179  float end_tick,
180  float sigma_end_tick,
182  geo::View_t view,
183  geo::PlaneID const& plane,
185 
186  }; // class ClusterCreator
187 
188 } // namespace cluster
189 
190 #endif // CLUSTERCREATOR_H
Namespace for general, non-LArSoft-specific utilities.
Definition: PIDAAlg.h:26
Class managing the creation of a new recob::Cluster object.
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
recob::Cluster const & copy() const
Returns the constructed wire.
The data type to uniquely identify a Plane.
Definition: geo_types.h:463
recob::Cluster cluster
Local instance of the cluster being constructed.
Set of hits with a 2D structure.
Definition: Cluster.h:69
Cluster finding and building.
Type of sentry argument.
Definition: Cluster.h:167
static const SentryArgument_t Sentry
An instance of the sentry object.
Definition: Cluster.h:174
Algorithm collection class computing cluster parameters.
Declaration of cluster object.
Definition of data types for geometry description.
recob::Cluster && move()
Prepares the constructed hit to be moved away.
int ID_t
Type of cluster ID.
Definition: Cluster.h:72