test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DaqScopeModeAnalysis.h
Go to the documentation of this file.
1 #ifndef CondFormats_SiStripObjects_DaqScopeModeAnalysis_H
2 #define CondFormats_SiStripObjects_DaqScopeModeAnalysis_H
3 
6 #include <boost/cstdint.hpp>
7 #include <sstream>
8 #include <vector>
9 
17 
18  public:
19 
20  DaqScopeModeAnalysis( const uint32_t& key );
21 
23 
24  virtual ~DaqScopeModeAnalysis() {;}
25 
26  friend class DaqScopeModeAlgorithm;
27 
28  inline const float& entries() const;
29 
30  inline const float& mean() const;
31 
32  inline const float& median() const;
33 
34  inline const float& mode() const;
35 
36  inline const float& rms() const;
37 
38  inline const float& min() const;
39 
40  inline const float& max() const;
41 
42  void print( std::stringstream&, uint32_t not_used = 0 );
43 
44  void reset();
45 
46  private:
47 
48  float entries_;
49 
50  float mean_;
51 
52  float median_;
53 
54  float mode_;
55 
56  float rms_;
57 
58  float min_;
59 
60  float max_;
61 
62 };
63 
64 const float& DaqScopeModeAnalysis::entries() const { return entries_; }
65 const float& DaqScopeModeAnalysis::mean() const { return mean_; }
66 const float& DaqScopeModeAnalysis::median() const { return median_; }
67 const float& DaqScopeModeAnalysis::mode() const { return mode_; }
68 const float& DaqScopeModeAnalysis::rms() const { return rms_; }
69 const float& DaqScopeModeAnalysis::min() const { return min_; }
70 const float& DaqScopeModeAnalysis::max() const { return max_; }
71 
72 #endif // CondFormats_SiStripObjects_DaqScopeModeAnalysis_H
73 
74 
75 
const float & max() const
void print(std::stringstream &, uint32_t not_used=0)
const float & mode() const
const float & min() const
Algorithm for scope mode data.
const float & rms() const
const float & median() const
list key
Definition: combine.py:13
const float & entries() const
Abstract base for derived classes that provide analysis of commissioning histograms.
const float & mean() const
Analysis for scope mode data.