CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/SiStripCommissioningAnalysis/interface/FedCablingAlgorithm.h

Go to the documentation of this file.
00001 #ifndef DQM_SiStripCommissioningAnalysis_FedCablingAlgorithm_H
00002 #define DQM_SiStripCommissioningAnalysis_FedCablingAlgorithm_H
00003 
00004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00005 #include "DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h"
00006 #include <vector>
00007 
00008 class FedCablingAnalysis;
00009 class TH1;
00010 
00016 class FedCablingAlgorithm : public CommissioningAlgorithm {
00017   
00018  public:
00019 
00020   // ---------- Con(de)structors and typedefs ----------
00021 
00022   FedCablingAlgorithm( const edm::ParameterSet & pset, FedCablingAnalysis* const );
00023 
00024   virtual ~FedCablingAlgorithm() {;}
00025   
00027   inline const Histo& hFedId() const;
00028   
00030   inline const Histo& hFedCh() const;
00031   
00032  private:
00033   
00034   FedCablingAlgorithm() {;}
00035 
00037   void extract( const std::vector<TH1*>& );
00038 
00040   void analyse();
00041   
00042  private:
00043 
00045   Histo hFedId_;
00046 
00048   Histo hFedCh_;
00049 
00050 };
00051 
00052 const FedCablingAlgorithm::Histo& FedCablingAlgorithm::hFedId() const { return hFedId_; }
00053 const FedCablingAlgorithm::Histo& FedCablingAlgorithm::hFedCh() const { return hFedCh_; }
00054 
00055 #endif // DQM_SiStripCommissioningAnalysis_FedCablingAlgorithm_H
00056