#include <PedestalSub.h>
Public Member Functions | |
void | calculate (const std::vector< double > &inputCharge, const std::vector< double > &inputPedestal, std::vector< double > &corrCharge) const |
double | getCorrection (const std::vector< double > &inputCharge, const std::vector< double > &inputPedestal) const |
void | init (int runCond, float threshold, float quantile) |
PedestalSub () | |
~PedestalSub () | |
Private Attributes | |
float | fCondition |
float | fQuantile |
float | fThreshold |
Definition at line 7 of file PedestalSub.h.
PedestalSub::PedestalSub | ( | ) |
Definition at line 8 of file PedestalSub.cc.
PedestalSub::~PedestalSub | ( | ) |
Definition at line 11 of file PedestalSub.cc.
void PedestalSub::calculate | ( | const std::vector< double > & | inputCharge, |
const std::vector< double > & | inputPedestal, | ||
std::vector< double > & | corrCharge | ||
) | const |
Definition at line 20 of file PedestalSub.cc.
References getCorrection(), and mps_fire::i.
Referenced by HcalDeterministicFit::apply().
double PedestalSub::getCorrection | ( | const std::vector< double > & | inputCharge, |
const std::vector< double > & | inputPedestal | ||
) | const |
Definition at line 28 of file PedestalSub.cc.
References fThreshold, and mps_fire::i.
Referenced by calculate().
void PedestalSub::init | ( | int | runCond = 0 , |
float | threshold = 0.0 , |
||
float | quantile = 0.0 |
||
) |
Definition at line 14 of file PedestalSub.cc.
References fCondition, fQuantile, fThreshold, and ctppsDiamondLocalTracks_cfi::threshold.
Referenced by parseHBHEMethod3Description().
|
private |
Definition at line 24 of file PedestalSub.h.
Referenced by init().
|
private |
Definition at line 23 of file PedestalSub.h.
Referenced by init().
|
private |
Definition at line 22 of file PedestalSub.h.
Referenced by getCorrection(), and init().