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  // Use the first constructor, as the second one will soon
13  // be obsolete.
14  TT6ApvMask(int ctype, float ncut, float dcut, float tcut);
15  ~TT6ApvMask() override;
16 
17  void setMask(const MaskType& in) override { theMask_ = in; }
18  MaskType mask() override { return theMask_; }
19 
20  void calculateMask(const ApvAnalysis::PedestalType&) override;
21 
22 protected:
23  bool defineNoisy(float avrg, float rms, float noise);
24 
25 private:
28  float theNoiseCut_;
29  float theDeadCut_;
31 };
32 
33 #endif
std::vector< StripMaskType > MaskType
Definition: TkApvMask.h:15
int theCalculationFlag_
Definition: TT6ApvMask.h:27
std::vector< float > PedestalType
Definition: ApvAnalysis.h:44
void setMask(const MaskType &in) override
Definition: TT6ApvMask.h:17
TT6ApvMask(int ctype, float ncut, float dcut, float tcut)
Definition: TT6ApvMask.cc:9
float theDeadCut_
Definition: TT6ApvMask.h:29
MaskType theMask_
Definition: TT6ApvMask.h:26
void calculateMask(const ApvAnalysis::PedestalType &) override
Definition: TT6ApvMask.cc:26
bool defineNoisy(float avrg, float rms, float noise)
Definition: TT6ApvMask.cc:60
float theNoiseCut_
Definition: TT6ApvMask.h:28
~TT6ApvMask() override
Definition: TT6ApvMask.cc:19
MaskType mask() override
Definition: TT6ApvMask.h:18
float theTruncationCut_
Definition: TT6ApvMask.h:30