All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sbndcode/sbndcode/OpDetReco/OpFlash/FlashFinder/PECalib.h
Go to the documentation of this file.
1 /**
2  * \file PECalib.h
3  *
4  * \ingroup Algorithms
5  *
6  * \brief Class def header for a class PECalib
7  *
8  * @author drinkingkazu
9  */
10 /** \addtogroup UBFlashFinder
11  *
12  * @{*/
13 
14 #ifndef PECALIB_H
15 #define PECALIB_H
16 
17 #include "FlashFinderTypes.h"
19 #include <iostream>
20 #include <numeric>
21 #include <functional>
22 #include <algorithm>
23 
24 namespace lightana{
25 /**
26  \class PECalib
27  User defined class PECalib ... these comments are used to generate
28  doxygen documentation!
29  */
30 
31  class PECalib {
32 
33  public:
34 
35  /// Default constructor
36  PECalib();
37 
38  /// Default destructor
40 
41  void Configure(const Config_t &pset);
42 
43  double Calibrate(const size_t opdet, const double area) const;
44 
45  protected:
46 
47  std::vector<double> _spe_area_gain_v;
48  std::vector<double> _relative_qe_v;
49 
50  };
51 
52 }
53 #endif
54 /** @} */ // end of doxygen group
double Calibrate(const size_t opdet, const double area) const