CMS 3D CMS Logo

OptoScanAnalysis.h
Go to the documentation of this file.
1 #ifndef CondFormats_SiStripObjects_OptoScanAnalysis_H
2 #define CondFormats_SiStripObjects_OptoScanAnalysis_H
3 
6 #include <sstream>
7 #include <vector>
8 #include <cstdint>
9 
16 public:
17  // ---------- con(de)structors ----------
18 
19  OptoScanAnalysis(const uint32_t& key);
20 
22 
23  ~OptoScanAnalysis() override { ; }
24 
25  friend class OptoScanAlgorithm;
26 
27  // ---------- public interface ----------
28 
30  bool isValid() const override;
31 
33  inline const uint16_t& gain() const;
34 
36  inline const VInt& bias() const;
37 
39  inline const VFloat& measGain() const;
40 
42  inline const VFloat& zeroLight() const;
43 
45  inline const VFloat& linkNoise() const;
46 
48  inline const VFloat& liftOff() const;
49 
51  inline const VFloat& threshold() const;
52 
54  inline const VFloat& tickHeight() const;
55 
57  inline const VFloat& baseSlope() const;
58 
59  // ---------- misc ----------
60 
62  void print(std::stringstream&, uint32_t gain_setting = sistrip::invalid_) override;
63 
65  void summary(std::stringstream&) const override;
66 
68  void reset() override;
69 
70  // ---------- public static data ----------
71 
73  static const uint16_t defaultGainSetting_;
74 
76  static const uint16_t defaultBiasSetting_;
77 
79  static const float fedAdcGain_;
80 
81  // ---------- private member data ----------
82 
83 private:
85  uint16_t gain_;
86 
89 
92 
95 
98 
101 
104 
107 
110 };
111 
112 // ---------- Inline methods ----------
113 
114 const uint16_t& OptoScanAnalysis::gain() const { return gain_; }
123 
124 #endif // CondFormats_SiStripObjects_OptoScanAnalysis_H
Histogram-based analysis for opto bias/gain scan.
const uint16_t & gain() const
const VFloat & baseSlope() const
const VFloat & liftOff() const
const VFloat & linkNoise() const
void print(std::stringstream &, uint32_t gain_setting=sistrip::invalid_) override
const VFloat & measGain() const
const VFloat & tickHeight() const
const VFloat & zeroLight() const
static const float fedAdcGain_
std::vector< float > VFloat
void summary(std::stringstream &) const override
void reset() override
std::vector< uint16_t > VInt
static const uint16_t defaultBiasSetting_
const VInt & bias() const
const VFloat & threshold() const
static const uint16_t invalid_
Definition: Constants.h:16
~OptoScanAnalysis() override
Abstract base for derived classes that provide analysis of commissioning histograms.
static const uint16_t defaultGainSetting_
bool isValid() const override