CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimplePedestalCalculator.h
Go to the documentation of this file.
1 #ifndef ApvAnalysis_SimplePedestalCalculator_h
2 #define ApvAnalysis_SimplePedestalCalculator_h
3 
5 #include<map>
11 public:
12 
13  SimplePedestalCalculator(int evnt_ini);
14  virtual ~SimplePedestalCalculator();
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<int> thePedSum,thePedSqSum;
44  std::vector<unsigned short> theEventPerStrip;
47  // int eventsRequiredToUpdate;
48  // float cutToAvoidSignal;
50 
51  };
52 #endif
std::vector< unsigned short > theEventPerStrip
std::vector< float > PedestalType
Definition: ApvAnalysis.h:48
ApvAnalysis::PedestalType rawNoise() const
ApvAnalysis::PedestalType theRawNoise
ApvAnalysis::PedestalType pedestal() const
void setPedestals(ApvAnalysis::PedestalType &in)
void setRawNoise(ApvAnalysis::PedestalType &in)
void refinePedestal(ApvAnalysis::RawSignalType &in)
void updatePedestal(ApvAnalysis::RawSignalType &in)
void initializePedestal(ApvAnalysis::RawSignalType &in)
ApvAnalysis::PedestalType thePedestal