CMS 3D CMS Logo

CalibrationAnalysis.h
Go to the documentation of this file.
1 #ifndef CondFormats_SiStripObjects_CalibrationAnalysis_H
2 #define CondFormats_SiStripObjects_CalibrationAnalysis_H
3 
6 #include <boost/cstdint.hpp>
7 #include <sstream>
8 #include <vector>
9 
17 
18  public:
19 
20  CalibrationAnalysis( const uint32_t& key,
21  const bool& deconv,
22  int calchan );
23 
24  CalibrationAnalysis( const bool& deconv,
25  int calchan );
26 
27  ~CalibrationAnalysis() override {;}
28 
29  friend class CalibrationAlgorithm;
30 
31  // values per strip and per APV
32  inline const VVFloat& amplitude() const { return amplitude_; }
33  inline const VVFloat& tail() const { return tail_; }
34  inline const VVFloat& riseTime() const { return riseTime_; }
35  inline const VVFloat& timeConstant() const { return timeConstant_; }
36  inline const VVFloat& turnOn() const { return turnOn_; }
37  inline const VVFloat& maximum() const { return maximum_; }
38  inline const VVFloat& undershoot() const { return undershoot_; }
39  inline const VVFloat& baseline() const { return baseline_; }
40  inline const VVFloat& smearing() const { return smearing_; }
41  inline const VVFloat& chi2() const { return chi2_; }
42 
43  // mean values per APV
44  inline const VFloat& amplitudeMean() const { return mean_amplitude_; }
45  inline const VFloat& tailMean() const { return mean_tail_; }
46  inline const VFloat& riseTimeMean() const { return mean_riseTime_; }
47  inline const VFloat& timeConstantMean() const { return mean_timeConstant_; }
48  inline const VFloat& smearingMean() const { return mean_smearing_; }
49  inline const VFloat& turnOnMean() const { return mean_turnOn_; }
50  inline const VFloat& maximumMean() const { return mean_maximum_; }
51  inline const VFloat& undershootMean() const { return mean_undershoot_; }
52  inline const VFloat& baselineMean() const { return mean_baseline_; }
53  inline const VFloat& chi2Mean() const { return mean_chi2_; }
54 
55  // spread, min and max
56  inline const VFloat& amplitudeSpread() const { return spread_amplitude_; }
57  inline const VFloat& amplitudeMin() const { return min_amplitude_; }
58  inline const VFloat& amplitudeMax() const { return max_amplitude_; }
59 
60  inline const VFloat& tailSpread() const { return spread_tail_; }
61  inline const VFloat& tailMin() const { return min_tail_; }
62  inline const VFloat& tailMax() const { return max_tail_; }
63 
64  inline const VFloat& riseTimeSpread() const { return spread_riseTime_; }
65  inline const VFloat& riseTimeMin() const { return min_riseTime_; }
66  inline const VFloat& riseTimeMax() const { return max_riseTime_; }
67 
68  inline const VFloat& timeConstantSpread() const { return spread_timeConstant_; }
69  inline const VFloat& timeConstantMin() const { return min_timeConstant_; }
70  inline const VFloat& timeConstantMax() const { return max_timeConstant_; }
71 
72  inline const VFloat& smearingSpread() const { return spread_smearing_; }
73  inline const VFloat& smearingMin() const { return min_smearing_; }
74  inline const VFloat& smearingMax() const { return max_smearing_; }
75 
76  inline const VFloat& turnOnSpread() const { return spread_turnOn_; }
77  inline const VFloat& turnOnMin() const { return min_turnOn_; }
78  inline const VFloat& turnOnMax() const { return max_turnOn_; }
79 
80  inline const VFloat& maximumSpread() const { return spread_maximum_; }
81  inline const VFloat& maximumMin() const { return min_maximum_; }
82  inline const VFloat& maximumMax() const { return max_maximum_; }
83 
84  inline const VFloat& undershootSpread() const { return spread_undershoot_; }
85  inline const VFloat& undershootMin() const { return min_undershoot_; }
86  inline const VFloat& undershootMax() const { return max_undershoot_; }
87 
88  inline const VFloat& baselineSpread() const { return spread_baseline_; }
89  inline const VFloat& baselineMin() const { return min_baseline_; }
90  inline const VFloat& baselineMax() const { return max_baseline_; }
91 
92  inline const VFloat& chi2Spread() const { return spread_chi2_; }
93  inline const VFloat& chi2Min() const { return min_chi2_; }
94  inline const VFloat& chi2Max() const { return max_chi2_; }
95 
96  inline bool deconvMode() const { return deconv_; }
97  inline int calchan() const { return calchan_; }
98 
99  void print( std::stringstream&, uint32_t not_used = 0 ) override;
100 
101  void reset() override;
102 
103  private:
104 
111 
113  bool deconv_;
114 
116  int calchan_;
117 
119  bool isScan_;
120 
121 
122 };
123 
124 #endif // CondFormats_SiStripObjects_CalibrationAnalysis_H
125 
const VFloat & maximumMean() const
const VFloat & smearingMean() const
const VFloat & turnOnMin() const
const VFloat & undershootMax() const
const VFloat & riseTimeSpread() const
const VVFloat & riseTime() const
const VFloat & amplitudeMean() const
const VFloat & amplitudeMin() const
const VVFloat & amplitude() const
const VFloat & timeConstantMean() const
const VFloat & chi2Spread() const
Algorithm for calibration runs.
const VFloat & smearingSpread() const
const VFloat & baselineMean() const
const VFloat & riseTimeMean() const
const VVFloat & smearing() const
const VFloat & maximumMax() const
const VVFloat & timeConstant() const
void print(std::stringstream &, uint32_t not_used=0) override
const VFloat & chi2Min() const
const VFloat & chi2Max() const
const VVFloat & baseline() const
const VFloat & tailMax() const
const VFloat & riseTimeMin() const
Analysis for calibration runs.
std::vector< float > VFloat
const VFloat & baselineMin() const
const VVFloat & tail() const
const VVFloat & undershoot() const
const VFloat & maximumMin() const
const VFloat & amplitudeMax() const
const VFloat & timeConstantSpread() const
const VFloat & turnOnMean() const
const VFloat & baselineMax() const
const VFloat & chi2Mean() const
const VFloat & baselineSpread() const
const VVFloat & maximum() const
const VFloat & riseTimeMax() const
const VFloat & undershootMin() const
CalibrationAnalysis(const uint32_t &key, const bool &deconv, int calchan)
const VFloat & timeConstantMin() const
const VFloat & maximumSpread() const
const VFloat & turnOnSpread() const
const VFloat & smearingMin() const
const VFloat & timeConstantMax() const
const VVFloat & turnOn() const
const VVFloat & chi2() const
const VFloat & turnOnMax() const
const VFloat & tailMean() const
const VFloat & smearingMax() const
std::vector< VFloat > VVFloat
Abstract base for derived classes that provide analysis of commissioning histograms.
const VFloat & tailSpread() const
const VFloat & amplitudeSpread() const
const VFloat & tailMin() const
const VFloat & undershootSpread() const
const VFloat & undershootMean() const