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 
9 class TH1;
10 class TF1;
11 
19 
20  public:
21 
23 
24  ~CalibrationAlgorithm() override {;}
25 
26  inline const Histo& histo( int i ) const { return histo_[i]; }
27 
28  private:
29 
31 
32  void extract( const std::vector<TH1*>& ) override;
33 
34  void analyse() override;
35 
36  void correctDistribution( TH1* ) const;
37 
38  TF1* fitPulse( TH1*,
39  float rangeLow = 0,
40  float rangeHigh = -1 );
41 
42  float maximum( TH1* );
43 
44  float turnOn( TF1* );
45 
46  private:
47 
50 
55 
57 
58 };
59 
60 #endif // DQM_SiStripCommissioningAnalysis_CalibrationAlgorithm_H
61 
TF1 * fitPulse(TH1 *, float rangeLow=0, float rangeHigh=-1)
const Histo & histo(int i) const
std::pair< TH1 *, std::string > Histo
Algorithm for calibration runs.
void extract(const std::vector< TH1 * > &) override
CalibrationAnalysis * cal_
Analysis for calibration runs.
void correctDistribution(TH1 *) const