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 #include "FlashHypothesis.h"
18 
19 namespace opdet{
20 
22 
23  public:
24 
26 
27  float CompareByError(const FlashHypothesis&,
28  const std::vector<float>&,
29  std::vector<float>&);
31  const std::vector<float>&,
32  std::vector<float>&);
33  float CompareByFraction(const std::vector<float>&,
34  const std::vector<float>&,
35  std::vector<float>&);
36  void GetPosition(const std::vector<float>&,
37  const std::vector<float>&,
38  float&, float&);
39  void GetPosition(const std::vector<float>&,
40  const std::vector<float>&,
41  double&, double&);
42 
43  private:
44 
45  };
46 
47 }
48 
49 #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 > &)