#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, DMR_cfg::cerr, MillePedeFileConverter_cfg::e, siStripLACalibration::fitFunction(), LASModuleProfile::GetValue(), hgchebackDigitizer_cfi::noise, me0TriggerPseudoDigis_cff::nStrips, hltrates_dqm_sourceclient-live_cfg::offset, funct::pow(), mps_fire::result, mathSSE::sqrt(), and nano_mu_digi_cff::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().