CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
OptoScanAlgorithm.h
Go to the documentation of this file.
1 #ifndef DQM_SiStripCommissioningAnalysis_OptoScanAlgorithm_H
2 #define DQM_SiStripCommissioningAnalysis_OptoScanAlgorithm_H
3 
6 #include <vector>
7 #include <cstdint>
8 
9 class OptoScanAnalysis;
10 class TProfile;
11 class TH1;
12 
19 public:
21 
22  ~OptoScanAlgorithm() override { ; }
23 
25  Histo histo(const uint16_t& gain, const uint16_t& digital_level) const;
26 
27 private:
29 
31  void extract(const std::vector<TH1*>&) override;
32 
34  void analyse() override;
35 
36 private:
38  std::vector<std::vector<Histo> > histos_;
39 
41  float targetGain_;
42 };
43 
44 #endif // DQM_SiStripCommissioningAnalysis_OptoScanAlgorithm_H
Histogram-based analysis for opto bias/gain scan.
Histo histo(const uint16_t &gain, const uint16_t &digital_level) const
void analyse() override
void extract(const std::vector< TH1 * > &) override
~OptoScanAlgorithm() override
std::vector< std::vector< Histo > > histos_
std::pair< TH1 *, std::string > Histo