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 VInt & bias() const
void print(std::stringstream &, uint32_t gain_setting=sistrip::invalid_) override
static const float fedAdcGain_
std::vector< float > VFloat
const VFloat & liftOff() const
void reset() override
const uint16_t & gain() const
const VFloat & linkNoise() const
void summary(std::stringstream &) const override
std::vector< uint16_t > VInt
static const uint16_t defaultBiasSetting_
const VFloat & baseSlope() const
const VFloat & measGain() const
static const uint16_t invalid_
Definition: Constants.h:16
const VFloat & tickHeight() const
~OptoScanAnalysis() override
Abstract base for derived classes that provide analysis of commissioning histograms.
const VFloat & threshold() const
static const uint16_t defaultGainSetting_
const VFloat & zeroLight() const
bool isValid() const override