CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~CalibrationAnalysis() {;}
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& smearing() const { return smearing_; }
37  inline const VVFloat& chi2() const { return chi2_; }
38 
39  // mean values per APV
40  inline const VFloat& amplitudeMean() const { return mean_amplitude_; }
41  inline const VFloat& tailMean() const { return mean_tail_; }
42  inline const VFloat& riseTimeMean() const { return mean_riseTime_; }
43  inline const VFloat& timeConstantMean() const { return mean_timeConstant_; }
44  inline const VFloat& smearingMean() const { return mean_smearing_; }
45  inline const VFloat& chi2Mean() const { return mean_chi2_; }
46 
47  // spread, min and max
48  inline const VFloat& amplitudeSpread() const { return spread_amplitude_; }
49  inline const VFloat& amplitudeMin() const { return min_amplitude_; }
50  inline const VFloat& amplitudeMax() const { return max_amplitude_; }
51 
52  inline const VFloat& tailSpread() const { return spread_tail_; }
53  inline const VFloat& tailMin() const { return min_tail_; }
54  inline const VFloat& tailMax() const { return max_tail_; }
55 
56  inline const VFloat& riseTimeSpread() const { return spread_riseTime_; }
57  inline const VFloat& riseTimeMin() const { return min_riseTime_; }
58  inline const VFloat& riseTimeMax() const { return max_riseTime_; }
59 
60  inline const VFloat& timeConstantSpread() const { return spread_timeConstant_; }
61  inline const VFloat& timeConstantMin() const { return min_timeConstant_; }
62  inline const VFloat& timeConstantMax() const { return max_timeConstant_; }
63 
64  inline const VFloat& smearingSpread() const { return spread_smearing_; }
65  inline const VFloat& smearingMin() const { return min_smearing_; }
66  inline const VFloat& smearingMax() const { return max_smearing_; }
67 
68  inline const VFloat& chi2Spread() const { return spread_chi2_; }
69  inline const VFloat& chi2Min() const { return min_chi2_; }
70  inline const VFloat& chi2Max() const { return max_chi2_; }
71 
72  inline bool deconvMode() const { return deconv_; }
73  inline int calchan() const { return calchan_; }
74 
75  void print( std::stringstream&, uint32_t not_used = 0 );
76 
77  void reset();
78 
79  private:
80 
83 
85 
87 
89 
91 
93  bool deconv_;
94 
96  int calchan_;
97 
99  bool isScan_;
100 
101 
102 };
103 
104 #endif // CondFormats_SiStripObjects_CalibrationAnalysis_H
105 
const VFloat & smearingMean() 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
void print(std::stringstream &, uint32_t not_used=0)
const VFloat & chi2Spread() const
Algorithm for calibration runs.
const VFloat & smearingSpread() const
const VFloat & riseTimeMean() const
const VVFloat & smearing() const
const VVFloat & timeConstant() const
const VFloat & chi2Min() const
const VFloat & chi2Max() const
const VFloat & tailMax() const
const VFloat & riseTimeMin() const
Analysis for calibration runs.
std::vector< float > VFloat
const VVFloat & tail() const
const VFloat & amplitudeMax() const
const VFloat & timeConstantSpread() const
const VFloat & chi2Mean() const
const VFloat & riseTimeMax() const
CalibrationAnalysis(const uint32_t &key, const bool &deconv, int calchan)
const VFloat & timeConstantMin() const
const VFloat & smearingMin() const
const VFloat & timeConstantMax() const
list key
Definition: combine.py:13
const VVFloat & chi2() 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