00001 #ifndef DQM_SiStripCommissioningAnalysis_NoiseAlgorithm_H 00002 #define DQM_SiStripCommissioningAnalysis_NoiseAlgorithm_H 00003 00004 #include "DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h" 00005 #include <vector> 00006 00007 class NoiseAnalysis; 00008 class TH1; 00009 00015 class NoiseAlgorithm : public CommissioningAlgorithm { 00016 00017 public: 00018 00019 NoiseAlgorithm( NoiseAnalysis* const ); 00020 00021 virtual ~NoiseAlgorithm() {;} 00022 00023 inline const Histo& hPeds() const; 00024 00025 inline const Histo& hNoise() const; 00026 00027 private: 00028 00029 NoiseAlgorithm() {;} 00030 00032 void extract( const std::vector<TH1*>& ); 00033 00035 void analyse(); 00036 00037 // ---------- private member data ---------- 00038 00039 private: 00040 00042 Histo hPeds_; 00043 00045 Histo hNoise_; 00046 00047 }; 00048 00049 const NoiseAlgorithm::Histo& NoiseAlgorithm::hPeds() const { return hPeds_; } 00050 00051 const NoiseAlgorithm::Histo& NoiseAlgorithm::hNoise() const { return hNoise_; } 00052 00053 #endif // DQM_SiStripCommissioningAnalysis_NoiseAlgorithm_H