#include <LASPeakFinder.h>
Public Member Functions | |
bool | FindPeakIn (const LASModuleProfile &, std::pair< double, double > &, TH1D *, const double) |
LASPeakFinder () | |
void | SetAmplitudeThreshold (double) |
Private Attributes | |
double | amplitudeThreshold |
class for fitting laser peaks in a LASModuleProfile; (will replace BeamProfileFitter)
Definition at line 19 of file LASPeakFinder.h.
LASPeakFinder::LASPeakFinder | ( | ) |
bool LASPeakFinder::FindPeakIn | ( | const LASModuleProfile & | aProfile, |
std::pair< double, double > & | result, | ||
TH1D * | histogram, | ||
const double | offset | ||
) |
set a profile to work on and start peak finding; the pair<> will return mean/meanError (in strips); offset is necessary for tob modules which are hit off-center
Definition at line 16 of file LASPeakFinder.cc.
References amplitudeThreshold, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, alignCSCRings::e, LASModuleProfile::GetValue(), gpuVertexFinder::noise, me0TriggerPseudoDigis_cff::nStrips, hltrates_dqm_sourceclient-live_cfg::offset, funct::pow(), mathSSE::sqrt(), and digitizers_cfi::strip.
Referenced by LaserAlignment::endRunProduce().
void LASPeakFinder::SetAmplitudeThreshold | ( | double | aThreshold | ) |
Definition at line 106 of file LASPeakFinder.cc.
References amplitudeThreshold.
Referenced by LaserAlignment::endRunProduce().
|
private |
Definition at line 26 of file LASPeakFinder.h.
Referenced by FindPeakIn(), LASPeakFinder(), and SetAmplitudeThreshold().