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