00001 #ifndef DQM_SiStripCommissioningAnalysis_ApvLatencyAlgorithm_H 00002 #define DQM_SiStripCommissioningAnalysis_ApvLatencyAlgorithm_H 00003 00004 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00005 #include "DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h" 00006 #include <vector> 00007 00008 class ApvLatencyAnalysis; 00009 class TH1; 00010 00016 class ApvLatencyAlgorithm : public CommissioningAlgorithm { 00017 00018 public: 00019 00020 ApvLatencyAlgorithm( const edm::ParameterSet & pset, ApvLatencyAnalysis* const ); 00021 00022 virtual ~ApvLatencyAlgorithm() {;} 00023 00024 inline const Histo& histo() const; 00025 00026 private: 00027 00028 ApvLatencyAlgorithm() {;} 00029 00030 void extract( const std::vector<TH1*>& ); 00031 00032 void analyse(); 00033 00034 private: 00035 00037 Histo histo_; 00038 00039 }; 00040 00041 const ApvLatencyAlgorithm::Histo& ApvLatencyAlgorithm::histo() const { return histo_; } 00042 00043 #endif // DQM_SiStripCommissioningAnalysis_ApvLatencyAlgorithm_H 00044