CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LASProfileJudge.h
Go to the documentation of this file.
1 
2 #ifndef __LASPROFILEJUDGE_H
3 #define __LASPROFILEJUDGE_H
4 
5 #include <iostream>
6 #include <utility>
7 
9 
10 
16 
17  public:
19  bool IsSignalIn( const LASModuleProfile&, double );
20  bool JudgeProfile( const LASModuleProfile&, double );
21  void EnableZeroFilter( bool );
22  void SetOverdriveThreshold( unsigned int );
23 
24  private:
25  double GetNegativity( int );
26  bool IsPeaksInProfile( int );
27  bool IsNegativePeaksInProfile( int );
28  bool IsOverdrive( int );
29 
31  std::pair<unsigned int, double> thePeak;
33  unsigned int overdriveThreshold;
34 
35 };
36 
37 #endif
bool IsSignalIn(const LASModuleProfile &, double)
bool IsNegativePeaksInProfile(int)
LASModuleProfile profile
bool IsPeaksInProfile(int)
bool JudgeProfile(const LASModuleProfile &, double)
std::pair< unsigned int, double > thePeak
unsigned int overdriveThreshold
void SetOverdriveThreshold(unsigned int)
double GetNegativity(int)
void EnableZeroFilter(bool)