All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RiseTimeCalculatorBase.h
Go to the documentation of this file.
1 /**
2  * \file RiseTimeCalculatorBase.h
3  *
4  *
5  * \brief Interfacce class for a tool to calculate the pulse rise time
6  *
7  * @author Fran Nicolas, June 2022
8  */
9 
10 
11 #ifndef RISETIMECALCULATORBASE_H
12 #define RISETIMECALCULATORBASE_H
13 
15 
16 namespace pmtana
17 {
19 
20  public:
21  // Default destructor
22  virtual ~RiseTimeCalculatorBase() noexcept = default;
23 
24  // Method to calculate the OpFlash t0
25  virtual double RiseTime(const pmtana::Waveform_t& wf_pulse,
26  const pmtana::PedestalMean_t& ped_pulse,
27  bool _positive) const = 0;
28 
29  private:
30 
31  };
32 }
33 
34 #endif
std::vector< short > Waveform_t
virtual double RiseTime(const pmtana::Waveform_t &wf_pulse, const pmtana::PedestalMean_t &ped_pulse, bool _positive) const =0
virtual ~RiseTimeCalculatorBase() noexcept=default
std::vector< double > PedestalMean_t