00001 #ifndef DQM_SiStripCommissioningAnalysis_DaqScopeModeAlgorithm_H 00002 #define DQM_SiStripCommissioningAnalysis_DaqScopeModeAlgorithm_H 00003 00004 #include "DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h" 00005 #include <vector> 00006 00007 class DaqScopeModeAnalysis; 00008 00015 class DaqScopeModeAlgorithm : public CommissioningAlgorithm { 00016 00017 public: 00018 00019 DaqScopeModeAlgorithm( DaqScopeModeAnalysis* const ); 00020 00021 virtual ~DaqScopeModeAlgorithm() {;} 00022 00023 inline const float& entries() const; 00024 inline const float& mean() const; 00025 inline const float& median() const; 00026 inline const float& mode() const; 00027 inline const float& rms() const; 00028 inline const float& min() const; 00029 inline const float& max() const; 00030 00031 inline const Histo& histo() const; 00032 00033 private: 00034 00035 DaqScopeModeAlgorithm() {;} 00036 00037 void extract( const std::vector<TH1*>& ); 00038 00039 void analyse(); 00040 00041 private: 00042 00044 Histo histo_; 00045 00046 }; 00047 const DaqScopeModeAlgorithm::Histo& DaqScopeModeAlgorithm::histo() const { return histo_; } 00048 00049 #endif // DQM_SiStripCommissioningAnalysis_DaqScopeModeAlgorithm_H 00050 00051 00052