CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/CondFormats/SiStripObjects/interface/FedTimingAnalysis.h

Go to the documentation of this file.
00001 #ifndef CondFormats_SiStripObjects_FedTimingAnalysis_H
00002 #define CondFormats_SiStripObjects_FedTimingAnalysis_H
00003 
00004 #include "CondFormats/SiStripObjects/interface/CommissioningAnalysis.h"
00005 #include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
00006 #include <boost/cstdint.hpp>
00007 #include <sstream>
00008 #include <vector>
00009 
00016 class FedTimingAnalysis : public CommissioningAnalysis {
00017   
00018  public:
00019   
00020   FedTimingAnalysis( const uint32_t& key );
00021 
00022   FedTimingAnalysis();
00023 
00024   virtual ~FedTimingAnalysis() {;}
00025 
00026   friend class FedTimingAlgorithm;
00027   
00028   inline const float& time() const; 
00029 
00030   inline const float& max() const; 
00031 
00032   inline const float& delay() const; 
00033 
00034   inline const float& error() const; 
00035 
00036   inline const float& base() const; 
00037 
00038   inline const float& peak() const; 
00039 
00040   inline const float& height() const;
00041   
00042   void max( const float& ); 
00043   
00044   void print( std::stringstream&, uint32_t not_used = 0 );
00045   
00046   void reset();
00047   
00048  private:
00049   
00051   float time_;
00052 
00054   float max_;
00055 
00057   float delay_;
00058 
00060   float error_;
00061 
00063   float base_;
00064 
00066   float peak_;
00067 
00069   float height_;
00070   
00072   float optimumSamplingPoint_;
00073   
00074 };
00075 
00076 const float& FedTimingAnalysis::time() const { return time_; }
00077 const float& FedTimingAnalysis::max() const { return max_; }
00078 const float& FedTimingAnalysis::delay() const { return delay_; }
00079 const float& FedTimingAnalysis::error() const { return error_; }
00080 const float& FedTimingAnalysis::base() const { return base_; }
00081 const float& FedTimingAnalysis::peak() const { return peak_; }
00082 const float& FedTimingAnalysis::height() const { return height_; }
00083 
00084 #endif // CondFormats_SiStripObjects_FedTimingAnalysis_H
00085 
00086 
00087