All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FlashUtilities.h
Go to the documentation of this file.
1 #ifndef FLASHUTILITIES_H
2 #define FLASHUTILITIES_H
3 
4 /*!
5  * Title: FlashUtilities Class
6  * Author: Wes Ketchum (wketchum@lanl.gov)
7  *
8  * Description:
9  * Class that contains utility functions for flash and flash hypotheses:
10  * --- compare a flash hypothesis to a truth or reco vector
11  * --- get an extent of a flash (central point, width)
12  * These classes should operate using simple objects, and will need other
13  * classes/functions to fill those vectors properly.
14 */
15 
16 #include <vector>
17 
18 namespace opdet{
19 
20  class FlashHypothesis;
21 
23 
24  public:
25 
27 
28  float CompareByError(const FlashHypothesis&,
29  const std::vector<float>&,
30  std::vector<float>&);
32  const std::vector<float>&,
33  std::vector<float>&);
34  float CompareByFraction(const std::vector<float>&,
35  const std::vector<float>&,
36  std::vector<float>&);
37  void GetPosition(const std::vector<float>&,
38  const std::vector<float>&,
39  float&, float&);
40  void GetPosition(const std::vector<float>&,
41  const std::vector<float>&,
42  double&, double&);
43 
44  private:
45 
46  };
47 
48 }
49 
50 #endif
float CompareByFraction(const FlashHypothesis &, const std::vector< float > &, std::vector< float > &)
void GetPosition(const std::vector< float > &, const std::vector< float > &, float &, float &)
float CompareByError(const FlashHypothesis &, const std::vector< float > &, std::vector< float > &)