CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DQM/SiPixelMonitorClient/interface/SiPixelTrackerMapCreator.h

Go to the documentation of this file.
00001 #ifndef _SiPixelTrackerMapCreator_h_
00002 #define _SiPixelTrackerMapCreator_h_
00003 
00004 #include "DQMServices/Core/interface/MonitorElement.h"
00005 #include "DQMServices/Core/interface/DQMStore.h"
00006 #include "DQM/SiPixelMonitorClient/interface/SiPixelTrackerMap.h"
00007 #include <fstream>
00008 #include <map>
00009 #include <vector>
00010 #include <string>
00011 
00012 class SiPixelInformationExtractor;
00013 
00014 class SiPixelTrackerMapCreator {
00015 
00016  public:
00017 
00018   SiPixelTrackerMapCreator(  std::string            themEName,
00019                              std::string            theTKType,
00020                              bool                   offlineXMLfile);
00021  ~SiPixelTrackerMapCreator();
00022 
00023   void create(               DQMStore * bei);
00024 
00025  private:
00026 
00027   MonitorElement* getTkMapMe(DQMStore * bei,
00028                              std::string          & me_name,
00029                              int                    ndet);
00030 
00031   void paintTkMap(           MonitorElement       * mE);
00032 
00033   SiPixelInformationExtractor                     * infoExtractor_;
00034   SiPixelTrackerMap                               * trackerMap;
00035                                                   
00036   std::string                                       mEName ;
00037   std::string                                       TKType ;
00038   bool                                              offlineXMLfile_;
00039   
00040   bool exploreBeiStructure(  DQMStore * bei) ;
00041 };
00042 #endif