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
SamplingAlgorithm
Algorithm for latency run.
Definition: SamplingAlgorithm.h:18
sistrip::Granularity
Granularity
Definition: ConstantsForGranularity.h:60
SamplingAnalysis::SamplingAnalysis
SamplingAnalysis()
Definition: SamplingAnalysis.cc:21
SiStripPI::mean
Definition: SiStripPayloadInspectorHelper.h:169
CommissioningAnalysis.h
SamplingAnalysis::correctMeasurement
float correctMeasurement(float mean, float SoNcut=3.) const
Definition: SamplingAnalysis.cc:50
SamplingAnalysis
Analysis for latency run.
Definition: SamplingAnalysis.h:17
SamplingAnalysis::limit
float limit(float SoNcut) const
Definition: SamplingAnalysis.cc:44
SamplingAnalysis::max_
float max_
Definition: SamplingAnalysis.h:50
SamplingAnalysis::error
const float & error() const
Definition: SamplingAnalysis.h:29
sistrip::RunType
RunType
Definition: ConstantsForRunType.h:70
SamplingAnalysis::getSoNcut
float getSoNcut() const
Definition: SamplingAnalysis.h:33
SamplingAnalysis::error_
float error_
Definition: SamplingAnalysis.h:53
SamplingAnalysis::maximum
const float & maximum() const
Definition: SamplingAnalysis.h:27
SamplingAnalysis::granularity
sistrip::Granularity granularity() const
Definition: SamplingAnalysis.h:43
SiStripConstants.h
SamplingAnalysis::granularity_
sistrip::Granularity granularity_
Definition: SamplingAnalysis.h:59
SamplingAnalysis::~SamplingAnalysis
~SamplingAnalysis() override
Definition: SamplingAnalysis.h:23
SamplingAnalysis::print
void print(std::stringstream &, uint32_t not_used=0) override
Definition: SamplingAnalysis.cc:35
SamplingAnalysis::reset
void reset() override
Definition: SamplingAnalysis.cc:28
CommissioningAnalysis
Abstract base for derived classes that provide analysis of commissioning histograms.
Definition: CommissioningAnalysis.h:18
SamplingAnalysis::runType_
sistrip::RunType runType_
Definition: SamplingAnalysis.h:56
SamplingAnalysis::setSoNcut
void setSoNcut(const float sOnCut)
Definition: SamplingAnalysis.h:31
SiStripEnumsAndStrings.h
SamplingAnalysis::sOnCut_
float sOnCut_
Definition: SamplingAnalysis.h:47
crabWrapper.key
key
Definition: crabWrapper.py:19