CMS 3D CMS Logo

CalibrationAlgorithm.h
Go to the documentation of this file.
1 #ifndef DQM_SiStripCommissioningAnalysis_CalibrationAlgorithm_H
2 #define DQM_SiStripCommissioningAnalysis_CalibrationAlgorithm_H
3 
6 #include <vector>
7 #include <map>
8 
10 class TH1;
11 class TF1;
12 
20 public:
22  ~CalibrationAlgorithm() override { ; }
23 
24  inline const Histo& histo(int& i) { return histo_[i]; }
25 
26 private:
28 
29  void extract(const std::vector<TH1*>&) override;
30 
31  void analyse() override;
32 
33  void correctDistribution(TH1*) const;
34 
35  float baseLine(TF1*);
36  float turnOn(TF1*, const float&);
37  float decayTime(TF1*);
38 
39 private:
41  std::vector<Histo> histo_;
42  std::vector<int> stripId_;
43  std::vector<int> calChan_;
44  std::vector<int> apvId_;
45 
48 };
49 
50 #endif // DQM_SiStripCommissioningAnalysis_CalibrationAlgorithm_H
Algorithm for calibration runs.
void correctDistribution(TH1 *) const
std::vector< int > calChan_
CalibrationAnalysis * cal_
void extract(const std::vector< TH1 *> &) override
const Histo & histo(int &i)
Analysis for calibration runs.
std::vector< int > apvId_
std::vector< Histo > histo_
std::vector< int > stripId_
std::pair< TH1 *, std::string > Histo
float turnOn(TF1 *, const float &)