LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
AlgoThreshold.h
Go to the documentation of this file.
1 
15 #ifndef ALGOTHRESHOLD_H
16 #define ALGOTHRESHOLD_H
17 
18 #include "PMTPulseRecoBase.h"
19 namespace fhicl {
20  class ParameterSet;
21 }
23 
24 #include <string>
25 
26 namespace pmtana {
27 
37 
38  public:
40  AlgoThreshold(const std::string name = "AlgoThreshold");
41 
44  std::unique_ptr<pmtana::RiseTimeCalculatorBase> risetimecalculator = nullptr,
45  const std::string name = "AlgoThreshold");
46  //AlgoThreshold(const ::fcllite::PSet &pset,const std::string name="AlgoThreshold");
47 
49  void Reset();
50 
51  protected:
53  bool RecoPulse(const pmtana::Waveform_t& wf,
54  const pmtana::PedestalMean_t& mean_v,
55  const pmtana::PedestalSigma_t& sigma_v);
56 
58  //double _adc_thres;
61 
63  //double _nsigma;
64  double _nsigma_start;
65  double _nsigma_end;
66  };
67 
68 }
69 #endif
70  // end of doxygen group
std::vector< double > PedestalSigma_t
ntupleExperimental Reset()
parameter set interface
std::vector< short > Waveform_t
double _nsigma_start
A variable holder for a multiplicative factor for the pedestal standard deviation to define the thres...
Definition: AlgoThreshold.h:64
Class definition file of PMTPulseRecoBase.
std::vector< double > PedestalMean_t
double _start_adc_thres
A variable holder for a user-defined absolute ADC threshold value.
Definition: AlgoThreshold.h:59