#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 21 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 23 of file LASPeakFinder.cc.
References amplitudeThreshold, ecal_dqm_sourceclient-live_cfg::cerr, alignCSCRings::e, LASModuleProfile::GetValue(), HLT_FULL_cff::noise, hltrates_dqm_sourceclient-live_cfg::offset, funct::pow(), mathSSE::sqrt(), and combinedConstraintHelpers::sum2().
Referenced by LaserAlignment::endRunProduce().
void LASPeakFinder::SetAmplitudeThreshold | ( | double | aThreshold | ) |
Definition at line 114 of file LASPeakFinder.cc.
References amplitudeThreshold.
Referenced by LaserAlignment::endRunProduce().
|
private |
Definition at line 29 of file LASPeakFinder.h.
Referenced by FindPeakIn(), LASPeakFinder(), and SetAmplitudeThreshold().