CMS 3D CMS Logo

CalibrationScanAlgorithm.h
Go to the documentation of this file.
1 #ifndef DQM_SiStripCommissioningAnalysis_CalibrationScanAlgorithm_H
2 #define DQM_SiStripCommissioningAnalysis_CalibrationScanAlgorithm_H
3 
6 #include <vector>
7 #include <map>
8 #include "TGraph.h"
9 
11 class TH1;
12 class TF1;
13 
21 
22  public:
23 
25  ~CalibrationScanAlgorithm() override {;}
26 
27  inline const Histo & histo(std::string & key, int & i) { return histo_[key][i]; }
28 
29  void tuneIndependently(const int &, const float &, const float &);
30  void tuneSimultaneously(const int &, const float &, const float &);
31  void fillTunedObservables(const int & );
32 
33  private:
34 
36 
37  void extract( const std::vector<TH1*>& ) override;
38 
39  void analyse() override;
40 
41  void correctDistribution( TH1*, const bool &) const;
42  float baseLine(TF1*);
43  float turnOn(TF1*, const float &);
44  float decayTime(TF1*);
45 
47  std::map<std::string,std::vector<Histo> > histo_;
48 
51 
53  std::vector<int> scanned_isha_;
54  std::vector<int> scanned_vfs_;
55 
56 };
57 
58 #endif // DQM_SiStripCommissioningAnalysis_CalibrationScanAlgorithm_H
59 
const Histo & histo(std::string &key, int &i)
std::pair< TH1 *, std::string > Histo
float turnOn(TF1 *, const float &)
void extract(const std::vector< TH1 * > &) override
std::map< std::string, std::vector< Histo > > histo_
Analysis for calibration scans.
Algorithm for calibration runs.
void tuneIndependently(const int &, const float &, const float &)
CalibrationScanAnalysis * cal_
void correctDistribution(TH1 *, const bool &) const
void tuneSimultaneously(const int &, const float &, const float &)