#include <PedestalSub.h>
Public Member Functions | |
void | calculate (const std::vector< double > &inputCharge, const std::vector< double > &inputPedestal, const std::vector< double > &inputNoise, std::vector< double > &corrCharge, int soi, int nSample) const |
double | getCorrection (const std::vector< double > &inputCharge, const std::vector< double > &inputPedestal, const std::vector< double > &inputNoise, int soi, int nSample) const |
PedestalSub () | |
~PedestalSub () | |
Definition at line 7 of file PedestalSub.h.
PedestalSub::PedestalSub | ( | ) |
Definition at line 8 of file PedestalSub.cc.
PedestalSub::~PedestalSub | ( | ) |
Definition at line 10 of file PedestalSub.cc.
void PedestalSub::calculate | ( | const std::vector< double > & | inputCharge, |
const std::vector< double > & | inputPedestal, | ||
const std::vector< double > & | inputNoise, | ||
std::vector< double > & | corrCharge, | ||
int | soi, | ||
int | nSample | ||
) | const |
Definition at line 12 of file PedestalSub.cc.
References getCorrection(), and mps_fire::i.
double PedestalSub::getCorrection | ( | const std::vector< double > & | inputCharge, |
const std::vector< double > & | inputPedestal, | ||
const std::vector< double > & | inputNoise, | ||
int | soi, | ||
int | nSample | ||
) | const |