CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 <boost/cstdint.hpp>
7 #include <vector>
8 
9 class OptoScanAnalysis;
10 class TProfile;
11 class TH1;
12 
19 
20  public:
21 
23 
24  virtual ~OptoScanAlgorithm() {;}
25 
27  Histo histo( const uint16_t& gain,
28  const uint16_t& digital_level ) const;
29 
30  private:
31 
33 
35  void extract( const std::vector<TH1*>& );
36 
38  void analyse();
39 
40  private:
41 
43  std::vector< std::vector<Histo> > histos_;
44 
46  float targetGain_;
47 
48 };
49 
50 #endif // DQM_SiStripCommissioningAnalysis_OptoScanAlgorithm_H
51 
Histogram-based analysis for opto bias/gain scan.
std::vector< std::vector< Histo > > histos_
Histo histo(const uint16_t &gain, const uint16_t &digital_level) const
std::pair< TH1 *, std::string > Histo
void extract(const std::vector< TH1 * > &)
virtual ~OptoScanAlgorithm()