CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/CalibTracker/SiStripAPVAnalysis/interface/TT6ApvMask.h

Go to the documentation of this file.
00001 #ifndef ApvAnalysis_TT6APVMask_H
00002 #define ApvAnalysis_TT6APVMask_H
00003 
00004 #include "CalibTracker/SiStripAPVAnalysis/interface/TkApvMask.h"
00005 #include "CalibTracker/SiStripAPVAnalysis/interface/TkNoiseCalculator.h"
00010 class TT6ApvMask : public TkApvMask {  
00011 public:
00012 
00013   // Use the first constructor, as the second one will soon
00014   // be obsolete.
00015   TT6ApvMask( int ctype, float ncut, float dcut, float tcut);
00016   virtual ~TT6ApvMask();  
00017 
00018   void setMask(MaskType in) {theMask_ = in;}
00019   MaskType mask() {return theMask_;}
00020   
00021   void calculateMask(ApvAnalysis::PedestalType);
00022 
00023 protected:
00024   bool defineNoisy(float avrg, float rms,float noise);
00025 
00026 private:
00027   MaskType theMask_;
00028   int theCalculationFlag_;
00029   float theNoiseCut_;
00030   float theDeadCut_;
00031   float theTruncationCut_;
00032 };
00033 
00034 #endif
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042 
00043 
00044 
00045