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 <sstream>
8 #include <vector>
9 #include <cstdint>
10 
18 public:
19  SamplingAnalysis(const uint32_t& key);
20 
22 
23  ~SamplingAnalysis() override { ; }
24 
25  friend class SamplingAlgorithm;
26 
27  inline const float& maximum() const { return max_; }
28 
29  inline const float& error() const { return error_; }
30 
31  inline void setSoNcut(const float sOnCut) { sOnCut_ = sOnCut; }
32 
33  float getSoNcut() const { return sOnCut_; }
34 
35  void print(std::stringstream&, uint32_t not_used = 0) override;
36 
37  void reset() override;
38 
39  float limit(float SoNcut) const;
40 
41  float correctMeasurement(float mean, float SoNcut = 3.) const;
42 
44 
45 private:
47  float sOnCut_;
48 
50  float max_;
51 
53  float error_;
54 
57 
60 };
61 
62 #endif // CondFormats_SiStripObjects_SamplingAnalysis_H
const float & maximum() const
~SamplingAnalysis() override
Analysis for latency run.
Algorithm for latency run.
sistrip::RunType runType_
void setSoNcut(const float sOnCut)
void reset() override
void print(std::stringstream &, uint32_t not_used=0) override
key
prepare the HTCondor submission files and eventually submit them
float limit(float SoNcut) const
float correctMeasurement(float mean, float SoNcut=3.) const
float getSoNcut() const
const float & error() const
Abstract base for derived classes that provide analysis of commissioning histograms.
sistrip::Granularity granularity_
sistrip::Granularity granularity() const