00001 #ifndef OptAlignDataConverter_h 00002 #define OptAlignDataConverter_h 00003 #include "FWCore/Framework/interface/EDAnalyzer.h" 00004 #include "CondCore/Utilities/interface/CSVFieldMap.h" 00005 #include <string> 00006 #include <vector> 00007 namespace edm{ 00008 class ParameterSet; 00009 class Event; 00010 class EventSetup; 00011 } 00012 class OptAlignDataConverter : public edm::EDAnalyzer { 00013 public: 00014 explicit OptAlignDataConverter(const edm::ParameterSet& iConfig ); 00015 ~OptAlignDataConverter(){} 00016 virtual void analyze( const edm::Event&, const edm::EventSetup& ){} 00017 virtual void endJob(); 00018 private: 00019 CSVFieldMap m_fieldMap; 00020 std::string m_inFileName; 00021 }; 00022 #endif