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 public:
23  ~CalibrationScanAlgorithm() override { ; }
24 
25  inline const Histo &histo(std::string &key, int &i) { return histo_[key][i]; }
26 
27  void tuneIndependently(const int &, const float &, const float &);
28  void tuneSimultaneously(const int &, const float &, const float &);
29  void fillTunedObservables(const int &);
30 
31 private:
33 
34  void extract(const std::vector<TH1 *> &) override;
35 
36  void analyse() override;
37 
38  void correctDistribution(TH1 *, const bool &) const;
39  float baseLine(TF1 *);
40  float turnOn(TF1 *, const float &);
41  float decayTime(TF1 *);
42 
44  std::map<std::string, std::vector<Histo> > histo_;
45 
48 
50  std::vector<int> scanned_isha_;
51  std::vector<int> scanned_vfs_;
52 };
53 
54 #endif // DQM_SiStripCommissioningAnalysis_CalibrationScanAlgorithm_H
const Histo & histo(std::string &key, int &i)
float turnOn(TF1 *, const float &)
std::map< std::string, std::vector< Histo > > histo_
Analysis for calibration scans.
Algorithm for calibration runs.
key
prepare the HTCondor submission files and eventually submit them
void correctDistribution(TH1 *, const bool &) const
std::pair< TH1 *, std::string > Histo
void tuneIndependently(const int &, const float &, const float &)
CalibrationScanAnalysis * cal_
void extract(const std::vector< TH1 *> &) override
void tuneSimultaneously(const int &, const float &, const float &)