LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
PedAlgoRollingMean.h
Go to the documentation of this file.
1
15
#ifndef larana_OPTICALDETECTOR_PEDALGOROLLINGMEAN_H
16
#define larana_OPTICALDETECTOR_PEDALGOROLLINGMEAN_H
17
18
// STL
19
#include "
PMTPedestalBase.h
"
20
#include "
fhiclcpp/ParameterSet.h
"
21
//#include "FhiclLite/PSet.h"
22
23
namespace
pmtana
24
{
25
30
class
PedAlgoRollingMean
:
public
PMTPedestalBase
{
31
32
public
:
33
35
PedAlgoRollingMean
(
const
std::string name=
"PedRollingMean"
);
36
38
PedAlgoRollingMean
(
const
fhicl::ParameterSet
&pset,
const
std::string name=
"PedRollingMean"
);
39
//PedAlgoRollingMean(const ::fcllite::PSet &pset,const std::string name="PedRollingMean");
40
42
virtual
~PedAlgoRollingMean
();
43
44
protected
:
45
47
bool
ComputePedestal
(
const
pmtana::Waveform_t
& wf,
48
pmtana::PedestalMean_t
& mean_v,
49
pmtana::PedestalSigma_t
& sigma_v);
50
51
private
:
52
53
size_t
_sample_size
;
54
float
_max_sigma
;
55
float
_ped_range_max
;
56
float
_ped_range_min
;
57
58
// int _range;
59
// double _divisions;
60
double
_threshold
;
61
double
_diff_threshold
;
62
double
_diff_adc_count
;
63
64
int
_n_presamples
;
65
66
//double _random_shift;
67
68
};
69
}
70
#endif
71
// end of doxygen group
pmtana::PedAlgoRollingMean::_max_sigma
float _max_sigma
Definition:
PedAlgoRollingMean.h:54
pmtana::PedestalSigma_t
std::vector< double > PedestalSigma_t
Definition:
OpticalRecoTypes.h:10
pmtana::PedAlgoRollingMean::ComputePedestal
bool ComputePedestal(const pmtana::Waveform_t &wf, pmtana::PedestalMean_t &mean_v, pmtana::PedestalSigma_t &sigma_v)
Method to compute a pedestal of the input waveform using "nsample" ADC samples from "start" index...
Definition:
PedAlgoRollingMean.cxx:57
PMTPedestalBase.h
Class definition file of PMTPedestalBase.
pmtana::PMTPedestalBase
Definition:
PMTPedestalBase.h:28
ParameterSet.h
pmtana::PedAlgoRollingMean::_ped_range_max
float _ped_range_max
Definition:
PedAlgoRollingMean.h:55
pmtana::PedAlgoRollingMean::_ped_range_min
float _ped_range_min
Definition:
PedAlgoRollingMean.h:56
pmtana::Waveform_t
std::vector< short > Waveform_t
Definition:
OpticalRecoTypes.h:8
pmtana::PedAlgoRollingMean::_diff_adc_count
double _diff_adc_count
Definition:
PedAlgoRollingMean.h:62
pmtana::PedAlgoRollingMean::_sample_size
size_t _sample_size
Definition:
PedAlgoRollingMean.h:53
pmtana::PedAlgoRollingMean::_n_presamples
int _n_presamples
Definition:
PedAlgoRollingMean.h:64
pmtana
Definition:
AlgoCFD.cxx:15
pmtana::PedAlgoRollingMean::PedAlgoRollingMean
PedAlgoRollingMean(const std::string name="PedRollingMean")
Default constructor.
Definition:
PedAlgoRollingMean.cxx:18
pmtana::PedAlgoRollingMean::_diff_threshold
double _diff_threshold
Definition:
PedAlgoRollingMean.h:61
pmtana::PedAlgoRollingMean
Definition:
PedAlgoRollingMean.h:30
pmtana::PedestalMean_t
std::vector< double > PedestalMean_t
Definition:
OpticalRecoTypes.h:9
pmtana::PedAlgoRollingMean::~PedAlgoRollingMean
virtual ~PedAlgoRollingMean()
Default destructor.
Definition:
PedAlgoRollingMean.cxx:52
pmtana::PedAlgoRollingMean::_threshold
double _threshold
Definition:
PedAlgoRollingMean.h:60
fhicl::ParameterSet
Definition:
ParameterSet.h:34
larana
v07_04_02
source
larana
OpticalDetector
OpHitFinder
PedAlgoRollingMean.h
Generated on Wed Dec 12 2018 14:42:39 for LArSoft by
1.8.11