CMS 3D CMS Logo

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  ~TT6ApvMask() override;
17 
18  void setMask(const MaskType& in) override {theMask_ = in;}
19  MaskType mask() override {return theMask_;}
20 
21  void calculateMask(const ApvAnalysis::PedestalType&) override;
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
void setMask(const MaskType &in) override
Definition: TT6ApvMask.h:18
TT6ApvMask(int ctype, float ncut, float dcut, float tcut)
Definition: TT6ApvMask.cc:9
float theDeadCut_
Definition: TT6ApvMask.h:30
MaskType theMask_
Definition: TT6ApvMask.h:27
void calculateMask(const ApvAnalysis::PedestalType &) override
Definition: TT6ApvMask.cc:25
bool defineNoisy(float avrg, float rms, float noise)
Definition: TT6ApvMask.cc:62
float theNoiseCut_
Definition: TT6ApvMask.h:29
~TT6ApvMask() override
Definition: TT6ApvMask.cc:19
MaskType mask() override
Definition: TT6ApvMask.h:19
float theTruncationCut_
Definition: TT6ApvMask.h:31