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
TT6ApvMask::theTruncationCut_
float theTruncationCut_
Definition: TT6ApvMask.h:30
TkApvMask::MaskType
std::vector< StripMaskType > MaskType
Definition: TkApvMask.h:15
TT6ApvMask::defineNoisy
bool defineNoisy(float avrg, float rms, float noise)
Definition: TT6ApvMask.cc:60
TT6ApvMask::mask
MaskType mask() override
Definition: TT6ApvMask.h:18
TkApvMask
Definition: TkApvMask.h:9
TT6ApvMask::theCalculationFlag_
int theCalculationFlag_
Definition: TT6ApvMask.h:27
SiStripPI::rms
Definition: SiStripPayloadInspectorHelper.h:169
TT6ApvMask::calculateMask
void calculateMask(const ApvAnalysis::PedestalType &) override
Definition: TT6ApvMask.cc:26
TT6ApvMask::setMask
void setMask(const MaskType &in) override
Definition: TT6ApvMask.h:17
TT6ApvMask::theMask_
MaskType theMask_
Definition: TT6ApvMask.h:26
TT6ApvMask
Definition: TT6ApvMask.h:10
recoMuon::in
Definition: RecoMuonEnumerators.h:6
TkNoiseCalculator.h
TT6ApvMask::~TT6ApvMask
~TT6ApvMask() override
Definition: TT6ApvMask.cc:19
TT6ApvMask::theNoiseCut_
float theNoiseCut_
Definition: TT6ApvMask.h:28
TT6ApvMask::theDeadCut_
float theDeadCut_
Definition: TT6ApvMask.h:29
TT6ApvMask::TT6ApvMask
TT6ApvMask(int ctype, float ncut, float dcut, float tcut)
Definition: TT6ApvMask.cc:9
hgchebackDigitizer_cfi.noise
noise
Definition: hgchebackDigitizer_cfi.py:42
ApvAnalysis::PedestalType
std::vector< float > PedestalType
Definition: ApvAnalysis.h:44
TkApvMask.h