CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DQM/SiStripCommissioningSummary/interface/SummaryPlotFactoryBase.h

Go to the documentation of this file.
00001 #ifndef DQM_SiStripCommissioningSummary_SummaryPlotFactoryBase_H
00002 #define DQM_SiStripCommissioningSummary_SummaryPlotFactoryBase_H
00003 
00004 #include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
00005 #include "DQM/SiStripCommissioningSummary/interface/SummaryGenerator.h"
00006 #include "TH1.h"
00007 #include <string>
00008 
00009 class SummaryPlotFactoryBase {
00010   
00011  protected:
00012     
00013   void init( const sistrip::Monitorable&, 
00014              const sistrip::Presentation&,
00015              const sistrip::View&, 
00016              const std::string& top_level_dir, 
00017              const sistrip::Granularity& );
00018   
00019   void fill( TH1& summary_histo );
00020 
00021  protected:
00022 
00023   // Constructors, destructors
00024   SummaryPlotFactoryBase();
00025   ~SummaryPlotFactoryBase();
00026   
00027   // Parameters
00028   sistrip::Monitorable mon_;
00029   sistrip::Presentation pres_;
00030   sistrip::View view_;
00031   std::string level_;
00032   sistrip::Granularity gran_;
00033   
00034   // Summary plot generator class
00035   SummaryGenerator* generator_;
00036   
00037 };
00038 
00039 #endif // DQM_SiStripCommissioningSummary_SummaryPlotFactoryBase_H
00040 
00041 
00042