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 public:
22  ~CalibrationAlgorithm() override { ; }
23 
24  inline const Histo& histo(int& i) { return histo_[i]; }
25 
26 private:
28 
29  void extract(const std::vector<TH1*>&) override;
30 
31  void analyse() override;
32 
33  void correctDistribution(TH1*) const;
34 
35  float baseLine(TF1*);
36  float turnOn(TF1*, const float&);
37  float decayTime(TF1*);
38 
39 private:
41  std::vector<Histo> histo_;
42  std::vector<int> stripId_;
43  std::vector<int> calChan_;
44  std::vector<int> apvId_;
45 
48 };
49 
50 #endif // DQM_SiStripCommissioningAnalysis_CalibrationAlgorithm_H
CalibrationAlgorithm::histo
const Histo & histo(int &i)
Definition: CalibrationAlgorithm.h:24
mps_fire.i
i
Definition: mps_fire.py:428
CalibrationAlgorithm::cal_
CalibrationAnalysis * cal_
Definition: CalibrationAlgorithm.h:47
CalibrationAlgorithm::extract
void extract(const std::vector< TH1 * > &) override
Definition: CalibrationAlgorithm.cc:28
CalibrationAlgorithm::correctDistribution
void correctDistribution(TH1 *) const
Definition: CalibrationAlgorithm.cc:495
CalibrationAlgorithm::analyse
void analyse() override
Definition: CalibrationAlgorithm.cc:88
CalibrationAlgorithm::baseLine
float baseLine(TF1 *)
Definition: CalibrationAlgorithm.cc:503
CalibrationAlgorithm::decayTime
float decayTime(TF1 *)
Definition: CalibrationAlgorithm.cc:526
CalibrationAlgorithm::calChan_
std::vector< int > calChan_
Definition: CalibrationAlgorithm.h:43
CalibrationAlgorithm::CalibrationAlgorithm
CalibrationAlgorithm()
Definition: CalibrationAlgorithm.h:27
CalibrationAlgorithm::histo_
std::vector< Histo > histo_
Definition: CalibrationAlgorithm.h:41
edm::ParameterSet
Definition: ParameterSet.h:47
CalibrationAlgorithm::stripId_
std::vector< int > stripId_
Definition: CalibrationAlgorithm.h:42
CalibrationAlgorithm
Algorithm for calibration runs.
Definition: CalibrationAlgorithm.h:19
CalibrationAlgorithm::~CalibrationAlgorithm
~CalibrationAlgorithm() override
Definition: CalibrationAlgorithm.h:22
CalibrationAlgorithm::turnOn
float turnOn(TF1 *, const float &)
Definition: CalibrationAlgorithm.cc:516
CommissioningAlgorithm
Definition: CommissioningAlgorithm.h:17
ParameterSet.h
CalibrationAlgorithm::apvId_
std::vector< int > apvId_
Definition: CalibrationAlgorithm.h:44
CalibrationAnalysis
Analysis for calibration runs.
Definition: CalibrationAnalysis.h:16
CommissioningAlgorithm.h
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
CommissioningAlgorithm::Histo
std::pair< TH1 *, std::string > Histo
Definition: CommissioningAlgorithm.h:25