Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:37

0001 #ifndef CondFormats_SiStripObjects_ApvLatencyAnalysis_H
0002 #define CondFormats_SiStripObjects_ApvLatencyAnalysis_H
0003 
0004 #include "CondFormats/SiStripObjects/interface/CommissioningAnalysis.h"
0005 #include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
0006 #include <sstream>
0007 #include <vector>
0008 #include <cstdint>
0009 
0010 /** 
0011    @class ApvLatencyAnalysis
0012    @author M. Wingham, R.Bainbridge
0013    @brief Analysis for APV latency scan.
0014 */
0015 class ApvLatencyAnalysis : public CommissioningAnalysis {
0016 public:
0017   ApvLatencyAnalysis(const uint32_t& key);
0018 
0019   ApvLatencyAnalysis();
0020 
0021   ~ApvLatencyAnalysis() override { ; }
0022 
0023   friend class ApvLatencyAlgorithm;
0024 
0025   inline const uint16_t& latency() const;
0026 
0027   void print(std::stringstream&, uint32_t not_used = 0) override;
0028 
0029   void reset() override;
0030 
0031 private:
0032   /** APV latency setting */
0033   uint16_t latency_;
0034 };
0035 
0036 const uint16_t& ApvLatencyAnalysis::latency() const { return latency_; }
0037 
0038 #endif  // CondFormats_SiStripObjects_ApvLatencyAnalysis_H