CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DQM/SiStripCommissioningAnalysis/interface/NoiseAlgorithm.h

Go to the documentation of this file.
00001 #ifndef DQM_SiStripCommissioningAnalysis_NoiseAlgorithm_H
00002 #define DQM_SiStripCommissioningAnalysis_NoiseAlgorithm_H
00003 
00004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00005 #include "DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h"
00006 #include <vector>
00007 
00008 class NoiseAnalysis;
00009 class TH1;
00010 
00016 class NoiseAlgorithm : public CommissioningAlgorithm {
00017   
00018  public:
00019 
00020   NoiseAlgorithm( const edm::ParameterSet & pset, NoiseAnalysis* const );
00021 
00022   virtual ~NoiseAlgorithm() {;}
00023 
00024   inline const Histo& hPeds() const;
00025 
00026   inline const Histo& hNoise() const;
00027 
00028  private:
00029 
00030   NoiseAlgorithm() {;}
00031 
00033   void extract( const std::vector<TH1*>& );
00034 
00036   void analyse();
00037   
00038   // ---------- private member data ----------
00039 
00040  private:
00041 
00043   Histo hPeds_;
00044 
00046   Histo hNoise_;
00047   
00048 };
00049 
00050 const NoiseAlgorithm::Histo& NoiseAlgorithm::hPeds() const { return hPeds_; }
00051 
00052 const NoiseAlgorithm::Histo& NoiseAlgorithm::hNoise() const { return hNoise_; }
00053 
00054 #endif // DQM_SiStripCommissioningAnalysis_NoiseAlgorithm_H