test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TT6PedestalCalculator.h
Go to the documentation of this file.
1 #ifndef ApvAnalysis_TT6PedestalCalculator_h
2 #define ApvAnalysis_TT6PedestalCalculator_h
3 
5 #include<map>
11 public:
12 
13  TT6PedestalCalculator(int evnt_ini, int evnt_iter, float sig_cut);
14  virtual ~TT6PedestalCalculator();
15 
16 
17 
18  void resetPedestals() {
19  thePedestal.clear();
20  theRawNoise.clear();
21  }
24 
25  void updateStatus();
26 
28 
31 
32 
33  void newEvent();
34 
35 private:
36  void init();
39 
40 protected:
43  std::vector<double> thePedSum,thePedSqSum;
44  std::vector<unsigned short> theEventPerStrip;
50 
51  };
52 #endif
std::vector< float > PedestalType
Definition: ApvAnalysis.h:48
std::vector< unsigned short > theEventPerStrip
ApvAnalysis::PedestalType theRawNoise
TT6PedestalCalculator(int evnt_ini, int evnt_iter, float sig_cut)
ApvAnalysis::PedestalType pedestal() const
void initializePedestal(ApvAnalysis::RawSignalType &in)
void refinePedestal(ApvAnalysis::RawSignalType &in)
void setRawNoise(ApvAnalysis::PedestalType &in)
std::vector< double > thePedSum
ApvAnalysis::PedestalType thePedestal
std::vector< double > thePedSqSum
void updatePedestal(ApvAnalysis::RawSignalType &in)
void setPedestals(ApvAnalysis::PedestalType &in)
ApvAnalysis::PedestalType rawNoise() const