LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
PedAlgoUB.h
Go to the documentation of this file.
1 
15 #ifndef larana_OPTICALDETECTOR_PEDALGOUB_H
16 #define larana_OPTICALDETECTOR_PEDALGOUB_H
17 
18 #include "PMTPedestalBase.h"
19 namespace fhicl {
20  class ParameterSet;
21 }
22 
23 #include "PedAlgoRmsSlider.h"
24 
25 #include <string>
26 
27 namespace pmtana {
28 
33  class PedAlgoUB : public PMTPedestalBase {
34 
35  public:
37  PedAlgoUB(const std::string name = "PedCD");
38 
40  PedAlgoUB(const fhicl::ParameterSet& pset,
41  //PedAlgoUB(const ::fcllite::PSet &pset,
42  const std::string name = "PedAlgoUB");
43 
44  protected:
46  bool ComputePedestal(const pmtana::Waveform_t& wf,
47  pmtana::PedestalMean_t& mean_v,
48  pmtana::PedestalSigma_t& sigma_v);
49 
50  private:
51  //m PedAlgoRollingMean _beamgatealgo;
53  unsigned int _beam_gate_samples;
54  };
55 }
56 #endif
57  // end of doxygen group
std::vector< double > PedestalSigma_t
PedAlgoRmsSlider _beamgatealgo
Definition: PedAlgoUB.h:52
Class definition file of PMTPedestalBase.
unsigned int _beam_gate_samples
Definition: PedAlgoUB.h:53
parameter set interface
std::vector< short > Waveform_t
Class definition file of PedAlgoRmsSlider.
std::vector< double > PedestalMean_t