CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~CalibrationAlgorithm() {;}
25 
26  inline const Histo& histo( int i ) const { return histo_[i]; }
27 
28  private:
29 
31 
32  virtual void extract( const std::vector<TH1*>& );
33 
34  void analyse();
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( TH1* );
45 
46  private:
47 
50 
56 
58 
59 };
60 
61 #endif // DQM_SiStripCommissioningAnalysis_CalibrationAlgorithm_H
62 
TF1 * fitPulse(TH1 *, float rangeLow=0, float rangeHigh=-1)
int i
Definition: DBlmapReader.cc:9
const Histo & histo(int i) const
std::pair< TH1 *, std::string > Histo
Algorithm for calibration runs.
CalibrationAnalysis * cal_
Analysis for calibration runs.
void correctDistribution(TH1 *) const
virtual void extract(const std::vector< TH1 * > &)