LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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
#include "
PMTPedestalBase.h
"
19
namespace
fhicl
{
20
class
ParameterSet;
21
}
22
23
#include "
larana/OpticalDetector/OpHitFinder/OpticalRecoTypes.h
"
24
25
#include <string>
26
27
namespace
pmtana
{
28
33
class
PedAlgoRollingMean
:
public
PMTPedestalBase
{
34
35
public
:
37
PedAlgoRollingMean
(
const
std::string name =
"PedRollingMean"
);
38
40
PedAlgoRollingMean
(
const
fhicl::ParameterSet
& pset,
const
std::string name =
"PedRollingMean"
);
41
//PedAlgoRollingMean(const ::fcllite::PSet &pset,const std::string name="PedRollingMean");
42
43
protected
:
45
bool
ComputePedestal(
const
pmtana::Waveform_t
& wf,
46
pmtana::PedestalMean_t
& mean_v,
47
pmtana::PedestalSigma_t
& sigma_v);
48
49
private
:
50
size_t
_sample_size
;
51
float
_max_sigma
;
52
float
_ped_range_max
;
53
float
_ped_range_min
;
54
55
// int _range;
56
// double _divisions;
57
double
_threshold
;
58
double
_diff_threshold
;
59
double
_diff_adc_count
;
60
61
int
_n_presamples
;
62
63
//double _random_shift;
64
};
65
}
66
#endif
67
// end of doxygen group
pmtana::PedAlgoRollingMean::_max_sigma
float _max_sigma
Definition:
PedAlgoRollingMean.h:51
pmtana::PedestalSigma_t
std::vector< double > PedestalSigma_t
Definition:
OpticalRecoTypes.h:10
PMTPedestalBase.h
Class definition file of PMTPedestalBase.
pmtana::PMTPedestalBase
Definition:
PMTPedestalBase.h:27
pmtana::PedAlgoRollingMean::_ped_range_max
float _ped_range_max
Definition:
PedAlgoRollingMean.h:52
fhicl
parameter set interface
Definition:
BeamFlashTrackMatchTaggerAlg.h:17
pmtana::PedAlgoRollingMean::_ped_range_min
float _ped_range_min
Definition:
PedAlgoRollingMean.h:53
pmtana::Waveform_t
std::vector< short > Waveform_t
Definition:
OpticalRecoTypes.h:8
pmtana::PedAlgoRollingMean::_diff_adc_count
double _diff_adc_count
Definition:
PedAlgoRollingMean.h:59
pmtana::PedAlgoRollingMean::_sample_size
size_t _sample_size
Definition:
PedAlgoRollingMean.h:50
pmtana::PedAlgoRollingMean::_n_presamples
int _n_presamples
Definition:
PedAlgoRollingMean.h:61
pmtana
Definition:
AlgoCFD.cxx:14
pmtana::PedAlgoRollingMean::_diff_threshold
double _diff_threshold
Definition:
PedAlgoRollingMean.h:58
OpticalRecoTypes.h
pmtana::PedAlgoRollingMean
Definition:
PedAlgoRollingMean.h:33
pmtana::PedestalMean_t
std::vector< double > PedestalMean_t
Definition:
OpticalRecoTypes.h:9
pmtana::PedAlgoRollingMean::_threshold
double _threshold
Definition:
PedAlgoRollingMean.h:57
fhicl::ParameterSet
Definition:
ParameterSet.h:36
larana
v09_15_05
source
larana
OpticalDetector
OpHitFinder
PedAlgoRollingMean.h
Generated on Thu May 2 2024 20:59:33 for LArSoft by
1.8.11