CMS 3D CMS Logo

PedsFullNoiseAnalysis.h
Go to the documentation of this file.
1 #ifndef CondFormats_SiStripObjects_PedsFullNoiseAnalysis_H
2 #define CondFormats_SiStripObjects_PedsFullNoiseAnalysis_H
3 
6 #include <boost/cstdint.hpp>
7 #include <sstream>
8 #include <vector>
9 
17 
18  public:
19 
20  // ---------- con(de)structors ----------
21 
22  PedsFullNoiseAnalysis( const uint32_t& key );
23 
25 
26  ~PedsFullNoiseAnalysis() override {;}
27 
28  friend class PedestalsAlgorithm;
29  friend class PedsFullNoiseAlgorithm;
30 
31  // ---------- public interface ----------
32 
34  bool isValid() const override;
35 
36  // Pedestal, noise and raw noise (128-strip vector per APV)
37  inline const VVFloat& peds() const;
38  inline const VVFloat& noise() const;
39  inline const VVFloat& raw() const;
40 
41  // test statistics for each APV (128-strip vector per APV)
42  inline const VVFloat& adProbab() const;
43  inline const VVFloat& ksProbab() const;
44  inline const VVFloat& jbProbab() const;
45  inline const VVFloat& chi2Probab() const;
46 
47  // Per strip values
48  inline const VVFloat& residualRMS() const; // RMS
49  inline const VVFloat& residualSigmaGaus() const; // from gaus fit
50  inline const VVFloat& noiseSignificance() const; // noise significance
51  inline const VVFloat& residualMean() const;
52  inline const VVFloat& residualSkewness() const;
53  inline const VVFloat& residualKurtosis() const;
54  inline const VVFloat& residualIntegralNsigma() const;
55  inline const VVFloat& residualIntegral() const;
56 
57  // status for different class of bad or problematic strips
58  inline const VVInt& deadStrip() const;
59  inline const VVInt& badStrip() const;
60  inline const VVInt& badStripBit() const;
61  inline const VVInt& deadStripBit() const;
62  inline const VVInt& shiftedStrip() const;
63  inline const VVInt& lowNoiseStrip() const;
64  inline const VVInt& largeNoiseStrip() const;
65  inline const VVInt& largeNoiseSignificance() const;
66  inline const VVInt& badFitStatus() const;
67  inline const VVInt& badADProbab() const;
68  inline const VVInt& badKSProbab() const;
69  inline const VVInt& badJBProbab() const;
70  inline const VVInt& badChi2Probab() const;
71  inline const VVInt& badTailStrip() const;
72  inline const VVInt& badDoublePeakStrip() const;
73 
74  // Mean and rms spread (value per APV)
75  inline const VFloat& pedsMean() const;
76  inline const VFloat& pedsSpread() const;
77  inline const VFloat& noiseMean() const;
78  inline const VFloat& noiseSpread() const;
79  inline const VFloat& rawMean() const;
80  inline const VFloat& rawSpread() const;
81 
82  // Max and min values (value per APV)
83  inline const VFloat& pedsMax() const;
84  inline const VFloat& pedsMin() const;
85  inline const VFloat& noiseMax() const;
86  inline const VFloat& noiseMin() const;
87  inline const VFloat& rawMax() const;
88  inline const VFloat& rawMin() const;
89 
90  // ---------- misc ----------
91 
93  void print( std::stringstream&, uint32_t apv_number = 0 ) override;
94 
96  void summary( std::stringstream& ) const override;
97 
99  void reset() override;
100 
101  // ---------- private member data ----------
102 
103  private:
104 
105 
110 
125 
140 
141  // VFloat: 1 value per APV
154 
155  // true if legacy histogram naming is used
156  bool legacy_;
157 };
158 
159 // ---------- Inline methods ----------
160 
164 
169 
178 
194 
201 
208 
209 #endif // CondFormats_SiStripObjects_PedsFullNoiseAnalysis_H
210 
211 
const VVInt & lowNoiseStrip() const
const VVInt & badJBProbab() const
const VFloat & rawMean() const
VVFloat peds_
Quantitles that are always filled for every strip.
const VVFloat & residualKurtosis() const
const VVFloat & chi2Probab() const
const VVFloat & residualSkewness() const
const VVInt & badStripBit() const
const VVFloat & peds() const
const VVFloat & ksProbab() const
const VFloat & noiseMax() const
Histogram-based analysis for pedestal run.
void summary(std::stringstream &) const override
VVInt deadStrip_
Quantities filled only for bad strips i.e. vectors of strip-id.
const VVInt & badADProbab() const
Histogram-based analysis for pedestal run.
const VVInt & deadStrip() const
const VFloat & noiseMin() const
const VVFloat & residualIntegralNsigma() const
const VVFloat & adProbab() const
std::vector< float > VFloat
const VFloat & pedsSpread() const
const VFloat & pedsMax() const
const VFloat & pedsMean() const
const VFloat & pedsMin() const
const VVInt & badChi2Probab() const
const VFloat & rawMin() const
const VFloat & rawSpread() const
const VVInt & deadStripBit() const
const VVInt & shiftedStrip() const
const VVInt & badKSProbab() const
const VFloat & rawMax() const
const VVInt & badDoublePeakStrip() const
const VVFloat & jbProbab() const
const VVFloat & raw() const
const VVFloat & noise() const
const VVFloat & noiseSignificance() const
std::vector< VInt > VVInt
const VVFloat & residualSigmaGaus() const
const VVFloat & residualIntegral() const
const VVFloat & residualRMS() const
const VVInt & largeNoiseSignificance() const
const VVInt & badTailStrip() const
std::vector< VFloat > VVFloat
Abstract base for derived classes that provide analysis of commissioning histograms.
Histogram-based analysis for pedestal run.
const VVInt & largeNoiseStrip() const
const VFloat & noiseSpread() const
const VVInt & badFitStatus() const
const VFloat & noiseMean() const
bool isValid() const override
const VVInt & badStrip() const
const VVFloat & residualMean() const
void print(std::stringstream &, uint32_t apv_number=0) override