00001 #ifndef DQM_SiStripCommissioningAnalysis_ApvTimingAlgorithm_H 00002 #define DQM_SiStripCommissioningAnalysis_ApvTimingAlgorithm_H 00003 00004 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00005 #include "DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h" 00006 #include <vector> 00007 00008 class ApvTimingAnalysis; 00009 class TH1; 00010 00016 class ApvTimingAlgorithm : public CommissioningAlgorithm { 00017 00018 public: 00019 00020 ApvTimingAlgorithm( const edm::ParameterSet & pset, ApvTimingAnalysis* const ); 00021 00022 virtual ~ApvTimingAlgorithm() {;} 00023 00025 inline const Histo& histo() const; 00026 00027 private: 00028 00030 ApvTimingAlgorithm() {;} 00031 00033 void extract( const std::vector<TH1*>& ); 00034 00036 void analyse(); 00037 00038 private: 00039 00041 Histo histo_; 00042 00043 }; 00044 00045 // ---------- Inline methods ---------- 00046 00047 const ApvTimingAlgorithm::Histo& ApvTimingAlgorithm::histo() const { return histo_; } 00048 00049 #endif // DQM_SiStripCommissioningAnalysis_ApvTimingAlgorithm_H