00001 #ifndef DQM_SiStripCommissioningAnalysis_PedsFullNoiseAlgorithm_H 00002 #define DQM_SiStripCommissioningAnalysis_PedsFullNoiseAlgorithm_H 00003 00004 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00005 #include "DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h" 00006 #include <vector> 00007 00008 class PedsFullNoiseAnalysis; 00009 class TH1; 00010 00016 class PedsFullNoiseAlgorithm : public CommissioningAlgorithm { 00017 00018 public: 00019 00020 PedsFullNoiseAlgorithm( const edm::ParameterSet & pset, PedsFullNoiseAnalysis* const ); 00021 00022 virtual ~PedsFullNoiseAlgorithm() {;} 00023 00024 inline const Histo& hPeds() const; 00025 00026 inline const Histo& hNoise() const; 00027 00028 inline const Histo& hNoise1D() const; 00029 00030 private: 00031 00032 PedsFullNoiseAlgorithm() {;} 00033 00035 void extract( const std::vector<TH1*>& ); 00036 00038 void analyse(); 00039 00040 private: 00041 00043 Histo hPeds_; 00044 00046 Histo hNoise_; 00047 Histo hNoise1D_; 00048 00050 float deadStripMax_; 00051 float noisyStripMin_; 00052 std::string noiseDef_; 00053 float ksProbCut_; 00054 }; 00055 00056 const PedsFullNoiseAlgorithm::Histo& PedsFullNoiseAlgorithm::hPeds() const { return hPeds_; } 00057 00058 const PedsFullNoiseAlgorithm::Histo& PedsFullNoiseAlgorithm::hNoise() const { return hNoise_; } 00059 00060 #endif // DQM_SiStripCommissioningAnalysis_PedsFullNoiseAlgorithm_H