CMS 3D CMS Logo

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 
15 public:
17  bool IsSignalIn(const LASModuleProfile&, double);
18  bool JudgeProfile(const LASModuleProfile&, double);
19  void EnableZeroFilter(bool);
20  void SetOverdriveThreshold(unsigned int);
21 
22 private:
23  double GetNegativity(int);
24  bool IsPeaksInProfile(int);
25  bool IsNegativePeaksInProfile(int);
26  bool IsOverdrive(int);
27 
29  std::pair<unsigned int, double> thePeak;
31  unsigned int overdriveThreshold;
32 };
33 
34 #endif
LASProfileJudge::IsOverdrive
bool IsOverdrive(int)
Definition: LASProfileJudge.cc:197
LASProfileJudge::SetOverdriveThreshold
void SetOverdriveThreshold(unsigned int)
Definition: LASProfileJudge.cc:90
LASProfileJudge::GetNegativity
double GetNegativity(int)
Definition: LASProfileJudge.cc:97
LASProfileJudge::JudgeProfile
bool JudgeProfile(const LASModuleProfile &, double)
Definition: LASProfileJudge.cc:45
LASProfileJudge::EnableZeroFilter
void EnableZeroFilter(bool)
Definition: LASProfileJudge.cc:79
LASModuleProfile.h
LASProfileJudge::IsNegativePeaksInProfile
bool IsNegativePeaksInProfile(int)
Definition: LASProfileJudge.cc:161
LASProfileJudge::profile
LASModuleProfile profile
Definition: LASProfileJudge.h:28
LASProfileJudge::thePeak
std::pair< unsigned int, double > thePeak
Definition: LASProfileJudge.h:29
LASProfileJudge::isZeroFilter
bool isZeroFilter
Definition: LASProfileJudge.h:30
LASProfileJudge::IsPeaksInProfile
bool IsPeaksInProfile(int)
Definition: LASProfileJudge.cc:125
LASProfileJudge::IsSignalIn
bool IsSignalIn(const LASModuleProfile &, double)
Definition: LASProfileJudge.cc:24
LASProfileJudge::overdriveThreshold
unsigned int overdriveThreshold
Definition: LASProfileJudge.h:31
LASProfileJudge
Definition: LASProfileJudge.h:14
LASProfileJudge::LASProfileJudge
LASProfileJudge()
Definition: LASProfileJudge.cc:14
LASModuleProfile
Definition: LASModuleProfile.h:7