CMS 3D CMS Logo

SamplingAnalysis.h
Go to the documentation of this file.
1 #ifndef CondFormats_SiStripObjects_SamplingAnalysis_H
2 #define CondFormats_SiStripObjects_SamplingAnalysis_H
3 
7 #include <boost/cstdint.hpp>
8 #include <sstream>
9 #include <vector>
10 
18 
19  public:
20 
21  SamplingAnalysis( const uint32_t& key );
22 
24 
25  virtual ~SamplingAnalysis() {;}
26 
27  friend class SamplingAlgorithm;
28 
29  inline const float& maximum() const { return max_; }
30 
31  inline const float& error() const { return error_; }
32 
33  inline void setSoNcut(const float sOnCut) { sOnCut_ = sOnCut; }
34 
35  float getSoNcut() const { return sOnCut_; }
36 
37  void print( std::stringstream&, uint32_t not_used = 0 );
38 
39  void reset();
40 
41  float limit(float SoNcut) const;
42 
43  float correctMeasurement(float mean, float SoNcut=3.) const;
44 
46 
47  private:
48 
50  float sOnCut_;
51 
53  float max_;
54 
56  float error_;
57 
60 
63 
64 };
65 
66 #endif // CondFormats_SiStripObjects_SamplingAnalysis_H
67 
Analysis for latency run.
Algorithm for latency run.
sistrip::RunType runType_
void setSoNcut(const float sOnCut)
float limit(float SoNcut) const
void print(std::stringstream &, uint32_t not_used=0)
sistrip::Granularity granularity() const
const float & error() const
virtual ~SamplingAnalysis()
float getSoNcut() const
float correctMeasurement(float mean, float SoNcut=3.) const
const float & maximum() const
Abstract base for derived classes that provide analysis of commissioning histograms.
sistrip::Granularity granularity_