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 
21  public:
22 
24  ~CalibrationAlgorithm() override {;}
25 
26  inline const Histo & histo(int & i) { 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  float baseLine(TF1*);
39  float turnOn(TF1*, const float &);
40  float decayTime(TF1*);
41 
42  private:
43 
45  std::vector<Histo> histo_;
46  std::vector<int> stripId_;
47  std::vector<int> calChan_;
48  std::vector<int> apvId_;
49 
52 
53 };
54 
55 #endif // DQM_SiStripCommissioningAnalysis_CalibrationAlgorithm_H
56 
std::pair< TH1 *, std::string > Histo
Algorithm for calibration runs.
void extract(const std::vector< TH1 * > &) override
std::vector< int > calChan_
CalibrationAnalysis * cal_
const Histo & histo(int &i)
Analysis for calibration runs.
std::vector< int > apvId_
std::vector< Histo > histo_
std::vector< int > stripId_
void correctDistribution(TH1 *) const
float turnOn(TF1 *, const float &)