CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/Alignment/LaserAlignment/interface/LASPeakFinder.h

Go to the documentation of this file.
00001 
00002 #ifndef __LASPEAKFINDER_H
00003 #define __LASPEAKFINDER_H
00004 
00005 
00006 #include <utility>
00007 #include <cmath>
00008 #include <iostream>
00009 
00010 #include <TH1.h>
00011 #include <TF1.h>
00012 
00013 #include "Alignment/LaserAlignment/interface/LASModuleProfile.h"
00014 
00015 
00021 class LASPeakFinder {
00022 
00023  public:
00024   LASPeakFinder();
00025   bool FindPeakIn( const LASModuleProfile&, std::pair<double,double>&, TH1D*, const double );
00026   void SetAmplitudeThreshold( double );
00027 
00028  private:
00029   double amplitudeThreshold;
00030 
00031 };
00032 
00033 #endif