CMS 3D CMS Logo

PedestalsAlgorithm.h

Go to the documentation of this file.
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

Generated on Tue Jun 9 17:33:26 2009 for CMSSW by  doxygen 1.5.4