CMS 3D CMS Logo

PedestalSub.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_HcalRecAlgos_PedestalSub_h
2 #define RecoLocalCalo_HcalRecAlgos_PedestalSub_h 1
3 
4 #include <typeinfo>
5 #include <vector>
6 
8 {
9  public:
10 
11  PedestalSub();
12  ~PedestalSub();
13 
14  void calculate(const std::vector<double> & inputCharge, const std::vector<double> & inputPedestal, const std::vector<double> & inputNoise, std::vector<double> & corrCharge, int soi, int nSample) const;
15 
16  double getCorrection(const std::vector<double> & inputCharge, const std::vector<double> & inputPedestal, const std::vector<double> & inputNoise, int soi, int nSample) const;
17 
18 
19 };
20 
21 #endif
double getCorrection(const std::vector< double > &inputCharge, const std::vector< double > &inputPedestal, const std::vector< double > &inputNoise, int soi, int nSample) const
Definition: PedestalSub.cc:23
void calculate(const std::vector< double > &inputCharge, const std::vector< double > &inputPedestal, const std::vector< double > &inputNoise, std::vector< double > &corrCharge, int soi, int nSample) const
Definition: PedestalSub.cc:15