1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef __LASPEAKFINDER_H
#define __LASPEAKFINDER_H
#include <utility>
#include <cmath>
#include <iostream>
#include <TH1.h>
#include <TF1.h>
#include "Alignment/LaserAlignment/interface/LASModuleProfile.h"
///
/// class for fitting laser peaks
/// in a LASModuleProfile;
/// (will replace BeamProfileFitter)
///
class LASPeakFinder {
public:
LASPeakFinder();
bool FindPeakIn(const LASModuleProfile&, std::pair<double, double>&, TH1D*, const double);
void SetAmplitudeThreshold(double);
private:
double amplitudeThreshold;
};
#endif
|