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
OptoScanAnalysis::tickHeight
const VFloat & tickHeight() const
Definition: OptoScanAnalysis.h:121
OptoScanAnalysis::print
void print(std::stringstream &, uint32_t gain_setting=sistrip::invalid_) override
Definition: OptoScanAnalysis.cc:125
OptoScanAnalysis::liftOff_
VFloat liftOff_
Definition: OptoScanAnalysis.h:100
CommissioningAnalysis.h
OptoScanAnalysis::baseSlope_
VFloat baseSlope_
Definition: OptoScanAnalysis.h:109
OptoScanAnalysis::threshold
const VFloat & threshold() const
Definition: OptoScanAnalysis.h:120
OptoScanAnalysis::tickHeight_
VFloat tickHeight_
Definition: OptoScanAnalysis.h:106
OptoScanAnalysis::liftOff
const VFloat & liftOff() const
Definition: OptoScanAnalysis.h:119
OptoScanAnalysis::linkNoise
const VFloat & linkNoise() const
Definition: OptoScanAnalysis.h:118
OptoScanAnalysis::fedAdcGain_
static const float fedAdcGain_
Definition: OptoScanAnalysis.h:79
OptoScanAnalysis::gain
const uint16_t & gain() const
Definition: OptoScanAnalysis.h:114
OptoScanAnalysis::bias
const VInt & bias() const
Definition: OptoScanAnalysis.h:115
CommissioningAnalysis::VFloat
std::vector< float > VFloat
Definition: CommissioningAnalysis.h:30
OptoScanAnalysis::measGain_
VFloat measGain_
Definition: OptoScanAnalysis.h:91
SiStripConstants.h
OptoScanAnalysis::OptoScanAnalysis
OptoScanAnalysis()
Definition: OptoScanAnalysis.cc:42
OptoScanAnalysis::zeroLight_
VFloat zeroLight_
Definition: OptoScanAnalysis.h:94
OptoScanAnalysis::reset
void reset() override
Definition: OptoScanAnalysis.cc:58
OptoScanAnalysis::defaultBiasSetting_
static const uint16_t defaultBiasSetting_
Definition: OptoScanAnalysis.h:76
OptoScanAnalysis::gain_
uint16_t gain_
Definition: OptoScanAnalysis.h:85
sistrip::invalid_
static const uint16_t invalid_
Definition: Constants.h:16
OptoScanAnalysis::zeroLight
const VFloat & zeroLight() const
Definition: OptoScanAnalysis.h:117
OptoScanAnalysis::linkNoise_
VFloat linkNoise_
Definition: OptoScanAnalysis.h:97
CommissioningAnalysis::VInt
std::vector< uint16_t > VInt
Definition: CommissioningAnalysis.h:34
CommissioningAnalysis
Abstract base for derived classes that provide analysis of commissioning histograms.
Definition: CommissioningAnalysis.h:18
OptoScanAnalysis::isValid
bool isValid() const override
Definition: OptoScanAnalysis.cc:72
OptoScanAnalysis::measGain
const VFloat & measGain() const
Definition: OptoScanAnalysis.h:116
OptoScanAnalysis::defaultGainSetting_
static const uint16_t defaultGainSetting_
Definition: OptoScanAnalysis.h:73
OptoScanAnalysis::bias_
VInt bias_
Definition: OptoScanAnalysis.h:88
OptoScanAnalysis
Histogram-based analysis for opto bias/gain scan.
Definition: OptoScanAnalysis.h:15
OptoScanAnalysis::summary
void summary(std::stringstream &) const override
Definition: OptoScanAnalysis.cc:78
OptoScanAnalysis::~OptoScanAnalysis
~OptoScanAnalysis() override
Definition: OptoScanAnalysis.h:23
OptoScanAlgorithm
Definition: OptoScanAlgorithm.h:18
OptoScanAnalysis::baseSlope
const VFloat & baseSlope() const
Definition: OptoScanAnalysis.h:122
OptoScanAnalysis::threshold_
VFloat threshold_
Definition: OptoScanAnalysis.h:103
crabWrapper.key
key
Definition: crabWrapper.py:19