CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OptoScanAnalysis.h
Go to the documentation of this file.
1 #ifndef CondFormats_SiStripObjects_OptoScanAnalysis_H
2 #define CondFormats_SiStripObjects_OptoScanAnalysis_H
3 
6 #include <boost/cstdint.hpp>
7 #include <sstream>
8 #include <vector>
9 
16 
17  public:
18 
19  // ---------- con(de)structors ----------
20 
21  OptoScanAnalysis( const uint32_t& key );
22 
24 
25  virtual ~OptoScanAnalysis() {;}
26 
27  friend class OptoScanAlgorithm;
28 
29  // ---------- public interface ----------
30 
32  bool isValid() const;
33 
35  inline const uint16_t& gain() const;
36 
38  inline const VInt& bias() const;
39 
41  inline const VFloat& measGain() const;
42 
44  inline const VFloat& zeroLight() const;
45 
47  inline const VFloat& linkNoise() const;
48 
50  inline const VFloat& liftOff() const;
51 
53  inline const VFloat& threshold() const;
54 
56  inline const VFloat& tickHeight() const;
57 
59  inline const VFloat& baseSlope() const;
60 
61  // ---------- misc ----------
62 
64  void print( std::stringstream&, uint32_t gain_setting = sistrip::invalid_ );
65 
67  void summary( std::stringstream& ) const;
68 
70  void reset();
71 
72  // ---------- public static data ----------
73 
75  static const uint16_t defaultGainSetting_;
76 
78  static const uint16_t defaultBiasSetting_;
79 
81  static const float fedAdcGain_;
82 
83  // ---------- private member data ----------
84 
85  private:
86 
88  uint16_t gain_;
89 
92 
95 
98 
101 
104 
107 
110 
113 
114 };
115 
116 // ---------- Inline methods ----------
117 
118 const uint16_t& OptoScanAnalysis::gain() const { return gain_; }
127 
128 #endif // CondFormats_SiStripObjects_OptoScanAnalysis_H
129 
Histogram-based analysis for opto bias/gain scan.
const uint16_t & gain() const
const VFloat & baseSlope() const
bool isValid() const
const VFloat & liftOff() const
const VFloat & linkNoise() const
const VFloat & measGain() const
const VFloat & tickHeight() const
const VFloat & zeroLight() const
static const float fedAdcGain_
std::vector< float > VFloat
void print(std::stringstream &, uint32_t gain_setting=sistrip::invalid_)
std::vector< uint16_t > VInt
static const uint16_t defaultBiasSetting_
const VInt & bias() const
virtual ~OptoScanAnalysis()
const VFloat & threshold() const
void summary(std::stringstream &) const
static const uint16_t invalid_
Definition: Constants.h:17
list key
Definition: combine.py:13
Abstract base for derived classes that provide analysis of commissioning histograms.
static const uint16_t defaultGainSetting_