CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PedsFullNoiseAnalysis.h
Go to the documentation of this file.
1 #ifndef CondFormats_SiStripObjects_PedsFullNoiseAnalysis_H
2 #define CondFormats_SiStripObjects_PedsFullNoiseAnalysis_H
3 
6 #include <sstream>
7 #include <vector>
8 #include <cstdint>
9 
17 public:
18  // ---------- con(de)structors ----------
19 
20  PedsFullNoiseAnalysis(const uint32_t& key);
21 
23 
24  ~PedsFullNoiseAnalysis() override { ; }
25 
26  friend class PedestalsAlgorithm;
27  friend class PedsFullNoiseAlgorithm;
28 
29  // ---------- public interface ----------
30 
32  bool isValid() const override;
33 
34  // Pedestal, noise and raw noise (128-strip vector per APV)
35  inline const VVFloat& peds() const;
36  inline const VVFloat& noise() const;
37  inline const VVFloat& raw() const;
38 
39  // test statistics for each APV (128-strip vector per APV)
40  inline const VVFloat& adProbab() const;
41  inline const VVFloat& ksProbab() const;
42  inline const VVFloat& jbProbab() const;
43  inline const VVFloat& chi2Probab() const;
44 
45  // Per strip values
46  inline const VVFloat& residualRMS() const; // RMS
47  inline const VVFloat& residualSigmaGaus() const; // from gaus fit
48  inline const VVFloat& noiseSignificance() const; // noise significance
49  inline const VVFloat& residualMean() const;
50  inline const VVFloat& residualSkewness() const;
51  inline const VVFloat& residualKurtosis() const;
52  inline const VVFloat& residualIntegralNsigma() const;
53  inline const VVFloat& residualIntegral() const;
54 
55  // status for different class of bad or problematic strips
56  inline const VVInt& deadStrip() const;
57  inline const VVInt& badStrip() const;
58  inline const VVInt& badStripBit() const;
59  inline const VVInt& deadStripBit() const;
60  inline const VVInt& shiftedStrip() const;
61  inline const VVInt& lowNoiseStrip() const;
62  inline const VVInt& largeNoiseStrip() const;
63  inline const VVInt& largeNoiseSignificance() const;
64  inline const VVInt& badFitStatus() const;
65  inline const VVInt& badADProbab() const;
66  inline const VVInt& badKSProbab() const;
67  inline const VVInt& badJBProbab() const;
68  inline const VVInt& badChi2Probab() const;
69  inline const VVInt& badTailStrip() const;
70  inline const VVInt& badDoublePeakStrip() const;
71 
72  // Mean and rms spread (value per APV)
73  inline const VFloat& pedsMean() const;
74  inline const VFloat& pedsSpread() const;
75  inline const VFloat& noiseMean() const;
76  inline const VFloat& noiseSpread() const;
77  inline const VFloat& rawMean() const;
78  inline const VFloat& rawSpread() const;
79 
80  // Max and min values (value per APV)
81  inline const VFloat& pedsMax() const;
82  inline const VFloat& pedsMin() const;
83  inline const VFloat& noiseMax() const;
84  inline const VFloat& noiseMin() const;
85  inline const VFloat& rawMax() const;
86  inline const VFloat& rawMin() const;
87 
88  // ---------- misc ----------
89 
91  void print(std::stringstream&, uint32_t apv_number = 0) override;
92 
94  void summary(std::stringstream&) const override;
95 
97  void reset() override;
98 
99  // ---------- private member data ----------
100 
101 private:
106 
121 
136 
137  // VFloat: 1 value per APV
150 
151  // true if legacy histogram naming is used
152  bool legacy_;
153 };
154 
155 // ---------- Inline methods ----------
156 
160 
165 
174 }
176 
186 }
194 
201 
208 
209 #endif // CondFormats_SiStripObjects_PedsFullNoiseAnalysis_H
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
bool isValid() const override
const VVFloat & peds() const
const VVFloat & ksProbab() const
const VFloat & noiseMax() const
Histogram-based analysis for pedestal run.
VVInt deadStrip_
Quantities filled only for bad strips i.e. vectors of strip-id.
const VVInt & badADProbab() const
void summary(std::stringstream &) const override
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
tuple key
prepare the HTCondor submission files and eventually submit them
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
const VVInt & badStrip() const
const VVFloat & residualMean() const
void print(std::stringstream &, uint32_t apv_number=0) override