EventUtilities.h
Go to the documentation of this file.
1 /**
2  * @file EventUtilities.h
3  *
4  * @brief Provides some basic functions operating in IEvent class objects
5  *
6  * @author usher@slac.stanford.edu
7  *
8  */
9 #ifndef EventUtilities_voronoi2d_h
10 #define EventUtilities_voronoi2d_h
11 
12 // Get the beach line definitions
14 
15 // std includes
16 #include <vector>
17 #include <algorithm>
18 //------------------------------------------------------------------------------------------------------------------------------------------
19 
20 namespace voronoi2d
21 {
22 using RootsPair = std::pair<double,double>;
23 
24 /**
25  * @brief Internal class definitions to facilitate construction of diagram
26  */
28 {
29 public:
30  double computeArcVal(const double, const double, const IEvent*) const;
31  double computeBreak(const double, const IEvent*, const IEvent*, RootsPair&) const;
32  bool newSiteToLeft(const IEvent*, const IEvent*, const IEvent*) const;
33 };
34 
35 } // namespace lar_cluster3d
36 #endif
bool newSiteToLeft(const IEvent *, const IEvent *, const IEvent *) const
Internal class definitions to facilitate construction of diagram.
double computeArcVal(const double, const double, const IEvent *) const
double computeBreak(const double, const IEvent *, const IEvent *, RootsPair &) const
std::pair< double, double > RootsPair