CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/DQM/SiStripCommissioningAnalysis/interface/OptoScanAlgorithm.h

Go to the documentation of this file.
00001 #ifndef DQM_SiStripCommissioningAnalysis_OptoScanAlgorithm_H
00002 #define DQM_SiStripCommissioningAnalysis_OptoScanAlgorithm_H
00003 
00004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00005 #include "DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h"
00006 #include <boost/cstdint.hpp>
00007 #include <vector>
00008 
00009 class OptoScanAnalysis;
00010 class TProfile;
00011 class TH1;
00012 
00018 class OptoScanAlgorithm : public CommissioningAlgorithm {
00019   
00020  public:
00021   
00022   OptoScanAlgorithm( const edm::ParameterSet & pset, OptoScanAnalysis* const );
00023   
00024   virtual ~OptoScanAlgorithm() {;}
00025 
00027   Histo histo( const uint16_t& gain, 
00028                const uint16_t& digital_level ) const;
00029   
00030  private:
00031 
00032   OptoScanAlgorithm() {;}
00033   
00035   void extract( const std::vector<TH1*>& );
00036 
00038   void analyse();
00039 
00040  private:
00041   
00043   std::vector< std::vector<Histo> > histos_;
00044 
00046   float targetGain_;
00047   
00048 };
00049 
00050 #endif // DQM_SiStripCommissioningAnalysis_OptoScanAlgorithm_H
00051