CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TT6ApvMask.h
Go to the documentation of this file.
1 #ifndef ApvAnalysis_TT6APVMask_H
2 #define ApvAnalysis_TT6APVMask_H
3 
10 class TT6ApvMask : public TkApvMask {
11 public:
12 
13  // Use the first constructor, as the second one will soon
14  // be obsolete.
15  TT6ApvMask( int ctype, float ncut, float dcut, float tcut);
16  virtual ~TT6ApvMask();
17 
18  void setMask(const MaskType& in) {theMask_ = in;}
19  MaskType mask() {return theMask_;}
20 
22 
23 protected:
24  bool defineNoisy(float avrg, float rms,float noise);
25 
26 private:
29  float theNoiseCut_;
30  float theDeadCut_;
32 };
33 
34 #endif
35 
36 
37 
38 
39 
40 
41 
42 
43 
44 
45 
std::vector< StripMaskType > MaskType
Definition: TkApvMask.h:17
int theCalculationFlag_
Definition: TT6ApvMask.h:28
std::vector< float > PedestalType
Definition: ApvAnalysis.h:48
TT6ApvMask(int ctype, float ncut, float dcut, float tcut)
Definition: TT6ApvMask.cc:9
float theDeadCut_
Definition: TT6ApvMask.h:30
void calculateMask(const ApvAnalysis::PedestalType &)
Definition: TT6ApvMask.cc:25
MaskType theMask_
Definition: TT6ApvMask.h:27
virtual ~TT6ApvMask()
Definition: TT6ApvMask.cc:19
void setMask(const MaskType &in)
Definition: TT6ApvMask.h:18
bool defineNoisy(float avrg, float rms, float noise)
Definition: TT6ApvMask.cc:62
float theNoiseCut_
Definition: TT6ApvMask.h:29
MaskType mask()
Definition: TT6ApvMask.h:19
float theTruncationCut_
Definition: TT6ApvMask.h:31