#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, MessageLogger_cfi::cerr, MillePedeFileConverter_cfg::e, LASModuleProfile::GetValue(), PFRecoTauDiscriminationByIsolation_cfi::offset, funct::pow(), mathSSE::sqrt(), digi_MixPreMix_cfi::strip, 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().