00001 #ifndef DQM_SiStripCommissioningAnalysis_FedCablingAlgorithm_H 00002 #define DQM_SiStripCommissioningAnalysis_FedCablingAlgorithm_H 00003 00004 #include "DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h" 00005 #include <vector> 00006 00007 class FedCablingAnalysis; 00008 class TH1; 00009 00015 class FedCablingAlgorithm : public CommissioningAlgorithm { 00016 00017 public: 00018 00019 // ---------- Con(de)structors and typedefs ---------- 00020 00021 FedCablingAlgorithm( FedCablingAnalysis* const ); 00022 00023 virtual ~FedCablingAlgorithm() {;} 00024 00026 inline const Histo& hFedId() const; 00027 00029 inline const Histo& hFedCh() const; 00030 00031 private: 00032 00033 FedCablingAlgorithm() {;} 00034 00036 void extract( const std::vector<TH1*>& ); 00037 00039 void analyse(); 00040 00041 private: 00042 00044 Histo hFedId_; 00045 00047 Histo hFedCh_; 00048 00049 }; 00050 00051 const FedCablingAlgorithm::Histo& FedCablingAlgorithm::hFedId() const { return hFedId_; } 00052 const FedCablingAlgorithm::Histo& FedCablingAlgorithm::hFedCh() const { return hFedCh_; } 00053 00054 #endif // DQM_SiStripCommissioningAnalysis_FedCablingAlgorithm_H 00055