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 
7 class PedestalSub {
8 public:
9  PedestalSub();
10  ~PedestalSub();
11 
12  void calculate(const std::vector<double>& inputCharge,
13  const std::vector<double>& inputPedestal,
14  const std::vector<double>& inputNoise,
15  std::vector<double>& corrCharge,
16  int soi,
17  int nSample) const;
18 
19  double getCorrection(const std::vector<double>& inputCharge,
20  const std::vector<double>& inputPedestal,
21  const std::vector<double>& inputNoise,
22  int soi,
23  int nSample) const;
24 };
25 
26 #endif
PedestalSub::PedestalSub
PedestalSub()
Definition: PedestalSub.cc:8
PedestalSub::calculate
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:12
PedestalSub::getCorrection
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:24
PedestalSub
Definition: PedestalSub.h:7
PedestalSub::~PedestalSub
~PedestalSub()
Definition: PedestalSub.cc:10